
    ~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
    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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 )CreateSnatEntryRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    str)eip_idnat_gateway_id	nat_ip_idsnat_entry_namesource_cidr	subnet_idEipIdNatGatewayIdNatIpIdSnatEntryName
SourceCidrSubnetIdNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _	        || _
        ||| _        ||| _        ||| _        |	|| _        dS dS )z3CreateSnatEntryRequest - a model defined in SwaggerN)r   _configuration_eip_id_nat_gateway_id
_nat_ip_id_snat_entry_name_source_cidr
_subnet_id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/volcenginesdknatgateway/models/create_snat_entry_request.py__init__zCreateSnatEntryRequest.__init__5   s    !*__N,# $ ! DK, &DN&#2D "*D &DNNN !     c                     | j         S )zGets the eip_id of this CreateSnatEntryRequest.  # noqa: E501


        :return: The eip_id of this CreateSnatEntryRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   zCreateSnatEntryRequest.eip_idO   s     |r   c                     || _         dS )zSets the eip_id of this CreateSnatEntryRequest.


        :param eip_id: The eip_id of this CreateSnatEntryRequest.  # noqa: E501
        :type: str
        Nr!   )r   r   s     r   r   zCreateSnatEntryRequest.eip_idY   s     r   c                     | j         S )zGets the nat_gateway_id of this CreateSnatEntryRequest.  # noqa: E501


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


        :param nat_gateway_id: The nat_gateway_id of this CreateSnatEntryRequest.  # noqa: E501
        :type: str
        Nz6Invalid value for `nat_gateway_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z%CreateSnatEntryRequest.nat_gateway_idn   s5     5 	W.:PUVVV-r   c                     | j         S )zGets the nat_ip_id of this CreateSnatEntryRequest.  # noqa: E501


        :return: The nat_ip_id of this CreateSnatEntryRequest.  # noqa: E501
        :rtype: str
        r   r"   s    r   r	   z CreateSnatEntryRequest.nat_ip_id{        r   c                     || _         dS )zSets the nat_ip_id of this CreateSnatEntryRequest.


        :param nat_ip_id: The nat_ip_id of this CreateSnatEntryRequest.  # noqa: E501
        :type: str
        Nr)   )r   r	   s     r   r	   z CreateSnatEntryRequest.nat_ip_id        $r   c                     | j         S )zGets the snat_entry_name of this CreateSnatEntryRequest.  # noqa: E501


        :return: The snat_entry_name of this CreateSnatEntryRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r
   z&CreateSnatEntryRequest.snat_entry_name   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 snat_entry_name of this CreateSnatEntryRequest.


        :param snat_entry_name: The snat_entry_name of this CreateSnatEntryRequest.  # noqa: E501
        :type: str
        N   zOInvalid value for `snat_entry_name`, length must be less than or equal to `128`   zPInvalid value for `snat_entry_name`, length must be greater than or equal to `1`)r   r&   lenr'   r   )r   r
   s     r   r
   z&CreateSnatEntryRequest.snat_entry_name   s~     6 	p+O0D0Ds0J0Jnooo6 	q+O0D0Dq0H0Hoppp /r   c                     | j         S )zGets the source_cidr of this CreateSnatEntryRequest.  # noqa: E501


        :return: The source_cidr of this CreateSnatEntryRequest.  # noqa: E501
        :rtype: str
        r   r"   s    r   r   z"CreateSnatEntryRequest.source_cidr   s       r   c                     || _         dS )zSets the source_cidr of this CreateSnatEntryRequest.


        :param source_cidr: The source_cidr of this CreateSnatEntryRequest.  # noqa: E501
        :type: str
        Nr3   )r   r   s     r   r   z"CreateSnatEntryRequest.source_cidr   s     (r   c                     | j         S )zGets the subnet_id of this CreateSnatEntryRequest.  # noqa: E501


        :return: The subnet_id of this CreateSnatEntryRequest.  # noqa: E501
        :rtype: str
        r   r"   s    r   r   z CreateSnatEntryRequest.subnet_id   r*   r   c                     || _         dS )zSets the subnet_id of this CreateSnatEntryRequest.


        :param subnet_id: The subnet_id of this CreateSnatEntryRequest.  # noqa: E501
        :type: str
        Nr6   )r   r   s     r   r   z CreateSnatEntryRequest.subnet_id   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hasattrr:   )xs    r   <lambda>z0CreateSnatEntryRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r:   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr0   r:   r   r;   )items    r   r>   z0CreateSnatEntryRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr<   r:   dictitems
issubclassr   )r   resultattr_valuekeys         r   r:   zCreateSnatEntryRequest.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pformatr:   r"   s    r   to_strzCreateSnatEntryRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rS   r"   s    r   __repr__zCreateSnatEntryRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrE   r   r:   r   others     r   __eq__zCreateSnatEntryRequest.__eq__   s5    %!788 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrW   rX   s     r   __ne__zCreateSnatEntryRequest.__ne__   s5    %!788 	4||~~00r   )NNNNNNN)__name__
__module____qualname____doc__rC   attribute_mapr   propertyr   setterr   r	   r
   r   r   r:   rS   rU   rZ   r\    r   r   r   r      s        
   M (*# M' ' ' '4   X ]  ] $ $ X$ 
. 
. 
.   X $ $ $ % % X% 0 0 0  ! ! X! ( ( (   X $ $ $  6. . .  1 1 11 1 1 1 1r   r   )r`   rQ   rerA   volcenginesdkcore.configurationr   objectr   rd   r   r   <module>rh      s|      				 



 9 9 9 9 9 9n1 n1 n1 n1 n1V n1 n1 n1 n1 n1r   