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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 )*ÚSenderz?
    The full information representing an approved sender.
    ÚCREATINGÚACTIVEÚDELETINGÚDELETEDc              
   K   sn   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 Sender 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 Sender.
        :type compartment_id: str

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

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

        :param is_spf:
            The value to assign to the is_spf property of this Sender.
        :type is_spf: bool

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

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

        :param email_domain_id:
            The value to assign to the email_domain_id property of this Sender.
        :type email_domain_id: str

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

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

        ÚstrÚboolÚdatetimezdict(str, str)zdict(str, dict(str, object)))	Úcompartment_idÚemail_addressÚidÚis_spfÚlifecycle_stateÚtime_createdÚemail_domain_idÚfreeform_tagsÚdefined_tagsZcompartmentIdZemailAddressr   ZisSpfZlifecycleStateZtimeCreatedZemailDomainIdZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_mapÚ_compartment_idÚ_email_addressÚ_idÚ_is_spfÚ_lifecycle_stateÚ_time_createdÚ_email_domain_idÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r"   ú;usr/lib/python3.10/site-packages/oci/email/models/sender.pyÚ__init__"   s:   -÷÷
zSender.__init__c                 C   ó   | j S )z¸
        **[Required]** Gets the compartment_id of this Sender.
        The OCID for the compartment.


        :return: The compartment_id of this Sender.
        :rtype: str
        ©r   ©r    r"   r"   r#   r   p   ó   
zSender.compartment_idc                 C   ó
   || _ dS )z¶
        Sets the compartment_id of this Sender.
        The OCID for the compartment.


        :param compartment_id: The compartment_id of this Sender.
        :type: str
        Nr&   )r    r   r"   r"   r#   r   |   ó   

c                 C   r%   )zµ
        **[Required]** Gets the email_address of this Sender.
        Email address of the sender.


        :return: The email_address of this Sender.
        :rtype: str
        ©r   r'   r"   r"   r#   r   ˆ   r(   zSender.email_addressc                 C   r)   )z²
        Sets the email_address of this Sender.
        Email address of the sender.


        :param email_address: The email_address of this Sender.
        :type: str
        Nr+   )r    r   r"   r"   r#   r   ”   r*   c                 C   r%   )z¡
        **[Required]** Gets the id of this Sender.
        The unique OCID of the sender.


        :return: The id of this Sender.
        :rtype: str
        ©r   r'   r"   r"   r#   r       r(   z	Sender.idc                 C   r)   )z“
        Sets the id of this Sender.
        The unique OCID of the sender.


        :param id: The id of this Sender.
        :type: str
        Nr,   )r    r   r"   r"   r#   r   ¬   r*   c                 C   r%   )a8  
        Gets the is_spf of this Sender.
        Value of the SPF field. For more information about SPF, please see
        `SPF Authentication`__.

        __ https://docs.cloud.oracle.com/Content/Email/Concepts/overview.htm#components


        :return: The is_spf of this Sender.
        :rtype: bool
        ©r   r'   r"   r"   r#   r   ¸   ó   zSender.is_spfc                 C   r)   )a=  
        Sets the is_spf of this Sender.
        Value of the SPF field. For more information about SPF, please see
        `SPF Authentication`__.

        __ https://docs.cloud.oracle.com/Content/Email/Concepts/overview.htm#components


        :param is_spf: The is_spf of this Sender.
        :type: bool
        Nr-   )r    r   r"   r"   r#   r   Ç   s   
c                 C   r%   )aƒ  
        Gets the lifecycle_state of this Sender.
        The sender's current lifecycle state.

        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 Sender.
        :rtype: str
        )r   r'   r"   r"   r#   r   Ö   r.   zSender.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zÁ
        Sets the lifecycle_state of this Sender.
        The sender's current lifecycle state.


        :param lifecycle_state: The lifecycle_state of this Sender.
        :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 Sender.
        The date and 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 Sender.
        :rtype: datetime
        ©r   r'   r"   r"   r#   r   ô   s   zSender.time_createdc                 C   r)   )a  
        Sets the time_created of this Sender.
        The date and 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 Sender.
        :type: datetime
        Nr/   )r    r   r"   r"   r#   r     s   
c                 C   r%   )zÞ
        Gets the email_domain_id of this Sender.
        The email domain used to assert responsibility for emails sent from this sender.


        :return: The email_domain_id of this Sender.
        :rtype: str
        ©r   r'   r"   r"   r#   r     r(   zSender.email_domain_idc                 C   r)   )zì
        Sets the email_domain_id of this Sender.
        The email domain used to assert responsibility for emails sent from this sender.


        :param email_domain_id: The email_domain_id of this Sender.
        :type: str
        Nr0   )r    r   r"   r"   r#   r     r*   c                 C   r%   )a¾  
        Gets the freeform_tags of this Sender.
        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 Sender.
        :rtype: dict(str, str)
        ©r   r'   r"   r"   r#   r   &  ó   zSender.freeform_tagsc                 C   r)   )aÊ  
        Sets the freeform_tags of this Sender.
        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 Sender.
        :type: dict(str, str)
        Nr1   )r    r   r"   r"   r#   r   7  ó   
c                 C   r%   )a´  
        Gets the defined_tags of this Sender.
        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 Sender.
        :rtype: dict(str, dict(str, object))
        ©r   r'   r"   r"   r#   r   H  r2   zSender.defined_tagsc                 C   r)   )a¿  
        Sets the defined_tags of this Sender.
        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 Sender.
        :type: dict(str, dict(str, object))
        Nr4   )r    r   r"   r"   r#   r   Y  r3   c                 C   s   t | ƒS ©N)r   r'   r"   r"   r#   Ú__repr__j  s   zSender.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r    Úotherr"   r"   r#   Ú__eq__m  s   zSender.__eq__c                 C   s
   | |k S r5   r"   r8   r"   r"   r#   Ú__ne__s  s   
zSender.__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   r   r6   r:   r;   r"   r"   r"   r#   r      s\    N

















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r"   r"   r"   r#   Ú<module>   s   