o
    ëÉ¶d'  ã                   @   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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dd„ Zdd „ Zd!d"„ Zd#S )$ÚSenderSummaryzM
    The email addresses and `senderId` representing an approved sender.
    ÚCREATINGÚACTIVEÚDELETINGÚDELETEDc                 K   sZ   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 SenderSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

        :param email_address:
            The value to assign to the email_address property of this SenderSummary.
        :type email_address: str

        :param id:
            The value to assign to the id property of this SenderSummary.
        :type id: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this SenderSummary.
            Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

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

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

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

        ÚstrÚdatetimezdict(str, str)zdict(str, dict(str, object)))Úcompartment_idÚemail_addressÚidÚlifecycle_stateÚtime_createdÚfreeform_tagsÚdefined_tagsZcompartmentIdZemailAddressr   ZlifecycleStateZtimeCreatedZfreeformTagsZdefinedTagsN)	Zswagger_typesZattribute_mapÚ_compartment_idÚ_email_addressÚ_idÚ_lifecycle_stateÚ_time_createdÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r   úCusr/lib/python3.10/site-packages/oci/email/models/sender_summary.pyÚ__init__"   s.   %ùù

zSenderSummary.__init__c                 C   ó   | j S )zÆ
        **[Required]** Gets the compartment_id of this SenderSummary.
        The OCID for the compartment.


        :return: The compartment_id of this SenderSummary.
        :rtype: str
        ©r   ©r   r   r   r   r   b   ó   
zSenderSummary.compartment_idc                 C   ó
   || _ dS )zÄ
        Sets the compartment_id of this SenderSummary.
        The OCID for the compartment.


        :param compartment_id: The compartment_id of this SenderSummary.
        :type: str
        Nr!   )r   r   r   r   r   r   n   ó   

c                 C   r    )zÇ
        **[Required]** Gets the email_address of this SenderSummary.
        The email address of the sender.


        :return: The email_address of this SenderSummary.
        :rtype: str
        ©r   r"   r   r   r   r   z   r#   zSenderSummary.email_addressc                 C   r$   )zÄ
        Sets the email_address of this SenderSummary.
        The email address of the sender.


        :param email_address: The email_address of this SenderSummary.
        :type: str
        Nr&   )r   r   r   r   r   r   †   r%   c                 C   r    )z­
        **[Required]** Gets the id of this SenderSummary.
        The unique ID of the sender.


        :return: The id of this SenderSummary.
        :rtype: str
        ©r   r"   r   r   r   r   ’   r#   zSenderSummary.idc                 C   r$   )zŸ
        Sets the id of this SenderSummary.
        The unique ID of the sender.


        :param id: The id of this SenderSummary.
        :type: str
        Nr'   )r   r   r   r   r   r   ž   r%   c                 C   r    )a–  
        Gets the lifecycle_state of this SenderSummary.
        The current status of the approved sender.

        Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this SenderSummary.
        :rtype: str
        )r   r"   r   r   r   r   ª   s   zSenderSummary.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zÔ
        Sets the lifecycle_state of this SenderSummary.
        The current status of the approved sender.


        :param lifecycle_state: The lifecycle_state of this SenderSummary.
        :type: str
        )r   r   r	   r
   ZUNKNOWN_ENUM_VALUEN)r   r   )r   r   Zallowed_valuesr   r   r   r   ¹   s   


c                 C   r    )a  
        Gets the time_created of this SenderSummary.
        Date time the approved sender was added, in "YYYY-MM-ddThh:mmZ"
        format with a Z offset, as defined by RFC 3339.


        :return: The time_created of this SenderSummary.
        :rtype: datetime
        ©r   r"   r   r   r   r   È   s   zSenderSummary.time_createdc                 C   r$   )a  
        Sets the time_created of this SenderSummary.
        Date time the approved sender was added, in "YYYY-MM-ddThh:mmZ"
        format with a Z offset, as defined by RFC 3339.


        :param time_created: The time_created of this SenderSummary.
        :type: datetime
        Nr(   )r   r   r   r   r   r   Õ   s   
c                 C   r    )aÌ  
        Gets the freeform_tags of this SenderSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this SenderSummary.
        :rtype: dict(str, str)
        ©r   r"   r   r   r   r   â   ó   zSenderSummary.freeform_tagsc                 C   r$   )aØ  
        Sets the freeform_tags of this SenderSummary.
        Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this SenderSummary.
        :type: dict(str, str)
        Nr)   )r   r   r   r   r   r   ó   ó   
c                 C   r    )aÂ  
        Gets the defined_tags of this SenderSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this SenderSummary.
        :rtype: dict(str, dict(str, object))
        ©r   r"   r   r   r   r     r*   zSenderSummary.defined_tagsc                 C   r$   )aÍ  
        Sets the defined_tags of this SenderSummary.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this SenderSummary.
        :type: dict(str, dict(str, object))
        Nr,   )r   r   r   r   r   r     r+   c                 C   s   t | ƒS ©N)r   r"   r   r   r   Ú__repr__&  s   zSenderSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__)  s   zSenderSummary.__eq__c                 C   s
   | |k S r-   r   r0   r   r   r   Ú__ne__/  s   
zSenderSummary.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDr   Úpropertyr   Úsetterr   r   r   r   r   r   r.   r2   r3   r   r   r   r   r      sL    @













r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   