
    ~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 )a  
    advdefence20230308

    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 ) UpdateFwdRuleRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    intstrz	list[str])fwd_portinstance_ipprotosrc_ip_listsrc_porttime_outFwdPort
InstanceIpProto	SrcIpListSrcPortTimeOutNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        || _	        || _
        || _        ||| _        || _        || _        dS )z1UpdateFwdRuleRequest - a model defined in SwaggerN)r   _configuration	_fwd_port_instance_ip_proto_src_ip_list	_src_port	_time_out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/volcenginesdkadvdefence20230308/models/update_fwd_rule_request.py__init__zUpdateFwdRuleRequest.__init__5   s    !*__N,  ! &
"*D      c                     | j         S )zGets the fwd_port of this UpdateFwdRuleRequest.  # noqa: E501


        :return: The fwd_port of this UpdateFwdRuleRequest.  # noqa: E501
        :rtype: int
        )r   r   s    r   r   zUpdateFwdRuleRequest.fwd_portK        ~r    c                 N    | j         j        r|t          d          || _        dS )zSets the fwd_port of this UpdateFwdRuleRequest.


        :param fwd_port: The fwd_port of this UpdateFwdRuleRequest.  # noqa: E501
        :type: int
        Nz0Invalid value for `fwd_port`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zUpdateFwdRuleRequest.fwd_portU   2     5 	Q(:JOPPP!r    c                     | j         S )zGets the instance_ip of this UpdateFwdRuleRequest.  # noqa: E501


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


        :param instance_ip: The instance_ip of this UpdateFwdRuleRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `instance_ip`, must not be `None`)r   r%   r&   r   )r   r	   s     r   r	   z UpdateFwdRuleRequest.instance_ipl   s5     5 	T+:MRSSS'r    c                     | j         S )zGets the proto of this UpdateFwdRuleRequest.  # noqa: E501


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


        :param proto: The proto of this UpdateFwdRuleRequest.  # noqa: E501
        :type: str
        Nz-Invalid value for `proto`, must not be `None`)r   r%   r&   r   )r   r
   s     r   r
   zUpdateFwdRuleRequest.proto   s1     5 	N%-LMMMr    c                     | j         S )zGets the src_ip_list of this UpdateFwdRuleRequest.  # noqa: E501


        :return: The src_ip_list of this UpdateFwdRuleRequest.  # noqa: E501
        :rtype: list[str]
        r   r"   s    r   r   z UpdateFwdRuleRequest.src_ip_list   r)   r    c                     || _         dS )zSets the src_ip_list of this UpdateFwdRuleRequest.


        :param src_ip_list: The src_ip_list of this UpdateFwdRuleRequest.  # noqa: E501
        :type: list[str]
        Nr.   )r   r   s     r   r   z UpdateFwdRuleRequest.src_ip_list   s     (r    c                     | j         S )zGets the src_port of this UpdateFwdRuleRequest.  # noqa: E501


        :return: The src_port of this UpdateFwdRuleRequest.  # noqa: E501
        :rtype: int
        )r   r"   s    r   r   zUpdateFwdRuleRequest.src_port   r#   r    c                 N    | j         j        r|t          d          || _        dS )zSets the src_port of this UpdateFwdRuleRequest.


        :param src_port: The src_port of this UpdateFwdRuleRequest.  # noqa: E501
        :type: int
        Nz0Invalid value for `src_port`, must not be `None`)r   r%   r&   r   )r   r   s     r   r   zUpdateFwdRuleRequest.src_port   r'   r    c                     | j         S )zGets the time_out of this UpdateFwdRuleRequest.  # noqa: E501


        :return: The time_out of this UpdateFwdRuleRequest.  # noqa: E501
        :rtype: int
        )r   r"   s    r   r   zUpdateFwdRuleRequest.time_out   r#   r    c                 N    | j         j        r|t          d          || _        dS )zSets the time_out of this UpdateFwdRuleRequest.


        :param time_out: The time_out of this UpdateFwdRuleRequest.  # noqa: E501
        :type: int
        Nz0Invalid value for `time_out`, must not be `None`)r   r%   r&   r   )r   r   s     r   r   zUpdateFwdRuleRequest.time_out   r'   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.UpdateFwdRuleRequest.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.UpdateFwdRuleRequest.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UpdateFwdRuleRequest.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UpdateFwdRuleRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rP   r"   s    r   __repr__zUpdateFwdRuleRequest.__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UpdateFwdRuleRequest.__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UpdateFwdRuleRequest.__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 _
" 
" _
" ! ! X! 
( 
( 
(   X \
 
 \
 ! ! X! ( ( (   X _
" 
" _
"   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l1 l1 l1 l1 l16 l1 l1 l1 l1 l1r    