Class AddLockDetails
Request payload to add lock to the resource.
Inherited Members
Namespace: Oci.EmailService.Models
Assembly: OCI.DotNetSDK.Email.dll
Syntax
public class AddLockDetailsProperties
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