ApprovalTemplateSummary¶
-
class
oci.lockbox.models.
ApprovalTemplateSummary
(**kwargs)¶ Bases:
object
Summary info for an approval tmeplate.
Attributes
AUTO_APPROVAL_STATE_DISABLED
A constant which can be used with the auto_approval_state property of a ApprovalTemplateSummary. AUTO_APPROVAL_STATE_ENABLED
A constant which can be used with the auto_approval_state property of a ApprovalTemplateSummary. approver_levels
Gets the approver_levels of this ApprovalTemplateSummary. auto_approval_state
Gets the auto_approval_state of this ApprovalTemplateSummary. compartment_id
[Required] Gets the compartment_id of this ApprovalTemplateSummary. defined_tags
Gets the defined_tags of this ApprovalTemplateSummary. display_name
[Required] Gets the display_name of this ApprovalTemplateSummary. freeform_tags
Gets the freeform_tags of this ApprovalTemplateSummary. id
[Required] Gets the id of this ApprovalTemplateSummary. lifecycle_state
Gets the lifecycle_state of this ApprovalTemplateSummary. system_tags
Gets the system_tags of this ApprovalTemplateSummary. time_created
[Required] Gets the time_created of this ApprovalTemplateSummary. time_updated
Gets the time_updated of this ApprovalTemplateSummary. Methods
__init__
(**kwargs)Initializes a new ApprovalTemplateSummary object with values from keyword arguments. -
AUTO_APPROVAL_STATE_DISABLED
= 'DISABLED'¶ A constant which can be used with the auto_approval_state property of a ApprovalTemplateSummary. This constant has a value of “DISABLED”
-
AUTO_APPROVAL_STATE_ENABLED
= 'ENABLED'¶ A constant which can be used with the auto_approval_state property of a ApprovalTemplateSummary. This constant has a value of “ENABLED”
-
__init__
(**kwargs)¶ Initializes a new ApprovalTemplateSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this ApprovalTemplateSummary.
- display_name (str) – The value to assign to the display_name property of this ApprovalTemplateSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ApprovalTemplateSummary.
- approver_levels (oci.lockbox.models.ApproverLevels) – The value to assign to the approver_levels property of this ApprovalTemplateSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ApprovalTemplateSummary.
- auto_approval_state (str) – The value to assign to the auto_approval_state property of this ApprovalTemplateSummary. Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this ApprovalTemplateSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this ApprovalTemplateSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ApprovalTemplateSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ApprovalTemplateSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ApprovalTemplateSummary.
-
approver_levels
¶ Gets the approver_levels of this ApprovalTemplateSummary.
Returns: The approver_levels of this ApprovalTemplateSummary. Return type: oci.lockbox.models.ApproverLevels
-
auto_approval_state
¶ Gets the auto_approval_state of this ApprovalTemplateSummary. The auto approval state of the lockbox.
Allowed values for this property are: “ENABLED”, “DISABLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The auto_approval_state of this ApprovalTemplateSummary. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this ApprovalTemplateSummary. The unique identifier (OCID) of the customer compartment where the approval template is located.
Returns: The compartment_id of this ApprovalTemplateSummary. Return type: str
Gets the defined_tags of this ApprovalTemplateSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The defined_tags of this ApprovalTemplateSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ [Required] Gets the display_name of this ApprovalTemplateSummary. The approval template display name.
Returns: The display_name of this ApprovalTemplateSummary. Return type: str
Gets the freeform_tags of this ApprovalTemplateSummary. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}
Returns: The freeform_tags of this ApprovalTemplateSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ApprovalTemplateSummary. The unique identifier (OCID) of the approval template, which can’t be changed after creation.
Returns: The id of this ApprovalTemplateSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this ApprovalTemplateSummary. The current state of the approval template.
Returns: The lifecycle_state of this ApprovalTemplateSummary. Return type: str
Gets the system_tags of this ApprovalTemplateSummary. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}
Returns: The system_tags of this ApprovalTemplateSummary. Return type: dict(str, dict(str, object))
-
time_created
¶ [Required] Gets the time_created of this ApprovalTemplateSummary. The time the the approval template was created. An RFC3339 formatted datetime string
Returns: The time_created of this ApprovalTemplateSummary. Return type: datetime
-
time_updated
¶ Gets the time_updated of this ApprovalTemplateSummary. The time the approval template was updated. An RFC3339 formatted datetime string
Returns: The time_updated of this ApprovalTemplateSummary. Return type: datetime
-