
    ~i                     J    d Z ddlZddlZddlZddlmZ  G d de          ZdS )z
    cloudmonitor

    No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)  # noqa: E501

    OpenAPI spec version: common-version
    
    Generated by: https://github.com/swagger-api/swagger-codegen.git
    N)Configurationc                      e Zd ZdZ	 dddddddZddddd	d
dZddZed             Zej	        d             Zed             Z
e
j	        d             Z
ed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zed             Zej	        d             Zd Zd Zd Zd Zd ZdS )UpdateWebhookRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strbool)idnametokentypeurl
with_tokenIdNameTokenTypeUrl	WithTokenNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        || _	        || _
        ||| _        || _        || _        |	|| _        dS dS )z1UpdateWebhookRequest - a model defined in SwaggerN)r   _configuration_id_name_token_type_url_with_tokendiscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkcloudmonitor/models/update_webhook_request.py__init__zUpdateWebhookRequest.__init__5   s    !*__N,

	!	DJ	!(DOOO "!    c                     | j         S )zGets the id of this UpdateWebhookRequest.  # noqa: E501


        :return: The id of this UpdateWebhookRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zUpdateWebhookRequest.idL   s     xr    c                 N    | j         j        r|t          d          || _        dS )zSets the id of this UpdateWebhookRequest.


        :param id: The id of this UpdateWebhookRequest.  # noqa: E501
        :type: str
        Nz*Invalid value for `id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zUpdateWebhookRequest.idV   s1     5 	K"*IJJJr    c                     | j         S )zGets the name of this UpdateWebhookRequest.  # noqa: E501


        :return: The name of this UpdateWebhookRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r	   zUpdateWebhookRequest.namec        zr    c                 N    | j         j        r|t          d          || _        dS )zSets the name of this UpdateWebhookRequest.


        :param name: The name of this UpdateWebhookRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   r$   r%   r   )r   r	   s     r   r	   zUpdateWebhookRequest.namem   1     5 	M$,KLLL


r    c                     | j         S )zGets the token of this UpdateWebhookRequest.  # noqa: E501


        :return: The token of this UpdateWebhookRequest.  # noqa: E501
        :rtype: str
        r   r"   s    r   r
   zUpdateWebhookRequest.tokenz   s     {r    c                     || _         dS )zSets the token of this UpdateWebhookRequest.


        :param token: The token of this UpdateWebhookRequest.  # noqa: E501
        :type: str
        Nr+   )r   r
   s     r   r
   zUpdateWebhookRequest.token   s     r    c                     | j         S )zGets the type of this UpdateWebhookRequest.  # noqa: E501


        :return: The type of this UpdateWebhookRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   zUpdateWebhookRequest.type   r'   r    c                 N    | j         j        r|t          d          || _        dS )zSets the type of this UpdateWebhookRequest.


        :param type: The type of this UpdateWebhookRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `type`, must not be `None`)r   r$   r%   r   )r   r   s     r   r   zUpdateWebhookRequest.type   r)   r    c                     | j         S )zGets the url of this UpdateWebhookRequest.  # noqa: E501


        :return: The url of this UpdateWebhookRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   zUpdateWebhookRequest.url   s     yr    c                 N    | j         j        r|t          d          || _        dS )zSets the url of this UpdateWebhookRequest.


        :param url: The url of this UpdateWebhookRequest.  # noqa: E501
        :type: str
        Nz+Invalid value for `url`, must not be `None`)r   r$   r%   r   )r   r   s     r   r   zUpdateWebhookRequest.url   s1     5 	L#+JKKK			r    c                     | j         S )zGets the with_token of this UpdateWebhookRequest.  # noqa: E501


        :return: The with_token of this UpdateWebhookRequest.  # noqa: E501
        :rtype: bool
        r   r"   s    r   r   zUpdateWebhookRequest.with_token   s     r    c                     || _         dS )zSets the with_token of this UpdateWebhookRequest.


        :param with_token: The with_token of this UpdateWebhookRequest.  # noqa: E501
        :type: bool
        Nr2   )r   r   s     r   r   zUpdateWebhookRequest.with_token   s     &r    c                 4   i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   t          t          t                    r| 
                                D ]
\  }}|||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrr6   )xs    r   <lambda>z.UpdateWebhookRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r6   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r6   r   r7   )items    r   r:   z.UpdateWebhookRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r    )six	iteritemsswagger_typesgetattr
isinstancelistmapr8   r6   dictitems
issubclassr   )r   resultattr_valuekeys         r   r6   zUpdateWebhookRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t*D11 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr6   r"   s    r   to_strzUpdateWebhookRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rP   r"   s    r   __repr__zUpdateWebhookRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrB   r   r6   r   others     r   __eq__zUpdateWebhookRequest.__eq__   s5    %!566 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrT   rU   s     r   __ne__zUpdateWebhookRequest.__ne__   s5    %!566 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__r@   attribute_mapr   propertyr   setterr	   r
   r   r   r   r6   rP   rR   rW   rY    r    r   r   r      s        
  M ! M) ) ) ).   X Y
 
 Y
   X 
[
 
 [
   X \  \   X 
[
 
 [
   X 	Z
 
 Z
     X  & & &  6. . .  1 1 11 1 1 1 1r    r   )r]   rN   rer>   volcenginesdkcore.configurationr   objectr   ra   r    r   <module>re      s|      				 



 9 9 9 9 9 9k1 k1 k1 k1 k16 k1 k1 k1 k1 k1r    