o
    ëÉ¶dƒL  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sð  e Zd ZdZdZdZdZdZdZdZ	dZ
d	Zd
d„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZedd„ ƒZejd d„ ƒZed!d"„ ƒZejd#d"„ ƒZed$d%„ ƒZejd&d%„ ƒZed'd(„ ƒZejd)d(„ ƒZed*d+„ ƒZejd,d+„ ƒZed-d.„ ƒZejd/d.„ ƒZed0d1„ ƒZejd2d1„ ƒZed3d4„ ƒZejd5d4„ ƒZed6d7„ ƒZejd8d7„ ƒZed9d:„ ƒZejd;d:„ ƒZd<d=„ Zd>d?„ Z d@dA„ Z!dBS )CÚLockboxz!
    Description of Lockbox.
    ÚFAAASÚCANARYÚACTIVEÚCREATINGÚUPDATINGÚDELETINGÚDELETEDÚFAILEDc                 K   s0  i dd“dd“dd“dd“dd“dd“dd	“d
d	“dd“dd“dd“dd“dd“dd“dd“dd“| _ i dd“dd“dd“dd“dd“dd“dd“d
d“dd“dd“dd“dd “dd!“dd"“dd#“dd$“| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _	d%| _
d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%S )&a  
        Initializes a new Lockbox 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 Lockbox.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this Lockbox.
        :type display_name: str

        :param compartment_id:
            The value to assign to the compartment_id property of this Lockbox.
        :type compartment_id: str

        :param partner_compartment_id:
            The value to assign to the partner_compartment_id property of this Lockbox.
        :type partner_compartment_id: str

        :param resource_id:
            The value to assign to the resource_id property of this Lockbox.
        :type resource_id: str

        :param lockbox_partner:
            The value to assign to the lockbox_partner property of this Lockbox.
            Allowed values for this property are: "FAAAS", "CANARY", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lockbox_partner: str

        :param time_created:
            The value to assign to the time_created property of this Lockbox.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this Lockbox.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this Lockbox.
            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 access_context_attributes:
            The value to assign to the access_context_attributes property of this Lockbox.
        :type access_context_attributes: oci.lockbox.models.AccessContextAttributeCollection

        :param approval_template_id:
            The value to assign to the approval_template_id property of this Lockbox.
        :type approval_template_id: str

        :param max_access_duration:
            The value to assign to the max_access_duration property of this Lockbox.
        :type max_access_duration: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this Lockbox.
        :type lifecycle_details: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this Lockbox.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this Lockbox.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this Lockbox.
        :type system_tags: dict(str, dict(str, object))

        ÚidÚstrÚdisplay_nameÚcompartment_idÚpartner_compartment_idÚresource_idÚlockbox_partnerÚtime_createdÚdatetimeÚtime_updatedÚlifecycle_stateÚaccess_context_attributesZ AccessContextAttributeCollectionÚapproval_template_idÚmax_access_durationÚlifecycle_detailsÚfreeform_tagszdict(str, str)Údefined_tagszdict(str, dict(str, object))Úsystem_tagsZdisplayNameZcompartmentIdZpartnerCompartmentIdZ
resourceIdZlockboxPartnerZtimeCreatedZtimeUpdatedZlifecycleStateZaccessContextAttributesZapprovalTemplateIdZmaxAccessDurationZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_idÚ_display_nameÚ_compartment_idÚ_partner_compartment_idÚ_resource_idÚ_lockbox_partnerÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_access_context_attributesÚ_approval_template_idÚ_max_access_durationÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© r3   ú>usr/lib/python3.10/site-packages/oci/lockbox/models/lockbox.pyÚ__init__2   s¤   Jÿþýüûúùø	÷
öõôóòñðÿþýüûúùø	÷
öõôóòñð
zLockbox.__init__c                 C   ó   | j S )z´
        **[Required]** Gets the id of this Lockbox.
        Unique identifier that is immutable on creation


        :return: The id of this Lockbox.
        :rtype: str
        ©r!   ©r1   r3   r3   r4   r   ³   ó   
z
Lockbox.idc                 C   ó
   || _ dS )z¦
        Sets the id of this Lockbox.
        Unique identifier that is immutable on creation


        :param id: The id of this Lockbox.
        :type: str
        Nr7   )r1   r   r3   r3   r4   r   ¿   ó   

c                 C   r6   )z»
        **[Required]** Gets the display_name of this Lockbox.
        Lockbox Identifier, can be renamed


        :return: The display_name of this Lockbox.
        :rtype: str
        ©r"   r8   r3   r3   r4   r   Ë   r9   zLockbox.display_namec                 C   r:   )z·
        Sets the display_name of this Lockbox.
        Lockbox Identifier, can be renamed


        :param display_name: The display_name of this Lockbox.
        :type: str
        Nr<   )r1   r   r3   r3   r4   r   ×   r;   c                 C   r6   )z³
        **[Required]** Gets the compartment_id of this Lockbox.
        Compartment Identifier


        :return: The compartment_id of this Lockbox.
        :rtype: str
        ©r#   r8   r3   r3   r4   r   ã   r9   zLockbox.compartment_idc                 C   r:   )z±
        Sets the compartment_id of this Lockbox.
        Compartment Identifier


        :param compartment_id: The compartment_id of this Lockbox.
        :type: str
        Nr=   )r1   r   r3   r3   r4   r   ï   r;   c                 C   r6   )zÃ
        **[Required]** Gets the partner_compartment_id of this Lockbox.
        Compartment Identifier


        :return: The partner_compartment_id of this Lockbox.
        :rtype: str
        ©r$   r8   r3   r3   r4   r   û   r9   zLockbox.partner_compartment_idc                 C   r:   )zÉ
        Sets the partner_compartment_id of this Lockbox.
        Compartment Identifier


        :param partner_compartment_id: The partner_compartment_id of this Lockbox.
        :type: str
        Nr>   )r1   r   r3   r3   r4   r     r;   c                 C   r6   )zë
        **[Required]** Gets the resource_id of this Lockbox.
        The unique identifier (OCID) of associated resource that the lockbox is created for.


        :return: The resource_id of this Lockbox.
        :rtype: str
        ©r%   r8   r3   r3   r4   r     r9   zLockbox.resource_idc                 C   r:   )zæ
        Sets the resource_id of this Lockbox.
        The unique identifier (OCID) of associated resource that the lockbox is created for.


        :param resource_id: The resource_id of this Lockbox.
        :type: str
        Nr?   )r1   r   r3   r3   r4   r     r;   c                 C   r6   )a‡  
        **[Required]** Gets the lockbox_partner of this Lockbox.
        The partner using this lockbox to lock a resource.

        Allowed values for this property are: "FAAAS", "CANARY", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lockbox_partner of this Lockbox.
        :rtype: str
        )r&   r8   r3   r3   r4   r   +  ó   zLockbox.lockbox_partnerc                 C   s    ddg}t ||ƒsd}|| _dS )zÐ
        Sets the lockbox_partner of this Lockbox.
        The partner using this lockbox to lock a resource.


        :param lockbox_partner: The lockbox_partner of this Lockbox.
        :type: str
        r   r   ÚUNKNOWN_ENUM_VALUEN)r   r&   )r1   r   Úallowed_valuesr3   r3   r4   r   :  ó   


c                 C   r6   )zè
        **[Required]** Gets the time_created of this Lockbox.
        The time the the Lockbox was created. An RFC3339 formatted datetime string


        :return: The time_created of this Lockbox.
        :rtype: datetime
        ©r'   r8   r3   r3   r4   r   I  r9   zLockbox.time_createdc                 C   r:   )zä
        Sets the time_created of this Lockbox.
        The time the the Lockbox was created. An RFC3339 formatted datetime string


        :param time_created: The time_created of this Lockbox.
        :type: datetime
        NrD   )r1   r   r3   r3   r4   r   U  r;   c                 C   r6   )zÕ
        Gets the time_updated of this Lockbox.
        The time the Lockbox was updated. An RFC3339 formatted datetime string


        :return: The time_updated of this Lockbox.
        :rtype: datetime
        ©r(   r8   r3   r3   r4   r   a  r9   zLockbox.time_updatedc                 C   r:   )zà
        Sets the time_updated of this Lockbox.
        The time the Lockbox was updated. An RFC3339 formatted datetime string


        :param time_updated: The time_updated of this Lockbox.
        :type: datetime
        NrE   )r1   r   r3   r3   r4   r   m  r;   c                 C   r6   )a¦  
        **[Required]** Gets the lifecycle_state of this Lockbox.
        The current state of the Lockbox.

        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 Lockbox.
        :rtype: str
        )r)   r8   r3   r3   r4   r   y  r@   zLockbox.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )z¿
        Sets the lifecycle_state of this Lockbox.
        The current state of the Lockbox.


        :param lifecycle_state: The lifecycle_state of this Lockbox.
        :type: str
        )r	   r
   r   r   r   r   rA   N)r   r)   )r1   r   rB   r3   r3   r4   r   ˆ  rC   c                 C   r6   )zÊ
        Gets the access_context_attributes of this Lockbox.

        :return: The access_context_attributes of this Lockbox.
        :rtype: oci.lockbox.models.AccessContextAttributeCollection
        ©r*   r8   r3   r3   r4   r   —  s   z!Lockbox.access_context_attributesc                 C   r:   )zâ
        Sets the access_context_attributes of this Lockbox.

        :param access_context_attributes: The access_context_attributes of this Lockbox.
        :type: oci.lockbox.models.AccessContextAttributeCollection
        NrF   )r1   r   r3   r3   r4   r   ¡  s   
c                 C   r6   )z®
        Gets the approval_template_id of this Lockbox.
        Approval template ID


        :return: The approval_template_id of this Lockbox.
        :rtype: str
        ©r+   r8   r3   r3   r4   r   «  r9   zLockbox.approval_template_idc                 C   r:   )zÁ
        Sets the approval_template_id of this Lockbox.
        Approval template ID


        :param approval_template_id: The approval_template_id of this Lockbox.
        :type: str
        NrG   )r1   r   r3   r3   r4   r   ·  r;   c                 C   r6   )zß
        Gets the max_access_duration of this Lockbox.
        The maximum amount of time operator has access to associated resources.


        :return: The max_access_duration of this Lockbox.
        :rtype: str
        ©r,   r8   r3   r3   r4   r   Ã  r9   zLockbox.max_access_durationc                 C   r:   )zñ
        Sets the max_access_duration of this Lockbox.
        The maximum amount of time operator has access to associated resources.


        :param max_access_duration: The max_access_duration of this Lockbox.
        :type: str
        NrH   )r1   r   r3   r3   r4   r   Ï  r;   c                 C   r6   )a%  
        Gets the lifecycle_details of this Lockbox.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :return: The lifecycle_details of this Lockbox.
        :rtype: str
        ©r-   r8   r3   r3   r4   r   Û  r9   zLockbox.lifecycle_detailsc                 C   r:   )a5  
        Sets the lifecycle_details of this Lockbox.
        A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.


        :param lifecycle_details: The lifecycle_details of this Lockbox.
        :type: str
        NrI   )r1   r   r3   r3   r4   r   ç  r;   c                 C   r6   )aD  
        **[Required]** Gets the freeform_tags of this Lockbox.
        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 Lockbox.
        :rtype: dict(str, str)
        ©r.   r8   r3   r3   r4   r   ó  ó   zLockbox.freeform_tagsc                 C   r:   )aA  
        Sets the freeform_tags of this Lockbox.
        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 Lockbox.
        :type: dict(str, str)
        NrJ   )r1   r   r3   r3   r4   r      ó   
c                 C   r6   )a>  
        **[Required]** Gets the defined_tags of this Lockbox.
        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 Lockbox.
        :rtype: dict(str, dict(str, object))
        ©r/   r8   r3   r3   r4   r     rK   zLockbox.defined_tagsc                 C   r:   )a:  
        Sets the defined_tags of this Lockbox.
        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 Lockbox.
        :type: dict(str, dict(str, object))
        NrM   )r1   r   r3   r3   r4   r     rL   c                 C   r6   )a,  
        Gets the system_tags of this Lockbox.
        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 Lockbox.
        :rtype: dict(str, dict(str, object))
        ©r0   r8   r3   r3   r4   r    '  rK   zLockbox.system_tagsc                 C   r:   )a6  
        Sets the system_tags of this Lockbox.
        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 Lockbox.
        :type: dict(str, dict(str, object))
        NrN   )r1   r    r3   r3   r4   r    4  rL   c                 C   s   t | ƒS ©N)r   r8   r3   r3   r4   Ú__repr__A  s   zLockbox.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r1   Úotherr3   r3   r4   Ú__eq__D  s   zLockbox.__eq__c                 C   s
   | |k S rO   r3   rR   r3   r3   r4   Ú__ne__J  s   
zLockbox.__ne__N)"Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLOCKBOX_PARTNER_FAAASZLOCKBOX_PARTNER_CANARYZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDr5   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   r   r    rP   rT   rU   r3   r3   r3   r4   r      sž     


















	
	











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r3   r3   r3   r4   Ú<module>   s   