/**
 * Secrets Management API
 * API for managing secrets.
 * OpenAPI spec version: 20180608
 *
 *
 * 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" ) ; /**
 * A rule that disallows reuse of previously used secret content by the specified secret.
 *
 */ export interface SecretReuseRule extends model . SecretRule { /**
     * A property indicating whether the rule is applied even if the secret version with the content you are trying to reuse was deleted.
     *
     */ "isEnforcedOnDeletedSecretVersions" ? : boolean ; "ruleType" : string ; } export namespace SecretReuseRule { export function getJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . SecretRule . getJsonObj ( obj ) as SecretReuseRule ) ) , ... { } } ; return jsonObj ; } export const ruleType = "SECRET_REUSE_RULE" ; export function getDeserializedJsonObj ( obj , isParentJsonObj ? ) { const jsonObj = { ... ( isParentJsonObj ? obj : ( model . SecretRule . getDeserializedJsonObj ( obj ) as SecretReuseRule ) ) , ... { } } ; return jsonObj ; } }