
    ~iJ(                     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
    natgateway

    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ddZdd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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 )$CreateDnatEntryRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    str)dnat_entry_nameexternal_ipexternal_portinternal_ipinternal_portnat_gateway_id	port_typeprotocolDnatEntryName
ExternalIpExternalPort
InternalIpInternalPortNatGatewayIdPortTypeProtocolNc
                 *   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        || _        || _        || _        || _        || _        ||| _        || _        dS )z3CreateDnatEntryRequest - a model defined in SwaggerN)r   _configuration_dnat_entry_name_external_ip_external_port_internal_ip_internal_port_nat_gateway_id
_port_type	_protocoldiscriminatorr   r   r	   r
   r   r   r   r   )
selfr   r   r	   r
   r   r   r   r   r   s
             /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdknatgateway/models/create_dnat_entry_request.py__init__zCreateDnatEntryRequest.__init__9   s    !*__N, $ " "#!&#2D &*&*, &DN     c                     | j         S )zGets the dnat_entry_name of this CreateDnatEntryRequest.  # noqa: E501


        :return: The dnat_entry_name of this CreateDnatEntryRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r#   r   z&CreateDnatEntryRequest.dnat_entry_nameT   s     $$r%   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the dnat_entry_name of this CreateDnatEntryRequest.


        :param dnat_entry_name: The dnat_entry_name of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        N   zOInvalid value for `dnat_entry_name`, length must be less than or equal to `128`   zPInvalid value for `dnat_entry_name`, length must be greater than or equal to `1`)r   client_side_validationlen
ValueErrorr   )r"   r   s     r#   r   z&CreateDnatEntryRequest.dnat_entry_name^   s~     6 	p+O0D0Ds0J0Jnooo6 	q+O0D0Dq0H0Hoppp /r%   c                     | j         S )zGets the external_ip of this CreateDnatEntryRequest.  # noqa: E501


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


        :param external_ip: The external_ip of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `external_ip`, must not be `None`)r   r+   r-   r   )r"   r   s     r#   r   z"CreateDnatEntryRequest.external_ipy   5     5 	T+:MRSSS'r%   c                     | j         S )zGets the external_port of this CreateDnatEntryRequest.  # noqa: E501


        :return: The external_port of this CreateDnatEntryRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r#   r	   z$CreateDnatEntryRequest.external_port        ""r%   c                 N    | j         j        r|t          d          || _        dS )zSets the external_port of this CreateDnatEntryRequest.


        :param external_port: The external_port of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        Nz5Invalid value for `external_port`, must not be `None`)r   r+   r-   r   )r"   r	   s     r#   r	   z$CreateDnatEntryRequest.external_port   5     5 	V-:OTUUU+r%   c                     | j         S )zGets the internal_ip of this CreateDnatEntryRequest.  # noqa: E501


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


        :param internal_ip: The internal_ip of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `internal_ip`, must not be `None`)r   r+   r-   r   )r"   r
   s     r#   r
   z"CreateDnatEntryRequest.internal_ip   r1   r%   c                     | j         S )zGets the internal_port of this CreateDnatEntryRequest.  # noqa: E501


        :return: The internal_port of this CreateDnatEntryRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r#   r   z$CreateDnatEntryRequest.internal_port   r3   r%   c                 N    | j         j        r|t          d          || _        dS )zSets the internal_port of this CreateDnatEntryRequest.


        :param internal_port: The internal_port of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        Nz5Invalid value for `internal_port`, must not be `None`)r   r+   r-   r   )r"   r   s     r#   r   z$CreateDnatEntryRequest.internal_port   r5   r%   c                     | j         S )zGets the nat_gateway_id of this CreateDnatEntryRequest.  # noqa: E501


        :return: The nat_gateway_id of this CreateDnatEntryRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r#   r   z%CreateDnatEntryRequest.nat_gateway_id   s     ##r%   c                 N    | j         j        r|t          d          || _        dS )zSets the nat_gateway_id of this CreateDnatEntryRequest.


        :param nat_gateway_id: The nat_gateway_id of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        Nz6Invalid value for `nat_gateway_id`, must not be `None`)r   r+   r-   r   )r"   r   s     r#   r   z%CreateDnatEntryRequest.nat_gateway_id   s5     5 	W.:PUVVV-r%   c                     | j         S )zGets the port_type of this CreateDnatEntryRequest.  # noqa: E501


        :return: The port_type of this CreateDnatEntryRequest.  # noqa: E501
        :rtype: str
        r   r'   s    r#   r   z CreateDnatEntryRequest.port_type   s     r%   c                     || _         dS )zSets the port_type of this CreateDnatEntryRequest.


        :param port_type: The port_type of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        Nr=   )r"   r   s     r#   r   z CreateDnatEntryRequest.port_type   s     $r%   c                     | j         S )zGets the protocol of this CreateDnatEntryRequest.  # noqa: E501


        :return: The protocol of this CreateDnatEntryRequest.  # noqa: E501
        :rtype: str
        )r    r'   s    r#   r   zCreateDnatEntryRequest.protocol   s     ~r%   c                 N    | j         j        r|t          d          || _        dS )zSets the protocol of this CreateDnatEntryRequest.


        :param protocol: The protocol of this CreateDnatEntryRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `protocol`, must not be `None`)r   r+   r-   r    )r"   r   s     r#   r   zCreateDnatEntryRequest.protocol  s2     5 	Q(:JOPPP!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hasattrrC   )xs    r#   <lambda>z0CreateDnatEntryRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r%   rC   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr*   rC   r   rD   )items    r#   rG   z0CreateDnatEntryRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r%   )six	iteritemsswagger_typesgetattr
isinstancelistmaprE   rC   dictitems
issubclassr   )r"   resultattr_valuekeys         r#   rC   zCreateDnatEntryRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t,d33 	$"jjll $ $
U#sr%   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrC   r'   s    r#   to_strzCreateDnatEntryRequest.to_str)  s    ~dllnn---r%   c                 *    |                                  S )zFor `print` and `pprint`)r\   r'   s    r#   __repr__zCreateDnatEntryRequest.__repr__-  s    {{}}r%   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrN   r   rC   r"   others     r#   __eq__zCreateDnatEntryRequest.__eq__1  s5    %!788 	5||~~00r%   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr`   ra   s     r#   __ne__zCreateDnatEntryRequest.__ne__8  s5    %!788 	4||~~00r%   )	NNNNNNNNN)__name__
__module____qualname____doc__rL   attribute_mapr$   propertyr   setterr   r	   r
   r   r   r   r   rC   r\   r^   rc   re    r%   r#   r   r      s        
 !	 	M +#'#'(	 	M! ! ! !6 % % X% 0 0 0  ! ! X! 
( 
( 
( # # X# 
, 
, 
, ! ! X! 
( 
( 
( # # X# 
, 
, 
, $ $ X$ 
. 
. 
.   X $ $ $   X _
" 
" _
"  6. . .  1 1 11 1 1 1 1r%   r   )ri   rZ   rerJ   volcenginesdkcore.configurationr   objectr   rm   r%   r#   <module>rq      s|      				 



 9 9 9 9 9 9g1 g1 g1 g1 g1V g1 g1 g1 g1 g1r%   