WorkRequestResourceSubTypeDetail¶
-
class
oci.blockchain.models.
WorkRequestResourceSubTypeDetail
(**kwargs)¶ Bases:
object
SubType information for a work request resource.
Attributes
SUB_TYPE_STATUS_CREATED
A constant which can be used with the sub_type_status property of a WorkRequestResourceSubTypeDetail. SUB_TYPE_STATUS_DELETED
A constant which can be used with the sub_type_status property of a WorkRequestResourceSubTypeDetail. SUB_TYPE_STATUS_UPDATED
A constant which can be used with the sub_type_status property of a WorkRequestResourceSubTypeDetail. sub_type
[Required] Gets the sub_type of this WorkRequestResourceSubTypeDetail. sub_type_key
[Required] Gets the sub_type_key of this WorkRequestResourceSubTypeDetail. sub_type_status
[Required] Gets the sub_type_status of this WorkRequestResourceSubTypeDetail. Methods
__init__
(**kwargs)Initializes a new WorkRequestResourceSubTypeDetail object with values from keyword arguments. -
SUB_TYPE_STATUS_CREATED
= 'CREATED'¶ A constant which can be used with the sub_type_status property of a WorkRequestResourceSubTypeDetail. This constant has a value of “CREATED”
-
SUB_TYPE_STATUS_DELETED
= 'DELETED'¶ A constant which can be used with the sub_type_status property of a WorkRequestResourceSubTypeDetail. This constant has a value of “DELETED”
-
SUB_TYPE_STATUS_UPDATED
= 'UPDATED'¶ A constant which can be used with the sub_type_status property of a WorkRequestResourceSubTypeDetail. This constant has a value of “UPDATED”
-
__init__
(**kwargs)¶ Initializes a new WorkRequestResourceSubTypeDetail object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - sub_type (str) – The value to assign to the sub_type property of this WorkRequestResourceSubTypeDetail.
- sub_type_key (str) – The value to assign to the sub_type_key property of this WorkRequestResourceSubTypeDetail.
- sub_type_status (str) – The value to assign to the sub_type_status property of this WorkRequestResourceSubTypeDetail. Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
sub_type
¶ [Required] Gets the sub_type of this WorkRequestResourceSubTypeDetail. Subtype of the work request resource like osn or peer.
Returns: The sub_type of this WorkRequestResourceSubTypeDetail. Return type: str
-
sub_type_key
¶ [Required] Gets the sub_type_key of this WorkRequestResourceSubTypeDetail. The identifier of the resource subType.
Returns: The sub_type_key of this WorkRequestResourceSubTypeDetail. Return type: str
-
sub_type_status
¶ [Required] Gets the sub_type_status of this WorkRequestResourceSubTypeDetail. Status of the resource subType, as a result of the work tracked in this work request. A resource subType would be CREATED, UPDATED or DELETED, after the work request is completed.
Allowed values for this property are: “CREATED”, “UPDATED”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The sub_type_status of this WorkRequestResourceSubTypeDetail. Return type: str
-