UpdateApprovalTemplateDetails¶
- class oci.lockbox.models.UpdateApprovalTemplateDetails(**kwargs)¶
Bases:
objectThe action to be updated.
Attributes:
A constant which can be used with the auto_approval_state property of a UpdateApprovalTemplateDetails.
A constant which can be used with the auto_approval_state property of a UpdateApprovalTemplateDetails.
Gets the approver_levels of this UpdateApprovalTemplateDetails.
Gets the auto_approval_state of this UpdateApprovalTemplateDetails.
Gets the defined_tags of this UpdateApprovalTemplateDetails.
Gets the display_name of this UpdateApprovalTemplateDetails.
Gets the freeform_tags of this UpdateApprovalTemplateDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateApprovalTemplateDetails 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 UpdateApprovalTemplateDetails. 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 UpdateApprovalTemplateDetails. This constant has a value of “ENABLED”
- __init__(**kwargs)¶
Initializes a new UpdateApprovalTemplateDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
approver_levels (oci.lockbox.models.ApproverLevels) – The value to assign to the approver_levels property of this UpdateApprovalTemplateDetails.
display_name (str) – The value to assign to the display_name property of this UpdateApprovalTemplateDetails.
auto_approval_state (str) – The value to assign to the auto_approval_state property of this UpdateApprovalTemplateDetails. Allowed values for this property are: “ENABLED”, “DISABLED”
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateApprovalTemplateDetails.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateApprovalTemplateDetails.
- property approver_levels¶
Gets the approver_levels of this UpdateApprovalTemplateDetails.
- Returns
The approver_levels of this UpdateApprovalTemplateDetails.
- Return type
- property auto_approval_state¶
Gets the auto_approval_state of this UpdateApprovalTemplateDetails. The auto approval state of the lockbox.
Allowed values for this property are: “ENABLED”, “DISABLED”
- Returns
The auto_approval_state of this UpdateApprovalTemplateDetails.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this UpdateApprovalTemplateDetails. 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 UpdateApprovalTemplateDetails.
- Return type
dict(str, dict(str, object))
- property display_name¶
Gets the display_name of this UpdateApprovalTemplateDetails. approval template identifier
- Returns
The display_name of this UpdateApprovalTemplateDetails.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this UpdateApprovalTemplateDetails. 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 UpdateApprovalTemplateDetails.
- Return type
dict(str, str)