Class RemoveLockDetails
Request payload to remove lock to the resource.
Inherited Members
Namespace: Oci.MediaservicesService.Models
Assembly: OCI.DotNetSDK.Mediaservices.dll
Syntax
public class RemoveLockDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The compartment ID of the lock. |
Remarks
Required
Message
Declaration
[JsonProperty(PropertyName = "message")]
public string Message { get; set; }
Property Value
Type | Description |
---|---|
string | A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked. |
RelatedResourceId
Declaration
[JsonProperty(PropertyName = "relatedResourceId")]
public string RelatedResourceId { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock. |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | When the lock was created. |
Type
Declaration
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(StringEnumConverter))]
public RemoveLockDetails.TypeEnum? Type { get; set; }
Property Value
Type | Description |
---|---|
RemoveLockDetails.TypeEnum? | Type of the lock. |
Remarks
Required