UpdateApprovalTemplateDetails

class oci.lockbox.models.UpdateApprovalTemplateDetails(**kwargs)

Bases: object

The action to be updated.

Attributes

AUTO_APPROVAL_STATE_DISABLED A constant which can be used with the auto_approval_state property of a UpdateApprovalTemplateDetails.
AUTO_APPROVAL_STATE_ENABLED A constant which can be used with the auto_approval_state property of a UpdateApprovalTemplateDetails.
approver_levels Gets the approver_levels of this UpdateApprovalTemplateDetails.
auto_approval_state Gets the auto_approval_state of this UpdateApprovalTemplateDetails.
defined_tags Gets the defined_tags of this UpdateApprovalTemplateDetails.
display_name Gets the display_name of this UpdateApprovalTemplateDetails.
freeform_tags 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.
approver_levels

Gets the approver_levels of this UpdateApprovalTemplateDetails.

Returns:The approver_levels of this UpdateApprovalTemplateDetails.
Return type:oci.lockbox.models.ApproverLevels
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
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))
display_name

Gets the display_name of this UpdateApprovalTemplateDetails. approval template identifier

Returns:The display_name of this UpdateApprovalTemplateDetails.
Return type:str
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)