Show / Hide Table of Contents

Class AddLockDetails

Request payload to add lock to the resource. The FULL lock type allows no modifications (delete, create, update). The DELETE lock type allows all modifications, but delete is not allowed. type: object

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.MediaservicesService.Models
Assembly: OCI.DotNetSDK.Mediaservices.dll
Syntax
public class AddLockDetails

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 Target that is locking this Target. Indicates that deleting this Target 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 AddLockDetails.TypeEnum? Type { get; set; }
Property Value
Type Description
AddLockDetails.TypeEnum?

Type of the lock.

Remarks

Required

In this article
Back to top