/**
 * Cloud Guard APIs
 * A description of the Cloud Guard APIs
 * OpenAPI spec version: 20200131
 *
 *
 * NOTE: This class is auto generated by OracleSDKGenerator.
 * Do not edit the class manually.
 *
 * Copyright (c) 2020, 2022, Oracle and/or its affiliates.  All rights reserved.
 * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
 */ import * as model from "../model" ; import common = require ( "oci-common" ) ; /**
 * Summary of the Detector Recipe Rule.
 */ export interface TargetDetectorRecipeDetectorRuleSummary { /**
     * The unique identifier of the detector rule
     */ "id" : string ; /**
     * DetectorTemplate Identifier, can be renamed
     */ "displayName" ? : string ; /**
     * DetectorTemplate Identifier, can be renamed
     */ "description" ? : string ; /**
     * Recommendation for TargetDetectorRecipeDetectorRule
     */ "recommendation" ? : string ; /**
     * possible type of detectors
     */ "detector" : model . DetectorEnum ; /**
     * service type of the configuration to which the rule is applied
     */ "serviceType" ? : string ; /**
     * resource type of the configuration to which the rule is applied
     */ "resourceType" ? : string ; /**
     * List of cloudguard managed list types related to this rule
     */ "managedListTypes" ? : Array < TargetDetectorRecipeDetectorRuleSummary . ManagedListTypes > ; "detectorDetails" ? : model . TargetDetectorDetails ; /**
     * The date and time the target detector recipe rule was created. Format defined by RFC3339.
     */ "timeCreated" ? : Date ; /**
     * The date and time the target detector recipe rule was updated. Format defined by RFC3339.
     */ "timeUpdated" ? : Date ; /**
     * The current state of the target detector recipe rule
     */ "lifecycleState" ? : model . LifecycleState ; /**
     * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
     */ "lifecycleDetails" ? : string ; } export namespace TargetDetectorRecipeDetectorRuleSummary { export enum ManagedListTypes { CidrBlock = "CIDR_BLOCK" , Users = "USERS" , Groups = "GROUPS" , Ipv4Address = "IPV4ADDRESS" , Ipv6Address = "IPV6ADDRESS" , ResourceOcid = "RESOURCE_OCID" , Region = "REGION" , Country = "COUNTRY" , State = "STATE" , City = "CITY" , Tags = "TAGS" , Generic = "GENERIC" , /**
         * This value is used if a service returns a value for this enum that is not recognized by this
         * version of the SDK.
         */ UnknownValue = "UNKNOWN_VALUE" } export function getJsonObj ( obj ) { const jsonObj = { ... obj , ... { "detectorDetails" : obj . detectorDetails ? model . TargetDetectorDetails . getJsonObj ( obj . detectorDetails ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "detectorDetails" : obj . detectorDetails ? model . TargetDetectorDetails . getDeserializedJsonObj ( obj . detectorDetails ) : undefined } } ; return jsonObj ; } }