a O•ºfl;ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sneZdZdZdZdZdZdZdZdZ dZ d Z d d „Z e d d „ƒZejdd „ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejd d„ƒZe d!d"„ƒZejd#d"„ƒZe d$d%„ƒZejd&d%„ƒZe d'd(„ƒZejd)d(„ƒZe d*d+„ƒZejd,d+„ƒZd-d.„Zd/d0„Zd1d2„Zd3S)4ÚApprovalTemplatezr Group/User OCIDs of those who can approve/deny/revoke operator's request to access associated resources. ÚACTIVEÚCREATINGÚUPDATINGÚDELETINGÚDELETEDÚFAILEDÚENABLEDÚDISABLEDc Ks‚ddddddddddddœ |_ddd d d d d dddddœ |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ dS)aU Initializes a new ApprovalTemplate object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this ApprovalTemplate. :type id: str :param display_name: The value to assign to the display_name property of this ApprovalTemplate. :type display_name: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ApprovalTemplate. Allowed values for this property are: "ACTIVE", "CREATING", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param approver_levels: The value to assign to the approver_levels property of this ApprovalTemplate. :type approver_levels: oci.lockbox.models.ApproverLevels :param compartment_id: The value to assign to the compartment_id property of this ApprovalTemplate. :type compartment_id: str :param auto_approval_state: The value to assign to the auto_approval_state property of this ApprovalTemplate. 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'. :type auto_approval_state: str :param time_created: The value to assign to the time_created property of this ApprovalTemplate. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ApprovalTemplate. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this ApprovalTemplate. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ApprovalTemplate. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ApprovalTemplate. :type system_tags: dict(str, dict(str, object)) ÚstrÚApproverLevelsÚdatetimezdict(str, str)zdict(str, dict(str, object))) ÚidÚ display_nameÚlifecycle_stateÚapprover_levelsÚcompartment_idÚauto_approval_stateÚ time_createdÚ time_updatedÚ freeform_tagsÚ defined_tagsÚ system_tagsrÚ displayNameÚlifecycleStateÚapproverLevelsÚ compartmentIdÚautoApprovalStateÚ timeCreatedÚ timeUpdatedÚ freeformTagsÚ definedTagsÚ systemTagsN) Ú swagger_typesÚ attribute_mapÚ_idÚ _display_nameÚ_lifecycle_stateÚ_approver_levelsÚ_compartment_idÚ_auto_approval_stateÚ _time_createdÚ _time_updatedÚ_freeform_tagsÚ _defined_tagsÚ _system_tags)ÚselfÚkwargs©r6úˆ/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/lockbox/models/approval_template.pyÚ__init__0sF7õõzApprovalTemplate.__init__cCs|jS)zô **[Required]** Gets the id of this ApprovalTemplate. The unique identifier (OCID) of the approval template, which can't be changed after creation. :return: The id of this ApprovalTemplate. :rtype: str ©r)©r4r6r6r7rŽs zApprovalTemplate.idcCs ||_dS)zæ Sets the id of this ApprovalTemplate. The unique identifier (OCID) of the approval template, which can't be changed after creation. :param id: The id of this ApprovalTemplate. :type: str Nr9)r4rr6r6r7ršs cCs|jS)zÎ **[Required]** Gets the display_name of this ApprovalTemplate. The approval template display name. :return: The display_name of this ApprovalTemplate. :rtype: str ©r*r:r6r6r7r¦s zApprovalTemplate.display_namecCs ||_dS)zÊ Sets the display_name of this ApprovalTemplate. The approval template display name. :param display_name: The display_name of this ApprovalTemplate. :type: str Nr;)r4rr6r6r7r²s cCs|jS)a³ Gets the lifecycle_state of this ApprovalTemplate. The current state of the approval template. Allowed values for this property are: "ACTIVE", "CREATING", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this ApprovalTemplate. :rtype: str )r+r:r6r6r7r¾s z ApprovalTemplate.lifecycle_statecCs gd¢}t||ƒsd}||_dS)zÛ Sets the lifecycle_state of this ApprovalTemplate. The current state of the approval template. :param lifecycle_state: The lifecycle_state of this ApprovalTemplate. :type: str )rrr r r r ÚUNKNOWN_ENUM_VALUEN)rr+)r4rÚallowed_valuesr6r6r7rÍs  cCs|jS)zÅ **[Required]** Gets the approver_levels of this ApprovalTemplate. :return: The approver_levels of this ApprovalTemplate. :rtype: oci.lockbox.models.ApproverLevels ©r,r:r6r6r7rÜsz ApprovalTemplate.approver_levelscCs ||_dS)zÄ Sets the approver_levels of this ApprovalTemplate. :param approver_levels: The approver_levels of this ApprovalTemplate. :type: oci.lockbox.models.ApproverLevels Nr>)r4rr6r6r7ræscCs|jS)a **[Required]** Gets the compartment_id of this ApprovalTemplate. The unique identifier (OCID) of the customer compartment where the approval template is located. :return: The compartment_id of this ApprovalTemplate. :rtype: str ©r-r:r6r6r7rðs zApprovalTemplate.compartment_idcCs ||_dS)a  Sets the compartment_id of this ApprovalTemplate. The unique identifier (OCID) of the customer compartment where the approval template is located. :param compartment_id: The compartment_id of this ApprovalTemplate. :type: str Nr?)r4rr6r6r7rüs cCs|jS)a‹ Gets the auto_approval_state of this ApprovalTemplate. 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'. :return: The auto_approval_state of this ApprovalTemplate. :rtype: str )r.r:r6r6r7rs z$ApprovalTemplate.auto_approval_statecCs ddg}t||ƒsd}||_dS)zã Sets the auto_approval_state of this ApprovalTemplate. The auto approval state of the lockbox. :param auto_approval_state: The auto_approval_state of this ApprovalTemplate. :type: str r rr<N)rr.)r4rr=r6r6r7rs  cCs|jS)a **[Required]** Gets the time_created of this ApprovalTemplate. The time the the approval template was created. An RFC3339 formatted datetime string :return: The time_created of this ApprovalTemplate. :rtype: datetime ©r/r:r6r6r7r&s zApprovalTemplate.time_createdcCs ||_dS)a Sets the time_created of this ApprovalTemplate. The time the the approval template was created. An RFC3339 formatted datetime string :param time_created: The time_created of this ApprovalTemplate. :type: datetime Nr@)r4rr6r6r7r2s cCs|jS)zñ Gets the time_updated of this ApprovalTemplate. The time the approval template was updated. An RFC3339 formatted datetime string :return: The time_updated of this ApprovalTemplate. :rtype: datetime ©r0r:r6r6r7r>s zApprovalTemplate.time_updatedcCs ||_dS)zü Sets the time_updated of this ApprovalTemplate. The time the approval template was updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this ApprovalTemplate. :type: datetime NrA)r4rr6r6r7rJs cCs|jS)aG Gets the freeform_tags of this ApprovalTemplate. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :return: The freeform_tags of this ApprovalTemplate. :rtype: dict(str, str) ©r1r:r6r6r7rVs zApprovalTemplate.freeform_tagscCs ||_dS)aS Sets the freeform_tags of this ApprovalTemplate. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param freeform_tags: The freeform_tags of this ApprovalTemplate. :type: dict(str, str) NrB)r4rr6r6r7rcs cCs|jS)aA Gets the defined_tags of this ApprovalTemplate. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :return: The defined_tags of this ApprovalTemplate. :rtype: dict(str, dict(str, object)) ©r2r:r6r6r7rps zApprovalTemplate.defined_tagscCs ||_dS)aL Sets the defined_tags of this ApprovalTemplate. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}` :param defined_tags: The defined_tags of this ApprovalTemplate. :type: dict(str, dict(str, object)) NrC)r4rr6r6r7r}s cCs|jS)a> Gets the system_tags of this ApprovalTemplate. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :return: The system_tags of this ApprovalTemplate. :rtype: dict(str, dict(str, object)) ©r3r:r6r6r7rŠs zApprovalTemplate.system_tagscCs ||_dS)aH Sets the system_tags of this ApprovalTemplate. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}` :param system_tags: The system_tags of this ApprovalTemplate. :type: dict(str, dict(str, object)) NrD)r4rr6r6r7r—s cCst|ƒS©N)rr:r6r6r7Ú__repr__¤szApprovalTemplate.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r4Úotherr6r6r7Ú__eq__§szApprovalTemplate.__eq__cCs ||k SrEr6rHr6r6r7Ú__ne__­szApprovalTemplate.__ne__N)Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚLIFECYCLE_STATE_ACTIVEÚLIFECYCLE_STATE_CREATINGÚLIFECYCLE_STATE_UPDATINGÚLIFECYCLE_STATE_DELETINGÚLIFECYCLE_STATE_DELETEDÚLIFECYCLE_STATE_FAILEDÚAUTO_APPROVAL_STATE_ENABLEDÚAUTO_APPROVAL_STATE_DISABLEDr8ÚpropertyrÚsetterrrrrrrrrrrrFrJrKr6r6r6r7r sr^                      rN)Úoci.utilrrrÚoci.decoratorsrÚobjectrr6r6r6r7Ús