o
    l2Æ^41  ã                   @   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ddœ	Zddd	d
ddddddœ	Zd8d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d0d1„ Zd2d3„ Zd4d5„ Zd6d7„ ZdS )9Ú	SendEmailzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    z	list[str]Ústrzlist[SendEmailAttachment]Úobject)	Úemail_toÚ	email_bccÚemail_ccÚreply_toÚattachment_urlÚ
attachmentÚheadersÚ
attributesÚtagsÚemailToÚemailBccÚemailCcÚreplyToÚattachmentUrlr
   r   r   r   Nc
           
      C   sº   d| _ d| _d| _d| _d| _d| _d| _d| _d| _d| _	|| _
|dur(|| _|dur/|| _|dur6|| _|dur=|| _|durD|| _|durK|| _|durR|| _|	dur[|	| _dS dS )z&SendEmail - a model defined in SwaggerN)Ú	_email_toÚ
_email_bccÚ	_email_ccÚ	_reply_toÚ_attachment_urlÚ_attachmentÚ_headersÚ_attributesÚ_tagsÚdiscriminatorr   r   r   r   r	   r
   r   r   r   )
Úselfr   r   r   r   r	   r
   r   r   r   © r   úR/var/www/html/env/lib/python3.10/site-packages/sib_api_v3_sdk/models/send_email.pyÚ__init__9   s8   
ÿzSendEmail.__init__c                 C   ó   | j S )a  Gets the email_to of this SendEmail.  # noqa: E501

        List of the email addresses of the recipients. For example, ['abc@example.com', 'asd@example.com'].  # noqa: E501

        :return: The email_to of this SendEmail.  # noqa: E501
        :rtype: list[str]
        )r   ©r   r   r   r   r   Y   ó   	zSendEmail.email_toc                 C   s   |du rt dƒ‚|| _dS )a	  Sets the email_to of this SendEmail.

        List of the email addresses of the recipients. For example, ['abc@example.com', 'asd@example.com'].  # noqa: E501

        :param email_to: The email_to of this SendEmail.  # noqa: E501
        :type: list[str]
        Nz0Invalid value for `email_to`, must not be `None`)Ú
ValueErrorr   )r   r   r   r   r   r   d   s   	
c                 C   r!   )zãGets the email_bcc of this SendEmail.  # noqa: E501

        List of the email addresses of the recipients in bcc  # noqa: E501

        :return: The email_bcc of this SendEmail.  # noqa: E501
        :rtype: list[str]
        ©r   r"   r   r   r   r   r   r#   zSendEmail.email_bccc                 C   ó
   || _ dS )zÝSets the email_bcc of this SendEmail.

        List of the email addresses of the recipients in bcc  # noqa: E501

        :param email_bcc: The email_bcc of this SendEmail.  # noqa: E501
        :type: list[str]
        Nr%   )r   r   r   r   r   r   }   ó   

c                 C   r!   )zàGets the email_cc of this SendEmail.  # noqa: E501

        List of the email addresses of the recipients in cc  # noqa: E501

        :return: The email_cc of this SendEmail.  # noqa: E501
        :rtype: list[str]
        ©r   r"   r   r   r   r   ‰   r#   zSendEmail.email_ccc                 C   r&   )zÙSets the email_cc of this SendEmail.

        List of the email addresses of the recipients in cc  # noqa: E501

        :param email_cc: The email_cc of this SendEmail.  # noqa: E501
        :type: list[str]
        Nr(   )r   r   r   r   r   r   ”   r'   c                 C   r!   )zíGets the reply_to of this SendEmail.  # noqa: E501

        Email address which shall be used by campaign recipients to reply back  # noqa: E501

        :return: The reply_to of this SendEmail.  # noqa: E501
        :rtype: str
        ©r   r"   r   r   r   r       r#   zSendEmail.reply_toc                 C   r&   )zæSets the reply_to of this SendEmail.

        Email address which shall be used by campaign recipients to reply back  # noqa: E501

        :param reply_to: The reply_to of this SendEmail.  # noqa: E501
        :type: str
        Nr)   )r   r   r   r   r   r   «   r'   c                 C   r!   )a¥  Gets the attachment_url of this SendEmail.  # noqa: E501

        Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps  # noqa: E501

        :return: The attachment_url of this SendEmail.  # noqa: E501
        :rtype: str
        ©r   r"   r   r   r   r	   ·   r#   zSendEmail.attachment_urlc                 C   r&   )a¤  Sets the attachment_url of this SendEmail.

        Absolute url of the attachment (no local file). Extension allowed: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub and eps  # noqa: E501

        :param attachment_url: The attachment_url of this SendEmail.  # noqa: E501
        :type: str
        Nr*   )r   r	   r   r   r   r	   Â   r'   c                 C   r!   )a‘  Gets the attachment of this SendEmail.  # noqa: E501

        Pass the list of content (base64 encoded) and name of the attachment. For example, [{"content":"base64 encoded content 1", "name":"attcahment1"}, {"content":"base64 encoded content 2", "name":"attcahment2"}].  # noqa: E501

        :return: The attachment of this SendEmail.  # noqa: E501
        :rtype: list[SendEmailAttachment]
        ©r   r"   r   r   r   r
   Î   r#   zSendEmail.attachmentc                 C   r&   )aŒ  Sets the attachment of this SendEmail.

        Pass the list of content (base64 encoded) and name of the attachment. For example, [{"content":"base64 encoded content 1", "name":"attcahment1"}, {"content":"base64 encoded content 2", "name":"attcahment2"}].  # noqa: E501

        :param attachment: The attachment of this SendEmail.  # noqa: E501
        :type: list[SendEmailAttachment]
        Nr+   )r   r
   r   r   r   r
   Ù   r'   c                 C   r!   )a©  Gets the headers of this SendEmail.  # noqa: E501

        Pass the set of headers that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in `This-Case-Only` (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example, {"Content-Type":"text/html", "charset":"iso-8859-1", "sender.ip":"1.2.3.4"}  # noqa: E501

        :return: The headers of this SendEmail.  # noqa: E501
        :rtype: object
        ©r   r"   r   r   r   r   å   r#   zSendEmail.headersc                 C   r&   )a¡  Sets the headers of this SendEmail.

        Pass the set of headers that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. Headers are allowed in `This-Case-Only` (i.e. words separated by hyphen with first letter of each word in capital letter), they will be converted to such case styling if not in this format in the request payload. For example, {"Content-Type":"text/html", "charset":"iso-8859-1", "sender.ip":"1.2.3.4"}  # noqa: E501

        :param headers: The headers of this SendEmail.  # noqa: E501
        :type: object
        Nr,   )r   r   r   r   r   r   ð   r'   c                 C   r!   )a  Gets the attributes of this SendEmail.  # noqa: E501

        Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}  # noqa: E501

        :return: The attributes of this SendEmail.  # noqa: E501
        :rtype: object
        ©r   r"   r   r   r   r   ü   r#   zSendEmail.attributesc                 C   r&   )a
  Sets the attributes of this SendEmail.

        Pass the set of attributes to customize the template. For example, {"FNAME":"Joe", "LNAME":"Doe"}  # noqa: E501

        :param attributes: The attributes of this SendEmail.  # noqa: E501
        :type: object
        Nr-   )r   r   r   r   r   r     r'   c                 C   r!   )zÍGets the tags of this SendEmail.  # noqa: E501

        Tag your emails to find them more easily  # noqa: E501

        :return: The tags of this SendEmail.  # noqa: E501
        :rtype: list[str]
        ©r   r"   r   r   r   r     r#   zSendEmail.tagsc                 C   r&   )zÂSets the tags of this SendEmail.

        Tag your emails to find them more easily  # noqa: E501

        :param tags: The tags of this SendEmail.  # 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>2  s    z#SendEmail.to_dict.<locals>.<lambda>r/   c                 S   s&   t | d dƒr| d | d  ¡ fS | S )Né   r/   r   r0   )Úitemr   r   r   r3   9  s   ÿ)ÚsixÚ	iteritemsÚswagger_typesÚgetattrÚ
isinstanceÚlistÚmapr1   r/   ÚdictÚitemsÚ
issubclassr   )r   ÚresultÚattrÚ_ÚvalueÚkeyr   r   r   r/   *  s(   

þ

ý


zSendEmail.to_dictc                 C   s   t  |  ¡ ¡S )z.Returns the string representation of the model)ÚpprintÚpformatr/   r"   r   r   r   Úto_strE  s   zSendEmail.to_strc                 C   s   |   ¡ S )zFor `print` and `pprint`)rG   r"   r   r   r   Ú__repr__I  s   zSendEmail.__repr__c                 C   s   t |tƒsdS | j|jkS )z&Returns true if both objects are equalF)r:   r   Ú__dict__©r   Úotherr   r   r   Ú__eq__M  s   
zSendEmail.__eq__c                 C   s
   | |k S )z*Returns true if both objects are not equalr   rJ   r   r   r   Ú__ne__T  s   
zSendEmail.__ne__)	NNNNNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r8   Úattribute_mapr    Úpropertyr   Úsetterr   r   r   r	   r
   r   r   r   r/   rG   rH   rL   rM   r   r   r   r   r      s‚    ÷÷
 


























r   )rQ   rE   Úrer6   r   r   r   r   r   r   Ú<module>   s
   