
    ~iV                     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
    redis

    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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/d0dZdfd2Zed3             Zej	        d4             Zed5             Z
e
j	        d6             Z
ed7             Zej	        d8             Zed9             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dA             Zej	        dB             ZedC             Zej	        dD             ZedE             Zej	        dF             ZedG             Zej	        dH             ZedI             Zej	        dJ             ZedK             Zej	        dL             ZedM             Zej	        dN             ZedO             Zej	        dP             ZedQ             Zej	        dR             ZedS             Zej	        dT             ZedU             Zej	        dV             ZedW             Zej	        dX             ZedY             Zej	        dZ             Zed[             Zej	        d\             Zed]             Zej	        d^             Zed_             Zej	        d`             Zda Z db Z!dc Z"dd Z#de Z$d1S )gCreateDBInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    allow_list_idsz	list[str]
auto_renewboolcharge_typestrclient_tokenconfigure_nodesz+list[ConfigureNodeForCreateDBInstanceInput]deletion_protectionengine_versioninstance_namemulti_azno_auth_modenode_numberintparameter_group_idpasswordportproject_namepurchase_months	region_idz!list[TagForCreateDBInstanceInput])shard_capacityshard_numbersharded_cluster	subnet_idtagsvpc_idAllowListIds	AutoRenew
ChargeTypeClientTokenConfigureNodesDeletionProtectionEngineVersionInstanceNameMultiAZ
NoAuthMode
NodeNumberParameterGroupIdPasswordPortProjectNamePurchaseMonthsRegionIdShardCapacityShardNumberShardedClusterSubnetIdTagsVpcIdNc                    |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| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _         ||| _!        |	| _"        |
|
| _#        || _$        ||| _%        ||| _&        ||| _'        ||| _(        ||| _)        || _*        || _+        ||| _,        || _-        || _.        ||| _/        || _0        dS )z4CreateDBInstanceRequest - a model defined in SwaggerN)1r   _configuration_allow_list_ids_auto_renew_charge_type_client_token_configure_nodes_deletion_protection_engine_version_instance_name	_multi_az_no_auth_mode_node_number_parameter_group_id	_password_port_project_name_purchase_months
_region_id_shard_capacity_shard_number_sharded_cluster
_subnet_id_tags_vpc_iddiscriminatorr   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   r8   s                            }/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkredis/models/create_db_instance_request.py__init__z CreateDBInstanceRequest.__init__W   s   !*__N,# ! $$(!#"! #' 
! $#! $
!%"0D!(DO"*D# ,D&#2D *':D$,$!.D # ,D&)&8D#$DMDI# ,D&#2D ",# ,D."DI    c                     | j         S )zGets the allow_list_ids of this CreateDBInstanceRequest.  # noqa: E501


        :return: The allow_list_ids of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: list[str]
        r9   rQ   s    rR   r   z&CreateDBInstanceRequest.allow_list_ids        ##rT   c                     || _         dS )zSets the allow_list_ids of this CreateDBInstanceRequest.


        :param allow_list_ids: The allow_list_ids of this CreateDBInstanceRequest.  # noqa: E501
        :type: list[str]
        NrV   )rQ   r   s     rR   r   z&CreateDBInstanceRequest.allow_list_ids   s      .rT   c                     | j         S )zGets the auto_renew of this CreateDBInstanceRequest.  # noqa: E501


        :return: The auto_renew of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: bool
        r:   rW   s    rR   r   z"CreateDBInstanceRequest.auto_renew   s     rT   c                     || _         dS )zSets the auto_renew of this CreateDBInstanceRequest.


        :param auto_renew: The auto_renew of this CreateDBInstanceRequest.  # noqa: E501
        :type: bool
        Nr[   )rQ   r   s     rR   r   z"CreateDBInstanceRequest.auto_renew   s     &rT   c                     | j         S )zGets the charge_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The charge_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r;   rW   s    rR   r	   z#CreateDBInstanceRequest.charge_type          rT   c                     || _         dS )zSets the charge_type of this CreateDBInstanceRequest.


        :param charge_type: The charge_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr^   )rQ   r	   s     rR   r	   z#CreateDBInstanceRequest.charge_type   s     (rT   c                     | j         S )zGets the client_token of this CreateDBInstanceRequest.  # noqa: E501


        :return: The client_token of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r<   rW   s    rR   r   z$CreateDBInstanceRequest.client_token        !!rT   c                     || _         dS )zSets the client_token of this CreateDBInstanceRequest.


        :param client_token: The client_token of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrb   )rQ   r   s     rR   r   z$CreateDBInstanceRequest.client_token        *rT   c                     | j         S )zGets the configure_nodes of this CreateDBInstanceRequest.  # noqa: E501


        :return: The configure_nodes of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: list[ConfigureNodeForCreateDBInstanceInput]
        r=   rW   s    rR   r   z'CreateDBInstanceRequest.configure_nodes        $$rT   c                     || _         dS )zSets the configure_nodes of this CreateDBInstanceRequest.


        :param configure_nodes: The configure_nodes of this CreateDBInstanceRequest.  # noqa: E501
        :type: list[ConfigureNodeForCreateDBInstanceInput]
        Nrg   )rQ   r   s     rR   r   z'CreateDBInstanceRequest.configure_nodes        !0rT   c                     | j         S )zGets the deletion_protection of this CreateDBInstanceRequest.  # noqa: E501


        :return: The deletion_protection of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r>   rW   s    rR   r   z+CreateDBInstanceRequest.deletion_protection  s     ((rT   c                     || _         dS )zSets the deletion_protection of this CreateDBInstanceRequest.


        :param deletion_protection: The deletion_protection of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrl   )rQ   r   s     rR   r   z+CreateDBInstanceRequest.deletion_protection  s     %8!!!rT   c                     | j         S )zGets the engine_version of this CreateDBInstanceRequest.  # noqa: E501


        :return: The engine_version of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r?   rW   s    rR   r   z&CreateDBInstanceRequest.engine_version  rX   rT   c                 N    | j         j        r|t          d          || _        dS )zSets the engine_version of this CreateDBInstanceRequest.


        :param engine_version: The engine_version of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz6Invalid value for `engine_version`, must not be `None`)r8   client_side_validation
ValueErrorr?   )rQ   r   s     rR   r   z&CreateDBInstanceRequest.engine_version%  5     5 	W.:PUVVV-rT   c                     | j         S )zGets the instance_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The instance_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r@   rW   s    rR   r   z%CreateDBInstanceRequest.instance_name2  s     ""rT   c                     || _         dS )zSets the instance_name of this CreateDBInstanceRequest.


        :param instance_name: The instance_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrt   )rQ   r   s     rR   r   z%CreateDBInstanceRequest.instance_name<  s     ,rT   c                     | j         S )zGets the multi_az of this CreateDBInstanceRequest.  # noqa: E501


        :return: The multi_az of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rA   rW   s    rR   r   z CreateDBInstanceRequest.multi_azG       ~rT   c                 N    | j         j        r|t          d          || _        dS )zSets the multi_az of this CreateDBInstanceRequest.


        :param multi_az: The multi_az of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `multi_az`, must not be `None`)r8   rp   rq   rA   )rQ   r   s     rR   r   z CreateDBInstanceRequest.multi_azQ  s2     5 	Q(:JOPPP!rT   c                     | j         S )zGets the no_auth_mode of this CreateDBInstanceRequest.  # noqa: E501


        :return: The no_auth_mode of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rB   rW   s    rR   r   z$CreateDBInstanceRequest.no_auth_mode^  rc   rT   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the no_auth_mode of this CreateDBInstanceRequest.


        :param no_auth_mode: The no_auth_mode of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        )Invalidopenclosez:Invalid value for `no_auth_mode` ({0}), must be one of {1}N)r8   rp   rq   formatrB   )rQ   r   allowed_valuess      rR   r   z$CreateDBInstanceRequest.no_auth_modeh  s\     6556 	N22Ln55  
 *rT   c                     | j         S )zGets the node_number of this CreateDBInstanceRequest.  # noqa: E501


        :return: The node_number of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        )rC   rW   s    rR   r   z#CreateDBInstanceRequest.node_numberz  r_   rT   c                 N    | j         j        r|t          d          || _        dS )zSets the node_number of this CreateDBInstanceRequest.


        :param node_number: The node_number of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nz3Invalid value for `node_number`, must not be `None`)r8   rp   rq   rC   )rQ   r   s     rR   r   z#CreateDBInstanceRequest.node_number  s5     5 	T+:MRSSS'rT   c                     | j         S )zGets the parameter_group_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The parameter_group_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rD   rW   s    rR   r   z*CreateDBInstanceRequest.parameter_group_id  s     ''rT   c                     || _         dS )zSets the parameter_group_id of this CreateDBInstanceRequest.


        :param parameter_group_id: The parameter_group_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rQ   r   s     rR   r   z*CreateDBInstanceRequest.parameter_group_id  s     $6   rT   c                     | j         S )zGets the password of this CreateDBInstanceRequest.  # noqa: E501


        :return: The password of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rE   rW   s    rR   r   z CreateDBInstanceRequest.password  rw   rT   c                     || _         dS )zSets the password of this CreateDBInstanceRequest.


        :param password: The password of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rQ   r   s     rR   r   z CreateDBInstanceRequest.password  s     "rT   c                     | j         S )zGets the port of this CreateDBInstanceRequest.  # noqa: E501


        :return: The port of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        rF   rW   s    rR   r   zCreateDBInstanceRequest.port       zrT   c                     || _         dS )zSets the port of this CreateDBInstanceRequest.


        :param port: The port of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nr   )rQ   r   s     rR   r   zCreateDBInstanceRequest.port       


rT   c                     | j         S )zGets the project_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rG   rW   s    rR   r   z$CreateDBInstanceRequest.project_name  rc   rT   c                     || _         dS )zSets the project_name of this CreateDBInstanceRequest.


        :param project_name: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rQ   r   s     rR   r   z$CreateDBInstanceRequest.project_name  re   rT   c                     | j         S )zGets the purchase_months of this CreateDBInstanceRequest.  # noqa: E501


        :return: The purchase_months of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        rH   rW   s    rR   r   z'CreateDBInstanceRequest.purchase_months  rh   rT   c                     || _         dS )zSets the purchase_months of this CreateDBInstanceRequest.


        :param purchase_months: The purchase_months of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nr   )rQ   r   s     rR   r   z'CreateDBInstanceRequest.purchase_months  rj   rT   c                     | j         S )zGets the region_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The region_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rI   rW   s    rR   r   z!CreateDBInstanceRequest.region_id       rT   c                 N    | j         j        r|t          d          || _        dS )zSets the region_id of this CreateDBInstanceRequest.


        :param region_id: The region_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `region_id`, must not be `None`)r8   rp   rq   rI   )rQ   r   s     rR   r   z!CreateDBInstanceRequest.region_id  2     5 	R):KPQQQ#rT   c                     | j         S )zGets the shard_capacity of this CreateDBInstanceRequest.  # noqa: E501


        :return: The shard_capacity of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        )rJ   rW   s    rR   r   z&CreateDBInstanceRequest.shard_capacity  rX   rT   c                 N    | j         j        r|t          d          || _        dS )zSets the shard_capacity of this CreateDBInstanceRequest.


        :param shard_capacity: The shard_capacity of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nz6Invalid value for `shard_capacity`, must not be `None`)r8   rp   rq   rJ   )rQ   r   s     rR   r   z&CreateDBInstanceRequest.shard_capacity  rr   rT   c                     | j         S )zGets the shard_number of this CreateDBInstanceRequest.  # noqa: E501


        :return: The shard_number of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        rK   rW   s    rR   r   z$CreateDBInstanceRequest.shard_number(  rc   rT   c                     || _         dS )zSets the shard_number of this CreateDBInstanceRequest.


        :param shard_number: The shard_number of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nr   )rQ   r   s     rR   r   z$CreateDBInstanceRequest.shard_number2  re   rT   c                     | j         S )zGets the sharded_cluster of this CreateDBInstanceRequest.  # noqa: E501


        :return: The sharded_cluster of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        )rL   rW   s    rR   r   z'CreateDBInstanceRequest.sharded_cluster=  rh   rT   c                 N    | j         j        r|t          d          || _        dS )zSets the sharded_cluster of this CreateDBInstanceRequest.


        :param sharded_cluster: The sharded_cluster of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nz7Invalid value for `sharded_cluster`, must not be `None`)r8   rp   rq   rL   )rQ   r   s     rR   r   z'CreateDBInstanceRequest.sharded_clusterG  s5     5 	X/:QVWWW /rT   c                     | j         S )zGets the subnet_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The subnet_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rM   rW   s    rR   r   z!CreateDBInstanceRequest.subnet_idT  r   rT   c                 N    | j         j        r|t          d          || _        dS )zSets the subnet_id of this CreateDBInstanceRequest.


        :param subnet_id: The subnet_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `subnet_id`, must not be `None`)r8   rp   rq   rM   )rQ   r   s     rR   r   z!CreateDBInstanceRequest.subnet_id^  r   rT   c                     | j         S )zGets the tags of this CreateDBInstanceRequest.  # noqa: E501


        :return: The tags of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: list[TagForCreateDBInstanceInput]
        rN   rW   s    rR   r   zCreateDBInstanceRequest.tagsk  r   rT   c                     || _         dS )zSets the tags of this CreateDBInstanceRequest.


        :param tags: The tags of this CreateDBInstanceRequest.  # noqa: E501
        :type: list[TagForCreateDBInstanceInput]
        Nr   )rQ   r   s     rR   r   zCreateDBInstanceRequest.tagsu  r   rT   c                     | j         S )zGets the vpc_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The vpc_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rO   rW   s    rR   r   zCreateDBInstanceRequest.vpc_id  s     |rT   c                 N    | j         j        r|t          d          || _        dS )zSets the vpc_id of this CreateDBInstanceRequest.


        :param vpc_id: The vpc_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `vpc_id`, must not be `None`)r8   rp   rq   rO   )rQ   r   s     rR   r   zCreateDBInstanceRequest.vpc_id  s1     5 	O&.MNNNrT   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    rR   <lambda>z1CreateDBInstanceRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk rT   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    rR   r   z1CreateDBInstanceRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< rT   )six	iteritemsswagger_typesgetattr
isinstancelistmapr   r   dictitems
issubclassr   )rQ   resultattr_valuekeys         rR   r   zCreateDBInstanceRequest.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rT   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   rW   s    rR   to_strzCreateDBInstanceRequest.to_str  s    ~dllnn---rT   c                 *    |                                  S )zFor `print` and `pprint`)r   rW   s    rR   __repr__z CreateDBInstanceRequest.__repr__  s    {{}}rT   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r   rQ   others     rR   __eq__zCreateDBInstanceRequest.__eq__  s5    %!899 	5||~~00rT   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     rR   __ne__zCreateDBInstanceRequest.__ne__  s5    %!899 	4||~~00rT   )NNNNNNNNNNNNNNNNNNNNNNNN)%__name__
__module____qualname____doc__r   attribute_maprS   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    rT   rR   r   r      s        
+f 	u 		
 	H 	u 	% 	 	E 	 	u 	e 	E 	 	  	5!" 	U#$   3/  M4.k 	| 		
 	+ 	3 	/ 	 	I 	 	| 	0 	J 	 	  	+!" 	Z#$ *%+/  M4D D D DL $ $ X$ . . .     X  & & & ! ! X! ( ( ( " " X" * * * % % X% 0 0 0 ) ) X) 8 8  8 $ $ X$ 
. 
. 
. # # X# , , ,   X _
" 
" _
" " " X" * * *" ! ! X! 
( 
( 
( ( ( X( 6 6 6   X _" " _"   X 
[  [ " " X" * * * % % X% 0 0 0   X 
$ 
$ 
$ $ $ X$ 
. 
. 
. " " X" * * * % % X% 
0 
0 
0   X 
$ 
$ 
$   X 
[  [   X ]
 
 ]
  6. . .  1 1 11 1 1 1 1rT   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   rT   rR   <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
1rT   