/**
 * 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" ) ; /**
 * Description of DataMaskRule.
 */ export interface DataMaskRule { /**
     * Unique identifier that is immutable on creation
     */ "id" : string ; /**
     * Data Mask Rule Identifier, can be renamed
     */ "displayName" ? : string ; /**
     * Compartment Identifier where the resource is created
     */ "compartmentId" : string ; /**
     * The data mask rule description.
     */ "description" ? : string ; /**
     * IAM Group id associated with the data mask rule
     */ "iamGroupId" : string ; "targetSelected" : model . AllTargetsSelected | model . TargetResourceTypesSelected | model . TargetIdsSelected ; /**
     * Data Mask Categories
     */ "dataMaskCategories" ? : Array < DataMaskRule . DataMaskCategories > ; /**
     * The date and time the target was created. Format defined by RFC3339.
     */ "timeCreated" ? : Date ; /**
     * The date and time the target was updated. Format defined by RFC3339.
     */ "timeUpdated" ? : Date ; /**
     * The status of the dataMaskRule.
     */ "dataMaskRuleStatus" ? : model . DataMaskRuleStatus ; /**
     * The current state of the DataMaskRule.
     */ "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.
     */ "lifecyleDetails" ? : string ; /**
     * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
     * Example: `{\"bar-key\": \"value\"}`
     *
     */ "freeformTags" ? : { [ key ] : string ; } ; /**
     * Defined tags for this resource. Each key is predefined and scoped to a namespace.
     * Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
     *
     */ "definedTags" ? : { [ key ] : { [ key ] : any ; } ; } ; /**
      * System tags for this resource. Each key is predefined and scoped to a namespace.
  * For more information, see [Resource Tags](https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
  * System tags can be viewed by users, but can only be created by the system.
  * <p>
  Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
  *
      */ "systemTags" ? : { [ key ] : { [ key ] : any ; } ; } ; } export namespace DataMaskRule { export enum DataMaskCategories { Actor = "ACTOR" , Pii = "PII" , Phi = "PHI" , Financial = "FINANCIAL" , Location = "LOCATION" , Custom = "CUSTOM" , /**
         * 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 , ... { "targetSelected" : obj . targetSelected ? model . TargetSelected . getJsonObj ( obj . targetSelected ) : undefined } } ; return jsonObj ; } export function getDeserializedJsonObj ( obj ) { const jsonObj = { ... obj , ... { "targetSelected" : obj . targetSelected ? model . TargetSelected . getDeserializedJsonObj ( obj . targetSelected ) : undefined } } ; return jsonObj ; } }