
    ~i(7                     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                   8   e Zd ZdZ	 ddddddddddddddZddd	d
ddddddddddZd5d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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d0 Zd1 Zd2 Zd3 Zd4 ZdS )6CreateNatGatewayRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    intstrboolz!list[TagForCreateNatGatewayInput])billing_typeclient_tokendescriptiondirect_modenat_gateway_namenetwork_typeperiodperiod_unitproject_namespec	subnet_idtagsvpc_idBillingTypeClientTokenDescription
DirectModeNatGatewayNameNetworkTypePeriod
PeriodUnitProjectNameSpecSubnetIdTagsVpcIdNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _        ||| _        || _        dS )z4CreateNatGatewayRequest - a model defined in SwaggerN)r   _configuration_billing_type_client_token_description_direct_mode_nat_gateway_name_network_type_period_period_unit_project_name_spec
_subnet_id_tags_vpc_iddiscriminatorr	   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$   s                  /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdknatgateway/models/create_nat_gateway_request.py__init__z CreateNatGatewayRequest.__init__C   s3   !*__N,!!  !%! !

!# ,D# ,D"*D"*D'$4D!# ,D DK"*D# ,DDI &DNDI    c                     | j         S )zGets the billing_type of this CreateNatGatewayRequest.  # noqa: E501


        :return: The billing_type of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: int
        )r%   r3   s    r4   r	   z$CreateNatGatewayRequest.billing_typer        !!r6   c                     | j         j        r||dk    rt          d          | j         j        r||dk     rt          d          || _        dS )zSets the billing_type of this CreateNatGatewayRequest.


        :param billing_type: The billing_type of this CreateNatGatewayRequest.  # noqa: E501
        :type: int
        N   zKInvalid value for `billing_type`, must be a value less than or equal to `3`   zNInvalid value for `billing_type`, must be a value greater than or equal to `1`)r$   client_side_validation
ValueErrorr%   )r3   r	   s     r4   r	   z$CreateNatGatewayRequest.billing_type|   sn     6 	l(\A-=-=jkkk6 	o(\A-=-=mnnn)r6   c                     | j         S )zGets the client_token of this CreateNatGatewayRequest.  # noqa: E501


        :return: The client_token of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        r&   r8   s    r4   r
   z$CreateNatGatewayRequest.client_token   r9   r6   c                     || _         dS )zSets the client_token of this CreateNatGatewayRequest.


        :param client_token: The client_token of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        Nr@   )r3   r
   s     r4   r
   z$CreateNatGatewayRequest.client_token        *r6   c                     | j         S )zGets the description of this CreateNatGatewayRequest.  # noqa: E501


        :return: The description of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        )r'   r8   s    r4   r   z#CreateNatGatewayRequest.description          r6   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the description of this CreateNatGatewayRequest.


        :param description: The description of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        N   zKInvalid value for `description`, length must be less than or equal to `255`r<   zLInvalid value for `description`, length must be greater than or equal to `1`)r$   r=   lenr>   r'   )r3   r   s     r4   r   z#CreateNatGatewayRequest.description   s~     6 	l'C,<,<s,B,Bjkkk6 	m'C,<,<q,@,@klll'r6   c                     | j         S )zGets the direct_mode of this CreateNatGatewayRequest.  # noqa: E501


        :return: The direct_mode of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: bool
        r(   r8   s    r4   r   z#CreateNatGatewayRequest.direct_mode   rD   r6   c                     || _         dS )zSets the direct_mode of this CreateNatGatewayRequest.


        :param direct_mode: The direct_mode of this CreateNatGatewayRequest.  # noqa: E501
        :type: bool
        NrI   )r3   r   s     r4   r   z#CreateNatGatewayRequest.direct_mode        (r6   c                     | j         S )zGets the nat_gateway_name of this CreateNatGatewayRequest.  # noqa: E501


        :return: The nat_gateway_name of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        )r)   r8   s    r4   r   z(CreateNatGatewayRequest.nat_gateway_name   s     %%r6   c                     | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the nat_gateway_name of this CreateNatGatewayRequest.


        :param nat_gateway_name: The nat_gateway_name of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        N   zPInvalid value for `nat_gateway_name`, length must be less than or equal to `128`r<   zQInvalid value for `nat_gateway_name`, length must be greater than or equal to `1`)r$   r=   rG   r>   r)   )r3   r   s     r4   r   z(CreateNatGatewayRequest.nat_gateway_name   s     6 	q ,5E1F1F1L1Loppp6 	r ,5E1F1F1J1Jpqqq!1r6   c                     | j         S )zGets the network_type of this CreateNatGatewayRequest.  # noqa: E501


        :return: The network_type of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        r*   r8   s    r4   r   z$CreateNatGatewayRequest.network_type   r9   r6   c                     || _         dS )zSets the network_type of this CreateNatGatewayRequest.


        :param network_type: The network_type of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        NrP   )r3   r   s     r4   r   z$CreateNatGatewayRequest.network_type   rB   r6   c                     | j         S )zGets the period of this CreateNatGatewayRequest.  # noqa: E501


        :return: The period of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: int
        r+   r8   s    r4   r   zCreateNatGatewayRequest.period       |r6   c                     || _         dS )zSets the period of this CreateNatGatewayRequest.


        :param period: The period of this CreateNatGatewayRequest.  # noqa: E501
        :type: int
        NrS   )r3   r   s     r4   r   zCreateNatGatewayRequest.period  s     r6   c                     | j         S )zGets the period_unit of this CreateNatGatewayRequest.  # noqa: E501


        :return: The period_unit of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        r,   r8   s    r4   r   z#CreateNatGatewayRequest.period_unit  rD   r6   c                     || _         dS )zSets the period_unit of this CreateNatGatewayRequest.


        :param period_unit: The period_unit of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        NrW   )r3   r   s     r4   r   z#CreateNatGatewayRequest.period_unit!  rK   r6   c                     | j         S )zGets the project_name of this CreateNatGatewayRequest.  # noqa: E501


        :return: The project_name of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        r-   r8   s    r4   r   z$CreateNatGatewayRequest.project_name,  r9   r6   c                     || _         dS )zSets the project_name of this CreateNatGatewayRequest.


        :param project_name: The project_name of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        NrZ   )r3   r   s     r4   r   z$CreateNatGatewayRequest.project_name6  rB   r6   c                     | j         S )zGets the spec of this CreateNatGatewayRequest.  # noqa: E501


        :return: The spec of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        r.   r8   s    r4   r   zCreateNatGatewayRequest.specA       zr6   c                     || _         dS )zSets the spec of this CreateNatGatewayRequest.


        :param spec: The spec of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        Nr]   )r3   r   s     r4   r   zCreateNatGatewayRequest.specK       


r6   c                     | j         S )zGets the subnet_id of this CreateNatGatewayRequest.  # noqa: E501


        :return: The subnet_id of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        r/   r8   s    r4   r   z!CreateNatGatewayRequest.subnet_idV  s     r6   c                     || _         dS )zSets the subnet_id of this CreateNatGatewayRequest.


        :param subnet_id: The subnet_id of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        Nrb   )r3   r   s     r4   r   z!CreateNatGatewayRequest.subnet_id`  s     $r6   c                     | j         S )zGets the tags of this CreateNatGatewayRequest.  # noqa: E501


        :return: The tags of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: list[TagForCreateNatGatewayInput]
        r0   r8   s    r4   r   zCreateNatGatewayRequest.tagsk  r^   r6   c                     || _         dS )zSets the tags of this CreateNatGatewayRequest.


        :param tags: The tags of this CreateNatGatewayRequest.  # noqa: E501
        :type: list[TagForCreateNatGatewayInput]
        Nre   )r3   r   s     r4   r   zCreateNatGatewayRequest.tagsu  r`   r6   c                     | j         S )zGets the vpc_id of this CreateNatGatewayRequest.  # noqa: E501


        :return: The vpc_id of this CreateNatGatewayRequest.  # noqa: E501
        :rtype: str
        )r1   r8   s    r4   r   zCreateNatGatewayRequest.vpc_id  rT   r6   c                 N    | j         j        r|t          d          || _        dS )zSets the vpc_id of this CreateNatGatewayRequest.


        :param vpc_id: The vpc_id of this CreateNatGatewayRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `vpc_id`, must not be `None`)r$   r=   r>   r1   )r3   r   s     r4   r   zCreateNatGatewayRequest.vpc_id  s1     5 	O&.MNNNr6   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hasattrrk   )xs    r4   <lambda>z1CreateNatGatewayRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r6   rk   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr<   rk   r   rl   )items    r4   ro   z1CreateNatGatewayRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r6   )six	iteritemsswagger_typesgetattr
isinstancelistmaprm   rk   dictitems
issubclassr   )r3   resultattr_valuekeys         r4   rk   zCreateNatGatewayRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t-t44 	$"jjll $ $
U#sr6   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrk   r8   s    r4   to_strzCreateNatGatewayRequest.to_str  s    ~dllnn---r6   c                 *    |                                  S )zFor `print` and `pprint`)r   r8   s    r4   __repr__z CreateNatGatewayRequest.__repr__  s    {{}}r6   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrv   r   rk   r3   others     r4   __eq__zCreateNatGatewayRequest.__eq__  s5    %!899 	5||~~00r6   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     r4   __ne__zCreateNatGatewayRequest.__ne__  s5    %!899 	4||~~00r6   )NNNNNNNNNNNNNN)__name__
__module____qualname____doc__rt   attribute_mapr5   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r   r   rk   r   r   r   r    r6   r4   r   r      s        
 !3 M" &%$#,%#% M - - - -^ " " X" * * *  " " X" * * * ! ! X! ( ( (  ! ! X! ( ( ( & & X& 2 2 2  " " X" * * *   X ]  ] ! ! X! ( ( ( " " X" * * *   X 
[  [   X $ $ $   X 
[  [   X ]
 
 ]
  6. . .  1 1 11 1 1 1 1r6   r   )r   r   rerr   volcenginesdkcore.configurationr   objectr   r   r6   r4   <module>r      s|      				 



 9 9 9 9 9 9p1 p1 p1 p1 p1f p1 p1 p1 p1 p1r6   