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dœZddd	d
ddddœZd0d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d.d/„ ZdS )1Ú
GetWebhookzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    ÚstrÚintz	list[str]Údatetime)ÚurlÚidÚdescriptionÚeventsÚtypeÚ
created_atÚmodified_atr   r   r   r	   r
   Ú	createdAtÚ
modifiedAtNc                 C   s^   d| _ d| _d| _d| _d| _d| _d| _d| _|| _|| _	|| _
|| _|| _|| _|| _dS )z'GetWebhook - a model defined in SwaggerN)Ú_urlÚ_idÚ_descriptionÚ_eventsÚ_typeÚ_created_atÚ_modified_atÚdiscriminatorr   r   r   r	   r
   r   r   )Úselfr   r   r   r	   r
   r   r   © r   úS/var/www/html/env/lib/python3.10/site-packages/sib_api_v3_sdk/models/get_webhook.pyÚ__init__5   s   
zGetWebhook.__init__c                 C   ó   | j S )z±Gets the url of this GetWebhook.  # noqa: E501

        URL of the webhook  # noqa: E501

        :return: The url of this GetWebhook.  # noqa: E501
        :rtype: str
        )r   ©r   r   r   r   r   I   ó   	zGetWebhook.urlc                 C   ó   |du rt dƒ‚|| _dS )z¥Sets the url of this GetWebhook.

        URL of the webhook  # noqa: E501

        :param url: The url of this GetWebhook.  # noqa: E501
        :type: str
        Nz+Invalid value for `url`, must not be `None`)Ú
ValueErrorr   )r   r   r   r   r   r   T   ó   	
c                 C   r   )z®Gets the id of this GetWebhook.  # noqa: E501

        ID of the webhook  # noqa: E501

        :return: The id of this GetWebhook.  # noqa: E501
        :rtype: int
        )r   r   r   r   r   r   b   r   zGetWebhook.idc                 C   r   )z¡Sets the id of this GetWebhook.

        ID of the webhook  # noqa: E501

        :param id: The id of this GetWebhook.  # noqa: E501
        :type: int
        Nz*Invalid value for `id`, must not be `None`)r   r   )r   r   r   r   r   r   m   r    c                 C   r   )zÉGets the description of this GetWebhook.  # noqa: E501

        Description of the webhook  # noqa: E501

        :return: The description of this GetWebhook.  # noqa: E501
        :rtype: str
        )r   r   r   r   r   r   {   r   zGetWebhook.descriptionc                 C   r   )zÅSets the description of this GetWebhook.

        Description of the webhook  # noqa: E501

        :param description: The description of this GetWebhook.  # noqa: E501
        :type: str
        Nz3Invalid value for `description`, must not be `None`)r   r   )r   r   r   r   r   r   †   r    c                 C   r   )z”Gets the events of this GetWebhook.  # noqa: E501


        :return: The events of this GetWebhook.  # noqa: E501
        :rtype: list[str]
        )r   r   r   r   r   r	   ”   s   zGetWebhook.eventsc                 C   r   )z‹Sets the events of this GetWebhook.


        :param events: The events of this GetWebhook.  # noqa: E501
        :type: list[str]
        Nz.Invalid value for `events`, must not be `None`)r   r   )r   r	   r   r   r   r	   ž   s   
c                 C   r   )zÇGets the type of this GetWebhook.  # noqa: E501

        Type of webhook (marketing or transac)  # noqa: E501

        :return: The type of this GetWebhook.  # noqa: E501
        :rtype: str
        )r   r   r   r   r   r
   «   r   zGetWebhook.typec                 C   s:   |du rt dƒ‚ddg}||vrt d ||¡ƒ‚|| _dS )z¼Sets the type of this GetWebhook.

        Type of webhook (marketing or transac)  # noqa: E501

        :param type: The type of this GetWebhook.  # noqa: E501
        :type: str
        Nz,Invalid value for `type`, must not be `None`Ú	marketingÚtransacz2Invalid value for `type` ({0}), must be one of {1})r   Úformatr   )r   r
   Úallowed_valuesr   r   r   r
   ¶   s   	þ
c                 C   r   )zòGets the created_at of this GetWebhook.  # noqa: E501

        Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)  # noqa: E501

        :return: The created_at of this GetWebhook.  # noqa: E501
        :rtype: datetime
        )r   r   r   r   r   r   Ê   r   zGetWebhook.created_atc                 C   r   )zíSets the created_at of this GetWebhook.

        Creation UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)  # noqa: E501

        :param created_at: The created_at of this GetWebhook.  # noqa: E501
        :type: datetime
        Nz2Invalid value for `created_at`, must not be `None`)r   r   )r   r   r   r   r   r   Õ   r    c                 C   r   )zýGets the modified_at of this GetWebhook.  # noqa: E501

        Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)  # noqa: E501

        :return: The modified_at of this GetWebhook.  # noqa: E501
        :rtype: datetime
        )r   r   r   r   r   r   ã   r   zGetWebhook.modified_atc                 C   r   )zùSets the modified_at of this GetWebhook.

        Last modification UTC date-time of the webhook (YYYY-MM-DDTHH:mm:ss.SSSZ)  # noqa: E501

        :param modified_at: The modified_at of this GetWebhook.  # noqa: E501
        :type: datetime
        Nz3Invalid value for `modified_at`, must not be `None`)r   r   )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$GetWebhook.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GetWebhook.to_dictc                 C   s   t  |  ¡ ¡S )z.Returns the string representation of the model)ÚpprintÚpformatr%   r   r   r   r   Úto_str  s   zGetWebhook.to_strc                 C   s   |   ¡ S )zFor `print` and `pprint`)r=   r   r   r   r   Ú__repr__  s   zGetWebhook.__repr__c                 C   s   t |tƒsdS | j|jkS )z&Returns true if both objects are equalF)r0   r   Ú__dict__©r   Úotherr   r   r   Ú__eq__  s   
zGetWebhook.__eq__c                 C   s
   | |k S )z*Returns true if both objects are not equalr   r@   r   r   r   Ú__ne__&  s   
zGetWebhook.__ne__)NNNNNNN)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r.   Úattribute_mapr   Úpropertyr   Úsetterr   r   r	   r
   r   r   r%   r=   r>   rB   rC   r   r   r   r   r      sj    ùù











	









r   )rG   r;   Úrer,   Úobjectr   r   r   r   r   Ú<module>   s
   