Show / Hide Table of Contents

Class AddLockDetails

Request payload to add lock to the resource.

Inheritance
object
AddLockDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.EmailService.Models
Assembly: OCI.DotNetSDK.Email.dll
Syntax
public class AddLockDetails

Properties

CompartmentId

Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The lock compartment ID.

Message

Declaration
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type Description
string

A message added by the lock creator. The message typically gives an indication of why the resource is locked.

RelatedResourceId

Declaration
[JsonProperty(PropertyName = "relatedResourceId")]
public string RelatedResourceId { get; set; }
Property Value
Type Description
string

The resource ID that is locking this resource. Indicates that deleting this resource removes the lock.

Type

Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public AddLockDetails.TypeEnum? Type { get; set; }
Property Value
Type Description
AddLockDetails.TypeEnum?

Lock type.

Remarks

Required

In this article
Back to top