o
    l2Æ^ã(  ã                   @   s0   d Z ddlZddlZddlZG dd„ deƒZdS )aø  
    SendinBlue API

    SendinBlue provide a RESTFul API that can be used with any languages. With this API, you will be able to :   - Manage your campaigns and get the statistics   - Manage your contacts   - Send transactional Emails and SMS   - and much more...  You can download our wrappers at https://github.com/orgs/sendinblue  **Possible responses**   | Code | Message |   | :-------------: | ------------- |   | 200  | OK. Successful Request  |   | 201  | OK. Successful Creation |   | 202  | OK. Request accepted |   | 204  | OK. Successful Update/Deletion  |   | 400  | Error. Bad Request  |   | 401  | Error. Authentication Needed  |   | 402  | Error. Not enough credit, plan upgrade needed  |   | 403  | Error. Permission denied  |   | 404  | Error. Object does not exist |   | 405  | Error. Method not allowed  |   | 406  | Error. Not Acceptable  |   # noqa: E501

    OpenAPI spec version: 3.0.0
    Contact: contact@sendinblue.com
    Generated by: https://github.com/swagger-api/swagger-codegen.git
é    Nc                   @   s"  e Zd ZdZ	 ddddddddœZdd	d
dddddœZd2d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.d/„ Zd0d1„ ZdS )3ÚCreateContactzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    ÚstrÚobjectÚboolz	list[int]z	list[str])ÚemailÚ
attributesÚemail_blacklistedÚsms_blacklistedÚlist_idsÚupdate_enabledÚsmtp_blacklist_senderr   r   ÚemailBlacklistedÚsmsBlacklistedÚlistIdsÚupdateEnabledÚsmtpBlacklistSenderNFc                 C   sš   d| _ d| _d| _d| _d| _d| _d| _d| _|dur|| _|dur&|| _	|dur-|| _
|dur4|| _|dur;|| _|durB|| _|durK|| _dS dS )z*CreateContact - a model defined in SwaggerN)Ú_emailÚ_attributesÚ_email_blacklistedÚ_sms_blacklistedÚ	_list_idsÚ_update_enabledÚ_smtp_blacklist_senderÚdiscriminatorr   r   r   r	   r
   r   r   )Úselfr   r   r   r	   r
   r   r   © r   úV/var/www/html/env/lib/python3.10/site-packages/sib_api_v3_sdk/models/create_contact.pyÚ__init__5   s.   
ÿzCreateContact.__init__c                 C   ó   | j S )a�  Gets the email of this CreateContact.  # noqa: E501

        Email address of the user. Mandatory if "SMS" field is not passed in "attributes" parameter. Mobile Number in "SMS" field should be passed with proper country code. For example {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"}  # noqa: E501

        :return: The email of this CreateContact.  # noqa: E501
        :rtype: str
        ©r   ©r   r   r   r   r   P   ó   	zCreateContact.emailc                 C   ó
   || _ dS )aƒ  Sets the email of this CreateContact.

        Email address of the user. Mandatory if "SMS" field is not passed in "attributes" parameter. Mobile Number in "SMS" field should be passed with proper country code. For example {"SMS":"+91xxxxxxxxxx"} or {"SMS":"0091xxxxxxxxxx"}  # noqa: E501

        :param email: The email of this CreateContact.  # noqa: E501
        :type: str
        Nr   )r   r   r   r   r   r   [   ó   

c                 C   r   )aI  Gets the attributes of this CreateContact.  # noqa: E501

        Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {"FNAME":"Elly", "LNAME":"Roger"}  # noqa: E501

        :return: The attributes of this CreateContact.  # noqa: E501
        :rtype: object
        ©r   r    r   r   r   r   g   r!   zCreateContact.attributesc                 C   r"   )aD  Sets the attributes of this CreateContact.

        Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {"FNAME":"Elly", "LNAME":"Roger"}  # noqa: E501

        :param attributes: The attributes of this CreateContact.  # noqa: E501
        :type: object
        Nr$   )r   r   r   r   r   r   r   r#   c                 C   r   )a  Gets the email_blacklisted of this CreateContact.  # noqa: E501

        Set this field to blacklist the contact for emails (emailBlacklisted = true)  # noqa: E501

        :return: The email_blacklisted of this CreateContact.  # noqa: E501
        :rtype: bool
        ©r   r    r   r   r   r   ~   r!   zCreateContact.email_blacklistedc                 C   r"   )a  Sets the email_blacklisted of this CreateContact.

        Set this field to blacklist the contact for emails (emailBlacklisted = true)  # noqa: E501

        :param email_blacklisted: The email_blacklisted of this CreateContact.  # noqa: E501
        :type: bool
        Nr%   )r   r   r   r   r   r   ‰   r#   c                 C   r   )a  Gets the sms_blacklisted of this CreateContact.  # noqa: E501

        Set this field to blacklist the contact for SMS (smsBlacklisted = true)  # noqa: E501

        :return: The sms_blacklisted of this CreateContact.  # noqa: E501
        :rtype: bool
        ©r   r    r   r   r   r	   •   r!   zCreateContact.sms_blacklistedc                 C   r"   )a  Sets the sms_blacklisted of this CreateContact.

        Set this field to blacklist the contact for SMS (smsBlacklisted = true)  # noqa: E501

        :param sms_blacklisted: The sms_blacklisted of this CreateContact.  # noqa: E501
        :type: bool
        Nr&   )r   r	   r   r   r   r	       r#   c                 C   r   )zÛGets the list_ids of this CreateContact.  # noqa: E501

        Ids of the lists to add the contact to  # noqa: E501

        :return: The list_ids of this CreateContact.  # noqa: E501
        :rtype: list[int]
        ©r   r    r   r   r   r
   ¬   r!   zCreateContact.list_idsc                 C   r"   )zÔSets the list_ids of this CreateContact.

        Ids of the lists to add the contact to  # noqa: E501

        :param list_ids: The list_ids of this CreateContact.  # noqa: E501
        :type: list[int]
        Nr'   )r   r
   r   r   r   r
   ·   r#   c                 C   r   )a  Gets the update_enabled of this CreateContact.  # noqa: E501

        Facilitate to update the existing contact in the same request (updateEnabled = true)  # noqa: E501

        :return: The update_enabled of this CreateContact.  # noqa: E501
        :rtype: bool
        ©r   r    r   r   r   r   Ã   r!   zCreateContact.update_enabledc                 C   r"   )a  Sets the update_enabled of this CreateContact.

        Facilitate to update the existing contact in the same request (updateEnabled = true)  # noqa: E501

        :param update_enabled: The update_enabled of this CreateContact.  # noqa: E501
        :type: bool
        Nr(   )r   r   r   r   r   r   Î   r#   c                 C   r   )aF  Gets the smtp_blacklist_sender of this CreateContact.  # noqa: E501

        transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )  # noqa: E501

        :return: The smtp_blacklist_sender of this CreateContact.  # noqa: E501
        :rtype: list[str]
        ©r   r    r   r   r   r   Ú   r!   z#CreateContact.smtp_blacklist_senderc                 C   r"   )aL  Sets the smtp_blacklist_sender of this CreateContact.

        transactional email forbidden sender for contact. Use only for email Contact ( only available if updateEnabled = true )  # noqa: E501

        :param smtp_blacklist_sender: The smtp_blacklist_sender of this CreateContact.  # noqa: E501
        :type: list[str]
        Nr)   )r   r   r   r   r   r   å   r#   c                 C   s´   i }t  | j¡D ]=\}}t| |ƒ}t|tƒr"ttdd„ |ƒƒ||< qt|dƒr.| ¡ ||< qt|t	ƒrAt	tdd„ | 
¡ ƒƒ||< q|||< qttt	ƒrX|  
¡ D ]\}}|||< qO|S )z&Returns the model properties as a dictc                 S   s   t | dƒr	|  ¡ S | S )NÚto_dict©Úhasattrr*   )Úxr   r   r   Ú<lambda>ù   s    z'CreateContact.to_dict.<locals>.<lambda>r*   c                 S   s&   t | d dƒr| d | d  ¡ fS | S )Né   r*   r   r+   )Úitemr   r   r   r.      s   ÿ)ÚsixÚ	iteritemsÚswagger_typesÚgetattrÚ
isinstanceÚlistÚmapr,   r*   ÚdictÚitemsÚ
issubclassr   )r   ÚresultÚattrÚ_ÚvalueÚkeyr   r   r   r*   ñ   s(   

þ

ý


zCreateContact.to_dictc                 C   s   t  |  ¡ ¡S )z.Returns the string representation of the model)ÚpprintÚpformatr*   r    r   r   r   Úto_str  s   zCreateContact.to_strc                 C   s   |   ¡ S )zFor `print` and `pprint`)rB   r    r   r   r   Ú__repr__  s   zCreateContact.__repr__c                 C   s   t |tƒsdS | j|jkS )z&Returns true if both objects are equalF)r5   r   Ú__dict__©r   Úotherr   r   r   Ú__eq__  s   
zCreateContact.__eq__c                 C   s
   | |k S )z*Returns true if both objects are not equalr   rE   r   r   r   Ú__ne__  s   
zCreateContact.__ne__)NNNNNFN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r3   Úattribute_mapr   Úpropertyr   Úsetterr   r   r	   r
   r   r   r*   rB   rC   rG   rH   r   r   r   r   r      sj    ùù






















r   )rL   r@   Úrer1   r   r   r   r   r   r   Ú<module>   s
   