AddProjectLockDetails¶
-
class
oci.ai_document.models.AddProjectLockDetails(**kwargs)¶ Bases:
objectRequest payload to add lock to the resource.
Attributes
TYPE_DELETEA constant which can be used with the type property of a AddProjectLockDetails. TYPE_FULLA constant which can be used with the type property of a AddProjectLockDetails. messageGets the message of this AddProjectLockDetails. related_resource_idGets the related_resource_id of this AddProjectLockDetails. type[Required] Gets the type of this AddProjectLockDetails. Methods
__init__(**kwargs)Initializes a new AddProjectLockDetails object with values from keyword arguments. -
TYPE_DELETE= 'DELETE'¶ A constant which can be used with the type property of a AddProjectLockDetails. This constant has a value of “DELETE”
-
TYPE_FULL= 'FULL'¶ A constant which can be used with the type property of a AddProjectLockDetails. This constant has a value of “FULL”
-
__init__(**kwargs)¶ Initializes a new AddProjectLockDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - type (str) – The value to assign to the type property of this AddProjectLockDetails. Allowed values for this property are: “FULL”, “DELETE”
- related_resource_id (str) – The value to assign to the related_resource_id property of this AddProjectLockDetails.
- message (str) – The value to assign to the message property of this AddProjectLockDetails.
-
message¶ Gets the message of this AddProjectLockDetails. A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
Returns: The message of this AddProjectLockDetails. Return type: str
Gets the related_resource_id of this AddProjectLockDetails. The ID of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
Returns: The related_resource_id of this AddProjectLockDetails. Return type: str
-
type¶ [Required] Gets the type of this AddProjectLockDetails. Type of the lock.
Allowed values for this property are: “FULL”, “DELETE”
Returns: The type of this AddProjectLockDetails. Return type: str
-