o
    �ú_"  ã                   @   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œZdddddd	dœZd)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d'd(„ Zd
S )*ÚCreateChildzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    Ústr)ÚemailÚ
first_nameÚ	last_nameÚcompany_nameÚpasswordÚlanguager   Ú	firstNameÚlastNameÚcompanyNamer   r	   Nc                 C   s^   d| _ d| _d| _d| _d| _d| _d| _|| _|| _|| _	|| _
|| _|dur-|| _dS dS )z(CreateChild - a model defined in SwaggerN)Ú_emailÚ_first_nameÚ
_last_nameÚ_company_nameÚ	_passwordÚ	_languageÚdiscriminatorr   r   r   r   r   r	   )Úselfr   r   r   r   r   r	   © r   úT/var/www/html/env/lib/python3.10/site-packages/sib_api_v3_sdk/models/create_child.pyÚ__init__3   s   
ÿzCreateChild.__init__c                 C   ó   | j S )zÎGets the email of this CreateChild.  # noqa: E501

        Email address to create the child account  # noqa: E501

        :return: The email of this CreateChild.  # noqa: E501
        :rtype: str
        )r   ©r   r   r   r   r   F   ó   	zCreateChild.emailc                 C   ó   |du rt dƒ‚|| _dS )zÄSets the email of this CreateChild.

        Email address to create the child account  # noqa: E501

        :param email: The email of this CreateChild.  # noqa: E501
        :type: str
        Nz-Invalid value for `email`, must not be `None`)Ú
ValueErrorr   )r   r   r   r   r   r   Q   ó   	
c                 C   r   )zÜGets the first_name of this CreateChild.  # noqa: E501

        First name to use to create the child account  # noqa: E501

        :return: The first_name of this CreateChild.  # noqa: E501
        :rtype: str
        )r   r   r   r   r   r   _   r   zCreateChild.first_namec                 C   r   )z×Sets the first_name of this CreateChild.

        First name to use to create the child account  # noqa: E501

        :param first_name: The first_name of this CreateChild.  # noqa: E501
        :type: str
        Nz2Invalid value for `first_name`, must not be `None`)r   r   )r   r   r   r   r   r   j   r   c                 C   r   )zÙGets the last_name of this CreateChild.  # noqa: E501

        Last name to use to create the child account  # noqa: E501

        :return: The last_name of this CreateChild.  # noqa: E501
        :rtype: str
        )r   r   r   r   r   r   x   r   zCreateChild.last_namec                 C   r   )zÓSets the last_name of this CreateChild.

        Last name to use to create the child account  # noqa: E501

        :param last_name: The last_name of this CreateChild.  # noqa: E501
        :type: str
        Nz1Invalid value for `last_name`, must not be `None`)r   r   )r   r   r   r   r   r   ƒ   r   c                 C   r   )zâGets the company_name of this CreateChild.  # noqa: E501

        Company name to use to create the child account  # noqa: E501

        :return: The company_name of this CreateChild.  # noqa: E501
        :rtype: str
        )r   r   r   r   r   r   ‘   r   zCreateChild.company_namec                 C   r   )zßSets the company_name of this CreateChild.

        Company name to use to create the child account  # noqa: E501

        :param company_name: The company_name of this CreateChild.  # noqa: E501
        :type: str
        Nz4Invalid value for `company_name`, must not be `None`)r   r   )r   r   r   r   r   r   œ   r   c                 C   r   )zÒGets the password of this CreateChild.  # noqa: E501

        Password for the child account to login  # noqa: E501

        :return: The password of this CreateChild.  # noqa: E501
        :rtype: str
        )r   r   r   r   r   r   ª   r   zCreateChild.passwordc                 C   r   )zËSets the password of this CreateChild.

        Password for the child account to login  # noqa: E501

        :param password: The password of this CreateChild.  # noqa: E501
        :type: str
        Nz0Invalid value for `password`, must not be `None`)r   r   )r   r   r   r   r   r   µ   r   c                 C   r   )zÈGets the language of this CreateChild.  # noqa: E501

        Language of the child account  # noqa: E501

        :return: The language of this CreateChild.  # noqa: E501
        :rtype: str
        )r   r   r   r   r   r	   Ã   r   zCreateChild.languagec                 C   s*   g d¢}||vrt d ||¡ƒ‚|| _dS )zÁSets the language of this CreateChild.

        Language of the child account  # noqa: E501

        :param language: The language of this CreateChild.  # noqa: E501
        :type: str
        )ÚfrÚesÚptÚitÚdeÚenz6Invalid value for `language` ({0}), must be one of {1}N)r   Úformatr   )r   r	   Úallowed_valuesr   r   r   r	   Î   s   	þ
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%CreateChild.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CreateChild.to_dictc                 C   s   t  |  ¡ ¡S )z.Returns the string representation of the model)ÚpprintÚpformatr&   r   r   r   r   Úto_strû   s   zCreateChild.to_strc                 C   s   |   ¡ S )zFor `print` and `pprint`)r>   r   r   r   r   Ú__repr__ÿ   s   zCreateChild.__repr__c                 C   s   t |tƒsdS | j|jkS )z&Returns true if both objects are equalF)r1   r   Ú__dict__©r   Úotherr   r   r   Ú__eq__  s   
zCreateChild.__eq__c                 C   s
   | |k S )z*Returns true if both objects are not equalr   rA   r   r   r   Ú__ne__
  s   
zCreateChild.__ne__)NNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r/   Úattribute_mapr   Úpropertyr   Úsetterr   r   r   r   r	   r&   r>   r?   rC   rD   r   r   r   r   r      s^    ú
ú
	

















r   )rH   r<   Úrer-   Úobjectr   r   r   r   r   Ú<module>   s
   