/** * GoldenGate API * Use the Oracle Cloud Infrastructure GoldenGate APIs to perform data replication operations. * OpenAPI spec version: 20200407 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, 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. */ /** * Resource locks are used to prevent certain APIs from being called for the resource. * A full lock prevents both updating the resource and deleting the resource. A delete * lock prevents deleting the resource. * */ export interface ResourceLock { /** * Type of the lock. */ "type": ResourceLock.Type; /** * The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock. * */ "relatedResourceId"?: string; /** * A message added by the creator of the lock. This is typically used to give an * indication of why the resource is locked. * */ "message"?: string; /** * When the lock was created. */ "timeCreated"?: Date; } export declare namespace ResourceLock { enum Type { Full = "FULL", Delete = "DELETE", /** * 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" } function getJsonObj(obj: ResourceLock): object; function getDeserializedJsonObj(obj: ResourceLock): object; }