
    ~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
    advdefence

    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	 i dddddddddddd	d
ddddddddddddddd	ddddddddddd	d	dddZi ddddddddddddd
ddd dd!dd"dd#dd$dd%dd&dd'dd(dd)d*d+d,d-d.d/d0d1dZdkd3Zed4             Zej	        d5             Zed6             Z
e
j	        d7             Z
ed8             Zej	        d9             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	        dA             ZedB             Zej	        dC             ZedD             Zej	        dE             ZedF             Zej	        dG             ZedH             Zej	        dI             ZedJ             Zej	        dK             ZedL             Zej	        dM             ZedN             Zej	        dO             ZedP             Zej	        dQ             ZedR             Zej	        dS             ZedT             Zej	        dU             ZedV             Zej	        dW             ZedX             Zej	        dY             ZedZ             Zej	        d[             Zed\             Zej	        d]             Zed^             Zej	        d_             Zed`             Zej	        da             Zedb             Z e j	        dc             Z edd             Z!e!j	        de             Z!df Z"dg Z#dh Z$di Z%dj Z&d2S )lAddHostRuleRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    access_modeintall_ssl_cipherback_up_status
chunk_modeclient_max_body_sizedef_ipz	list[str]	gzip_modehoststrhttp2keep_alive_requestskeep_alive_time_outlb_algorithmproto_follow	protocolsproxy_connect_time_outproxy_keep_alive_requestsproxy_keep_alive_time_outz'list[ProxySetHeaderForAddHostRuleInput]ServersForAddHostRuleInput)proxy_read_time_outproxy_retryproxy_send_time_outproxy_set_headerssl_ciphersssl_protocolsserversuser_cert_id
AccessModeAllSSLCipherBackUpStatus	ChunkModeClientMaxBodySizeDefIpGzipModeHostHttp2KeepAliveRequestsKeepAliveTimeOutLBAlgorithmProtoFollow	ProtocolsProxyConnectTimeOutProxyKeepAliveRequestsProxyKeepAliveTimeOutProxyReadTimeOut
ProxyRetryProxySendTimeOutProxySetHeader
SSLCiphersSSLProtocolsServers
UserCertIdNc                 Z   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        || _        ||| _        ||| _        ||| _        ||| _         ||| _!        ||| _"        || _#        |	|	| _$        |
|
| _%        ||| _&        || _'        ||| _(        ||| _)        ||| _*        ||| _+        ||| _,        ||| _-        ||| _.        ||| _/        ||| _0        ||| _1        ||| _2        ||| _3        |	|| _4        dS dS )z/AddHostRuleRequest - a model defined in SwaggerN)5r   _configuration_access_mode_all_ssl_cipher_back_up_status_chunk_mode_client_max_body_size_def_ip
_gzip_mode_host_http2_keep_alive_requests_keep_alive_time_out_lb_algorithm_proto_follow
_protocols_proxy_connect_time_out_proxy_keep_alive_requests_proxy_keep_alive_time_out_proxy_read_time_out_proxy_retry_proxy_send_time_out_proxy_set_header_ssl_ciphers_ssl_protocols_servers_user_cert_iddiscriminatorr   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   )selfr   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r<   s                              }/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkadvdefence/models/add_host_rule_request.py__init__zAddHostRuleRequest.__init__[   s6   !*__N, ##%)"
$(!$(!!!'+$*.'*.'$(! $(!!% "!!&%"0D%"0D!(DO+(<D% DK &DN	DJ*':D$*':D$(# ,D &DN!-*@D'$0-FD*$0-FD**':D$"*D*':D$'$4D!"*D$!.D"DL# ,D $#    c                     | j         S )zGets the access_mode of this AddHostRuleRequest.  # noqa: E501


        :return: The access_mode of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        )r=   rW   s    rX   r   zAddHostRuleRequest.access_mode          rZ   c                 N    | j         j        r|t          d          || _        dS )zSets the access_mode of this AddHostRuleRequest.


        :param access_mode: The access_mode of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nz3Invalid value for `access_mode`, must not be `None`)r<   client_side_validation
ValueErrorr=   )rW   r   s     rX   r   zAddHostRuleRequest.access_mode   s5     5 	T+:MRSSS'rZ   c                     | j         S )zGets the all_ssl_cipher of this AddHostRuleRequest.  # noqa: E501


        :return: The all_ssl_cipher of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        r>   r\   s    rX   r   z!AddHostRuleRequest.all_ssl_cipher        ##rZ   c                     || _         dS )zSets the all_ssl_cipher of this AddHostRuleRequest.


        :param all_ssl_cipher: The all_ssl_cipher of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nrb   )rW   r   s     rX   r   z!AddHostRuleRequest.all_ssl_cipher         .rZ   c                     | j         S )zGets the back_up_status of this AddHostRuleRequest.  # noqa: E501


        :return: The back_up_status of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        r?   r\   s    rX   r	   z!AddHostRuleRequest.back_up_status   rc   rZ   c                     || _         dS )zSets the back_up_status of this AddHostRuleRequest.


        :param back_up_status: The back_up_status of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nrg   )rW   r	   s     rX   r	   z!AddHostRuleRequest.back_up_status   re   rZ   c                     | j         S )zGets the chunk_mode of this AddHostRuleRequest.  # noqa: E501


        :return: The chunk_mode of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        r@   r\   s    rX   r
   zAddHostRuleRequest.chunk_mode   s     rZ   c                     || _         dS )zSets the chunk_mode of this AddHostRuleRequest.


        :param chunk_mode: The chunk_mode of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nrj   )rW   r
   s     rX   r
   zAddHostRuleRequest.chunk_mode   s     &rZ   c                     | j         S )zGets the client_max_body_size of this AddHostRuleRequest.  # noqa: E501


        :return: The client_max_body_size of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rA   r\   s    rX   r   z'AddHostRuleRequest.client_max_body_size  s     ))rZ   c                     || _         dS )zSets the client_max_body_size of this AddHostRuleRequest.


        :param client_max_body_size: The client_max_body_size of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nrm   )rW   r   s     rX   r   z'AddHostRuleRequest.client_max_body_size  s     &:"""rZ   c                     | j         S )zGets the def_ip of this AddHostRuleRequest.  # noqa: E501


        :return: The def_ip of this AddHostRuleRequest.  # noqa: E501
        :rtype: list[str]
        rB   r\   s    rX   r   zAddHostRuleRequest.def_ip  s     |rZ   c                     || _         dS )zSets the def_ip of this AddHostRuleRequest.


        :param def_ip: The def_ip of this AddHostRuleRequest.  # noqa: E501
        :type: list[str]
        Nrp   )rW   r   s     rX   r   zAddHostRuleRequest.def_ip!  s     rZ   c                     | j         S )zGets the gzip_mode of this AddHostRuleRequest.  # noqa: E501


        :return: The gzip_mode of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rC   r\   s    rX   r   zAddHostRuleRequest.gzip_mode,       rZ   c                     || _         dS )zSets the gzip_mode of this AddHostRuleRequest.


        :param gzip_mode: The gzip_mode of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nrs   )rW   r   s     rX   r   zAddHostRuleRequest.gzip_mode6       $rZ   c                     | j         S )zGets the host of this AddHostRuleRequest.  # noqa: E501


        :return: The host of this AddHostRuleRequest.  # noqa: E501
        :rtype: str
        )rD   r\   s    rX   r   zAddHostRuleRequest.hostA  s     zrZ   c                 N    | j         j        r|t          d          || _        dS )zSets the host of this AddHostRuleRequest.


        :param host: The host of this AddHostRuleRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `host`, must not be `None`)r<   r_   r`   rD   )rW   r   s     rX   r   zAddHostRuleRequest.hostK  s1     5 	M$,KLLL


rZ   c                     | j         S )zGets the http2 of this AddHostRuleRequest.  # noqa: E501


        :return: The http2 of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rE   r\   s    rX   r   zAddHostRuleRequest.http2X  s     {rZ   c                     || _         dS )zSets the http2 of this AddHostRuleRequest.


        :param http2: The http2 of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nrz   )rW   r   s     rX   r   zAddHostRuleRequest.http2b  s     rZ   c                     | j         S )zGets the keep_alive_requests of this AddHostRuleRequest.  # noqa: E501


        :return: The keep_alive_requests of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rF   r\   s    rX   r   z&AddHostRuleRequest.keep_alive_requestsm       ((rZ   c                     || _         dS )zSets the keep_alive_requests of this AddHostRuleRequest.


        :param keep_alive_requests: The keep_alive_requests of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr}   )rW   r   s     rX   r   z&AddHostRuleRequest.keep_alive_requestsw       %8!!!rZ   c                     | j         S )zGets the keep_alive_time_out of this AddHostRuleRequest.  # noqa: E501


        :return: The keep_alive_time_out of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rG   r\   s    rX   r   z&AddHostRuleRequest.keep_alive_time_out  r~   rZ   c                     || _         dS )zSets the keep_alive_time_out of this AddHostRuleRequest.


        :param keep_alive_time_out: The keep_alive_time_out of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   z&AddHostRuleRequest.keep_alive_time_out  r   rZ   c                     | j         S )zGets the lb_algorithm of this AddHostRuleRequest.  # noqa: E501


        :return: The lb_algorithm of this AddHostRuleRequest.  # noqa: E501
        :rtype: str
        )rH   r\   s    rX   r   zAddHostRuleRequest.lb_algorithm       !!rZ   c                 N    | j         j        r|t          d          || _        dS )zSets the lb_algorithm of this AddHostRuleRequest.


        :param lb_algorithm: The lb_algorithm of this AddHostRuleRequest.  # noqa: E501
        :type: str
        Nz4Invalid value for `lb_algorithm`, must not be `None`)r<   r_   r`   rH   )rW   r   s     rX   r   zAddHostRuleRequest.lb_algorithm  s5     5 	U,:NSTTT)rZ   c                     | j         S )zGets the proto_follow of this AddHostRuleRequest.  # noqa: E501


        :return: The proto_follow of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rI   r\   s    rX   r   zAddHostRuleRequest.proto_follow  r   rZ   c                     || _         dS )zSets the proto_follow of this AddHostRuleRequest.


        :param proto_follow: The proto_follow of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   zAddHostRuleRequest.proto_follow       *rZ   c                     | j         S )zGets the protocols of this AddHostRuleRequest.  # noqa: E501


        :return: The protocols of this AddHostRuleRequest.  # noqa: E501
        :rtype: list[str]
        rJ   r\   s    rX   r   zAddHostRuleRequest.protocols  rt   rZ   c                     || _         dS )zSets the protocols of this AddHostRuleRequest.


        :param protocols: The protocols of this AddHostRuleRequest.  # noqa: E501
        :type: list[str]
        Nr   )rW   r   s     rX   r   zAddHostRuleRequest.protocols  rv   rZ   c                     | j         S )zGets the proxy_connect_time_out of this AddHostRuleRequest.  # noqa: E501


        :return: The proxy_connect_time_out of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rK   r\   s    rX   r   z)AddHostRuleRequest.proxy_connect_time_out  s     ++rZ   c                     || _         dS )zSets the proxy_connect_time_out of this AddHostRuleRequest.


        :param proxy_connect_time_out: The proxy_connect_time_out of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   z)AddHostRuleRequest.proxy_connect_time_out  s     (>$$$rZ   c                     | j         S )zGets the proxy_keep_alive_requests of this AddHostRuleRequest.  # noqa: E501


        :return: The proxy_keep_alive_requests of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rL   r\   s    rX   r   z,AddHostRuleRequest.proxy_keep_alive_requests       ..rZ   c                     || _         dS )zSets the proxy_keep_alive_requests of this AddHostRuleRequest.


        :param proxy_keep_alive_requests: The proxy_keep_alive_requests of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   z,AddHostRuleRequest.proxy_keep_alive_requests       +D'''rZ   c                     | j         S )zGets the proxy_keep_alive_time_out of this AddHostRuleRequest.  # noqa: E501


        :return: The proxy_keep_alive_time_out of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rM   r\   s    rX   r   z,AddHostRuleRequest.proxy_keep_alive_time_out  r   rZ   c                     || _         dS )zSets the proxy_keep_alive_time_out of this AddHostRuleRequest.


        :param proxy_keep_alive_time_out: The proxy_keep_alive_time_out of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   z,AddHostRuleRequest.proxy_keep_alive_time_out  r   rZ   c                     | j         S )zGets the proxy_read_time_out of this AddHostRuleRequest.  # noqa: E501


        :return: The proxy_read_time_out of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rN   r\   s    rX   r   z&AddHostRuleRequest.proxy_read_time_out  r~   rZ   c                     || _         dS )zSets the proxy_read_time_out of this AddHostRuleRequest.


        :param proxy_read_time_out: The proxy_read_time_out of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   z&AddHostRuleRequest.proxy_read_time_out!  r   rZ   c                     | j         S )zGets the proxy_retry of this AddHostRuleRequest.  # noqa: E501


        :return: The proxy_retry of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rO   r\   s    rX   r   zAddHostRuleRequest.proxy_retry,  r]   rZ   c                     || _         dS )zSets the proxy_retry of this AddHostRuleRequest.


        :param proxy_retry: The proxy_retry of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   zAddHostRuleRequest.proxy_retry6       (rZ   c                     | j         S )zGets the proxy_send_time_out of this AddHostRuleRequest.  # noqa: E501


        :return: The proxy_send_time_out of this AddHostRuleRequest.  # noqa: E501
        :rtype: int
        rP   r\   s    rX   r   z&AddHostRuleRequest.proxy_send_time_outA  r~   rZ   c                     || _         dS )zSets the proxy_send_time_out of this AddHostRuleRequest.


        :param proxy_send_time_out: The proxy_send_time_out of this AddHostRuleRequest.  # noqa: E501
        :type: int
        Nr   )rW   r   s     rX   r   z&AddHostRuleRequest.proxy_send_time_outK  r   rZ   c                     | j         S )zGets the proxy_set_header of this AddHostRuleRequest.  # noqa: E501


        :return: The proxy_set_header of this AddHostRuleRequest.  # noqa: E501
        :rtype: list[ProxySetHeaderForAddHostRuleInput]
        rQ   r\   s    rX   r   z#AddHostRuleRequest.proxy_set_headerV  s     %%rZ   c                     || _         dS )zSets the proxy_set_header of this AddHostRuleRequest.


        :param proxy_set_header: The proxy_set_header of this AddHostRuleRequest.  # noqa: E501
        :type: list[ProxySetHeaderForAddHostRuleInput]
        Nr   )rW   r   s     rX   r   z#AddHostRuleRequest.proxy_set_header`  s     "2rZ   c                     | j         S )zGets the ssl_ciphers of this AddHostRuleRequest.  # noqa: E501


        :return: The ssl_ciphers of this AddHostRuleRequest.  # noqa: E501
        :rtype: list[str]
        rR   r\   s    rX   r   zAddHostRuleRequest.ssl_ciphersk  r]   rZ   c                     || _         dS )zSets the ssl_ciphers of this AddHostRuleRequest.


        :param ssl_ciphers: The ssl_ciphers of this AddHostRuleRequest.  # noqa: E501
        :type: list[str]
        Nr   )rW   r   s     rX   r   zAddHostRuleRequest.ssl_ciphersu  r   rZ   c                     | j         S )zGets the ssl_protocols of this AddHostRuleRequest.  # noqa: E501


        :return: The ssl_protocols of this AddHostRuleRequest.  # noqa: E501
        :rtype: list[str]
        rS   r\   s    rX   r   z AddHostRuleRequest.ssl_protocols  s     ""rZ   c                     || _         dS )zSets the ssl_protocols of this AddHostRuleRequest.


        :param ssl_protocols: The ssl_protocols of this AddHostRuleRequest.  # noqa: E501
        :type: list[str]
        Nr   )rW   r   s     rX   r   z AddHostRuleRequest.ssl_protocols  s     ,rZ   c                     | j         S )zGets the servers of this AddHostRuleRequest.  # noqa: E501


        :return: The servers of this AddHostRuleRequest.  # noqa: E501
        :rtype: ServersForAddHostRuleInput
        rT   r\   s    rX   r    zAddHostRuleRequest.servers  s     }rZ   c                     || _         dS )zSets the servers of this AddHostRuleRequest.


        :param servers: The servers of this AddHostRuleRequest.  # noqa: E501
        :type: ServersForAddHostRuleInput
        Nr   )rW   r    s     rX   r    zAddHostRuleRequest.servers  s      rZ   c                     | j         S )zGets the user_cert_id of this AddHostRuleRequest.  # noqa: E501


        :return: The user_cert_id of this AddHostRuleRequest.  # noqa: E501
        :rtype: str
        rU   r\   s    rX   r!   zAddHostRuleRequest.user_cert_id  r   rZ   c                     || _         dS )zSets the user_cert_id of this AddHostRuleRequest.


        :param user_cert_id: The user_cert_id of this AddHostRuleRequest.  # noqa: E501
        :type: str
        Nr   )rW   r!   s     rX   r!   zAddHostRuleRequest.user_cert_id  r   rZ   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hasattrr   )xs    rX   <lambda>z,AddHostRuleRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk rZ   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    rX   r   z,AddHostRuleRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< rZ   )six	iteritemsswagger_typesgetattr
isinstancelistmapr   r   dictitems
issubclassr   )rW   resultattr_valuekeys         rX   r   zAddHostRuleRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t($// 	$"jjll $ $
U#srZ   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   r\   s    rX   to_strzAddHostRuleRequest.to_str  s    ~dllnn---rZ   c                 *    |                                  S )zFor `print` and `pprint`)r   r\   s    rX   __repr__zAddHostRuleRequest.__repr__  s    {{}}rZ   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r   rW   others     rX   __eq__zAddHostRuleRequest.__eq__  s5    %!344 	5||~~00rZ   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     rX   __ne__zAddHostRuleRequest.__ne__  s5    %!344 	4||~~00rZ   )NNNNNNNNNNNNNNNNNNNNNNNNNN)'__name__
__module____qualname____doc__r   attribute_maprY   propertyr   setterr   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r   r   r   r   r    rZ   rX   r   r      s%        
u% 	% 	e	
 	 	+ 	U 	 	 	u 	u 	 	 	[ 	!%  	$U!" 	$U#$  %$E"$/3  M8|. 	. 	k	
 	 3 	' 	Z 	 	 	2 	1 	 	 	[ 	!"7  	$%=!" 	$%<#$  2#1,#'$3  M8O- O- O- O-b ! ! X! 
( 
( 
( $ $ X$ . . . $ $ X$ . . .     X  & & & * * X*  : : ! :   X ]  ]   X $ $ $   X 
[
 
 [
   X \  \ ) ) X) 8 8  8 ) ) X) 8 8  8 " " X" 
* 
* 
* " " X" * * *   X $ $ $ , , X, "> > #"> / / X/ %D D &%D / / X/ %D D &%D ) ) X) 8 8  8 ! ! X! ( ( ( ) ) X) 8 8  8 & & X& 2 2 2 ! ! X! ( ( ( # # X# , , ,   X ^    ^  " " X" * * *  6. . .  1 1 11 1 1 1 1rZ   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   rZ   rX   <module>r      s|      				 



 9 9 9 9 9 9X1 X1 X1 X1 X1 X1 X1 X1 X1 X1rZ   