o
    ëÉ¶dlC  ã                   @   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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d*d+„ ƒZej	d,d+„ ƒZed-d.„ ƒZej	d/d.„ ƒZed0d1„ ƒZej	d2d1„ ƒZd3d4„ Zd5d6„ Zd7d8„ Zd9S ):ÚLockboxSummaryz!
    Summary of the Lockbox.
    ÚFAAASÚCANARYc                 K   sª   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 LockboxSummary 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 LockboxSummary.
        :type id: str

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

        :param lockbox_partner:
            The value to assign to the lockbox_partner property of this LockboxSummary.
            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 compartment_id:
            The value to assign to the compartment_id property of this LockboxSummary.
        :type compartment_id: str

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

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

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

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

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

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

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this LockboxSummary.
        :type lifecycle_state: str

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

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

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

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

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object)))ÚidÚdisplay_nameÚlockbox_partnerÚcompartment_idÚpartner_compartment_idÚresource_idÚapproval_template_idÚmax_access_durationÚtime_createdÚtime_updatedÚlifecycle_stateÚlifecycle_detailsÚfreeform_tagsÚdefined_tagsÚsystem_tagsr   ZdisplayNameZlockboxPartnerZcompartmentIdZpartnerCompartmentIdZ
resourceIdZapprovalTemplateIdZmaxAccessDurationZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsN)Zswagger_typesZattribute_mapÚ_idÚ_display_nameÚ_lockbox_partnerÚ_compartment_idÚ_partner_compartment_idÚ_resource_idÚ_approval_template_idÚ_max_access_durationÚ_time_createdÚ_time_updatedÚ_lifecycle_stateÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tagsÚ_system_tags)ÚselfÚkwargs© r+   úFusr/lib/python3.10/site-packages/oci/lockbox/models/lockbox_summary.pyÚ__init__   s^   Eññ
zLockboxSummary.__init__c                 C   ó   | j S )zÂ
        **[Required]** Gets the id of this LockboxSummary.
        Unique identifier that is immutable on creation


        :return: The id of this LockboxSummary.
        :rtype: str
        ©r   ©r)   r+   r+   r,   r   ’   ó   
zLockboxSummary.idc                 C   ó
   || _ dS )z´
        Sets the id of this LockboxSummary.
        Unique identifier that is immutable on creation


        :param id: The id of this LockboxSummary.
        :type: str
        Nr/   )r)   r   r+   r+   r,   r   ž   ó   

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


        :return: The display_name of this LockboxSummary.
        :rtype: str
        ©r   r0   r+   r+   r,   r   ª   r1   zLockboxSummary.display_namec                 C   r2   )zÅ
        Sets the display_name of this LockboxSummary.
        Lockbox Identifier, can be renamed


        :param display_name: The display_name of this LockboxSummary.
        :type: str
        Nr4   )r)   r   r+   r+   r,   r   ¶   r3   c                 C   r.   )a•  
        **[Required]** Gets the lockbox_partner of this LockboxSummary.
        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 LockboxSummary.
        :rtype: str
        )r   r0   r+   r+   r,   r   Â   s   zLockboxSummary.lockbox_partnerc                 C   s    ddg}t ||ƒsd}|| _dS )zÞ
        Sets the lockbox_partner of this LockboxSummary.
        The partner using this lockbox to lock a resource.


        :param lockbox_partner: The lockbox_partner of this LockboxSummary.
        :type: str
        r   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r)   r   Zallowed_valuesr+   r+   r,   r   Ñ   s   


c                 C   r.   )zÁ
        **[Required]** Gets the compartment_id of this LockboxSummary.
        Compartment Identifier


        :return: The compartment_id of this LockboxSummary.
        :rtype: str
        ©r   r0   r+   r+   r,   r   à   r1   zLockboxSummary.compartment_idc                 C   r2   )z¿
        Sets the compartment_id of this LockboxSummary.
        Compartment Identifier


        :param compartment_id: The compartment_id of this LockboxSummary.
        :type: str
        Nr5   )r)   r   r+   r+   r,   r   ì   r3   c                 C   r.   )zÑ
        **[Required]** Gets the partner_compartment_id of this LockboxSummary.
        Compartment Identifier


        :return: The partner_compartment_id of this LockboxSummary.
        :rtype: str
        ©r   r0   r+   r+   r,   r   ø   r1   z%LockboxSummary.partner_compartment_idc                 C   r2   )z×
        Sets the partner_compartment_id of this LockboxSummary.
        Compartment Identifier


        :param partner_compartment_id: The partner_compartment_id of this LockboxSummary.
        :type: str
        Nr6   )r)   r   r+   r+   r,   r     r3   c                 C   r.   )zù
        **[Required]** Gets the resource_id of this LockboxSummary.
        The unique identifier (OCID) of associated resource that the lockbox is created for.


        :return: The resource_id of this LockboxSummary.
        :rtype: str
        ©r   r0   r+   r+   r,   r     r1   zLockboxSummary.resource_idc                 C   r2   )zô
        Sets the resource_id of this LockboxSummary.
        The unique identifier (OCID) of associated resource that the lockbox is created for.


        :param resource_id: The resource_id of this LockboxSummary.
        :type: str
        Nr7   )r)   r   r+   r+   r,   r     r3   c                 C   r.   )z¼
        Gets the approval_template_id of this LockboxSummary.
        Approval template ID


        :return: The approval_template_id of this LockboxSummary.
        :rtype: str
        ©r    r0   r+   r+   r,   r   (  r1   z#LockboxSummary.approval_template_idc                 C   r2   )zÏ
        Sets the approval_template_id of this LockboxSummary.
        Approval template ID


        :param approval_template_id: The approval_template_id of this LockboxSummary.
        :type: str
        Nr8   )r)   r   r+   r+   r,   r   4  r3   c                 C   r.   )zí
        Gets the max_access_duration of this LockboxSummary.
        The maximum amount of time operator has access to associated resources.


        :return: The max_access_duration of this LockboxSummary.
        :rtype: str
        ©r!   r0   r+   r+   r,   r   @  r1   z"LockboxSummary.max_access_durationc                 C   r2   )zÿ
        Sets the max_access_duration of this LockboxSummary.
        The maximum amount of time operator has access to associated resources.


        :param max_access_duration: The max_access_duration of this LockboxSummary.
        :type: str
        Nr9   )r)   r   r+   r+   r,   r   L  r3   c                 C   r.   )zö
        **[Required]** Gets the time_created of this LockboxSummary.
        The time the the Lockbox was created. An RFC3339 formatted datetime string


        :return: The time_created of this LockboxSummary.
        :rtype: datetime
        ©r"   r0   r+   r+   r,   r   X  r1   zLockboxSummary.time_createdc                 C   r2   )zò
        Sets the time_created of this LockboxSummary.
        The time the the Lockbox was created. An RFC3339 formatted datetime string


        :param time_created: The time_created of this LockboxSummary.
        :type: datetime
        Nr:   )r)   r   r+   r+   r,   r   d  r3   c                 C   r.   )zã
        Gets the time_updated of this LockboxSummary.
        The time the Lockbox was updated. An RFC3339 formatted datetime string


        :return: The time_updated of this LockboxSummary.
        :rtype: datetime
        ©r#   r0   r+   r+   r,   r   p  r1   zLockboxSummary.time_updatedc                 C   r2   )zî
        Sets the time_updated of this LockboxSummary.
        The time the Lockbox was updated. An RFC3339 formatted datetime string


        :param time_updated: The time_updated of this LockboxSummary.
        :type: datetime
        Nr;   )r)   r   r+   r+   r,   r   |  r3   c                 C   r.   )zÎ
        **[Required]** Gets the lifecycle_state of this LockboxSummary.
        The current state of the Lockbox.


        :return: The lifecycle_state of this LockboxSummary.
        :rtype: str
        ©r$   r0   r+   r+   r,   r   ˆ  r1   zLockboxSummary.lifecycle_statec                 C   r2   )zÍ
        Sets the lifecycle_state of this LockboxSummary.
        The current state of the Lockbox.


        :param lifecycle_state: The lifecycle_state of this LockboxSummary.
        :type: str
        Nr<   )r)   r   r+   r+   r,   r   ”  r3   c                 C   r.   )a3  
        Gets the lifecycle_details of this LockboxSummary.
        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 LockboxSummary.
        :rtype: str
        ©r%   r0   r+   r+   r,   r      r1   z LockboxSummary.lifecycle_detailsc                 C   r2   )aC  
        Sets the lifecycle_details of this LockboxSummary.
        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 LockboxSummary.
        :type: str
        Nr=   )r)   r   r+   r+   r,   r   ¬  r3   c                 C   r.   )aR  
        **[Required]** Gets the freeform_tags of this LockboxSummary.
        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 LockboxSummary.
        :rtype: dict(str, str)
        ©r&   r0   r+   r+   r,   r   ¸  ó   zLockboxSummary.freeform_tagsc                 C   r2   )aO  
        Sets the freeform_tags of this LockboxSummary.
        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 LockboxSummary.
        :type: dict(str, str)
        Nr>   )r)   r   r+   r+   r,   r   Å  ó   
c                 C   r.   )aL  
        **[Required]** Gets the defined_tags of this LockboxSummary.
        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 LockboxSummary.
        :rtype: dict(str, dict(str, object))
        ©r'   r0   r+   r+   r,   r   Ò  r?   zLockboxSummary.defined_tagsc                 C   r2   )aH  
        Sets the defined_tags of this LockboxSummary.
        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 LockboxSummary.
        :type: dict(str, dict(str, object))
        NrA   )r)   r   r+   r+   r,   r   ß  r@   c                 C   r.   )a:  
        Gets the system_tags of this LockboxSummary.
        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 LockboxSummary.
        :rtype: dict(str, dict(str, object))
        ©r(   r0   r+   r+   r,   r   ì  r?   zLockboxSummary.system_tagsc                 C   r2   )aD  
        Sets the system_tags of this LockboxSummary.
        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 LockboxSummary.
        :type: dict(str, dict(str, object))
        NrB   )r)   r   r+   r+   r,   r   ù  r@   c                 C   s   t | ƒS ©N)r   r0   r+   r+   r,   Ú__repr__  s   zLockboxSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r)   Úotherr+   r+   r,   Ú__eq__	  s   zLockboxSummary.__eq__c                 C   s
   | |k S rC   r+   rF   r+   r+   r,   Ú__ne__  s   
zLockboxSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLOCKBOX_PARTNER_FAAASZLOCKBOX_PARTNER_CANARYr-   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   r   rD   rH   rI   r+   r+   r+   r,   r      sˆ    x





























r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r+   r+   r+   r,   Ú<module>   s   