
    ~izO                     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
    rds_mysql

    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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ZdWd+Zed,             Zej	        d-             Zed.             Z
e
j	        d/             Z
ed0             Zej	        d1             Zed2             Zej	        d3             Zed4             Zej	        d5             Zed6             Zej	        d7             Zed8             Zej	        d9             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	        dA             ZedB             Zej	        dC             ZedD             Zej	        dE             ZedF             Zej	        dG             ZedH             Zej	        dI             ZedJ             Zej	        dK             ZedL             Zej	        dM             ZedN             Zej	        dO             ZedP             Zej	        dQ             ZdR ZdS ZdT ZdU ZdV Z d*S )XCreateDBInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    
auto_renewboolcharge_typestr	db_enginedb_engine_versioninstance_nameinstance_spec_nameinstance_typenumberintparameter_template_idprepaid_periodproject_namestorage_space_gbstorage_type	subnet_idsuper_account_namesuper_account_password	used_time)vpc_idzone	AutoRenew
ChargeTypeDBEngineDBEngineVersionInstanceNameInstanceSpecNameInstanceTypeNumberParameterTemplateIdPrepaidPeriodProjectNameStorageSpaceGBStorageTypeSubnetIdSuperAccountNameSuperAccountPasswordUsedTimeVpcIDZoneNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _         || _!        ||| _"        ||| _#        ||| _$        ||| _%        ||| _&        ||| _'        || _(        dS )z4CreateDBInstanceRequest - a model defined in SwaggerN))r   _configuration_auto_renew_charge_type
_db_engine_db_engine_version_instance_name_instance_spec_name_instance_type_number_parameter_template_id_prepaid_period_project_name_storage_space_gb_storage_type
_subnet_id_super_account_name_super_account_password
_used_time_vpc_id_zonediscriminatorr   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   r0   s                        /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkrdsmysql/models/create_db_instance_request.py__init__z CreateDBInstanceRequest.__init__O   s   !*__N, "&"#' "&*##!!%!#' '+$
!!(DO"*D &DN(%6D"$!.D)&8D#$!.D DK ,)>D&%"0D# ,D 0# ,D &DN)&8D#!-*@D' &DN DK			    c                     | j         S )zGets the auto_renew of this CreateDBInstanceRequest.  # noqa: E501


        :return: The auto_renew of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: bool
        r1   rE   s    rF   r   z"CreateDBInstanceRequest.auto_renew   s     rH   c                     || _         dS )zSets the auto_renew of this CreateDBInstanceRequest.


        :param auto_renew: The auto_renew of this CreateDBInstanceRequest.  # noqa: E501
        :type: bool
        NrJ   )rE   r   s     rF   r   z"CreateDBInstanceRequest.auto_renew   s     &rH   c                     | j         S )zGets the charge_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The charge_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r2   rK   s    rF   r   z#CreateDBInstanceRequest.charge_type   s       rH   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the charge_type of this CreateDBInstanceRequest.


        :param charge_type: The charge_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        )
NotEnabledPostPaidPrepaidz9Invalid value for `charge_type` ({0}), must be one of {1}N)r0   client_side_validation
ValueErrorformatr2   )rE   r   allowed_valuess      rF   r   z#CreateDBInstanceRequest.charge_type   s\     ?>>6 	>11K^44  
 (rH   c                     | j         S )zGets the db_engine of this CreateDBInstanceRequest.  # noqa: E501


        :return: The db_engine of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r3   rK   s    rF   r
   z!CreateDBInstanceRequest.db_engine        rH   c                     dg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the db_engine of this CreateDBInstanceRequest.


        :param db_engine: The db_engine of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        MySQLz7Invalid value for `db_engine` ({0}), must be one of {1}N)r0   rR   rS   rT   r3   )rE   r
   rU   s      rF   r
   z!CreateDBInstanceRequest.db_engine   sU     "6 	//I	>22  
 $rH   c                     | j         S )zGets the db_engine_version of this CreateDBInstanceRequest.  # noqa: E501


        :return: The db_engine_version of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r4   rK   s    rF   r   z)CreateDBInstanceRequest.db_engine_version   s     &&rH   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the db_engine_version of this CreateDBInstanceRequest.


        :param db_engine_version: The db_engine_version of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        	MySQL_8_0MySQL_Community_5_7z?Invalid value for `db_engine_version` ({0}), must be one of {1}N)r0   rR   rS   rT   r4   )rE   r   rU   s      rF   r   z)CreateDBInstanceRequest.db_engine_version   s]     &'<=6 	!77Q)>::  
 #4rH   c                     | j         S )zGets the instance_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The instance_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r5   rK   s    rF   r   z%CreateDBInstanceRequest.instance_name        ""rH   c                     || _         dS )zSets the instance_name of this CreateDBInstanceRequest.


        :param instance_name: The instance_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr_   )rE   r   s     rF   r   z%CreateDBInstanceRequest.instance_name  s     ,rH   c                     | j         S )zGets the instance_spec_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The instance_spec_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r6   rK   s    rF   r   z*CreateDBInstanceRequest.instance_spec_name       ''rH   c                     || _         dS )zSets the instance_spec_name of this CreateDBInstanceRequest.


        :param instance_spec_name: The instance_spec_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrc   )rE   r   s     rF   r   z*CreateDBInstanceRequest.instance_spec_name       $6   rH   c                     | j         S )zGets the instance_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The instance_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r7   rK   s    rF   r   z%CreateDBInstanceRequest.instance_type"  r`   rH   c                     dg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the instance_type of this CreateDBInstanceRequest.


        :param instance_type: The instance_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        HAz;Invalid value for `instance_type` ({0}), must be one of {1}N)r0   rR   rS   rT   r7   )rE   r   rU   s      rF   r   z%CreateDBInstanceRequest.instance_type,  sX     6 	^33M~66  
 ,rH   c                     | j         S )zGets the number of this CreateDBInstanceRequest.  # noqa: E501


        :return: The number of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        r8   rK   s    rF   r   zCreateDBInstanceRequest.number>       |rH   c                     || _         dS )zSets the number of this CreateDBInstanceRequest.


        :param number: The number of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nrk   )rE   r   s     rF   r   zCreateDBInstanceRequest.numberH       rH   c                     | j         S )zGets the parameter_template_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The parameter_template_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r9   rK   s    rF   r   z-CreateDBInstanceRequest.parameter_template_idS  s     **rH   c                     || _         dS )zSets the parameter_template_id of this CreateDBInstanceRequest.


        :param parameter_template_id: The parameter_template_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrp   )rE   r   s     rF   r   z-CreateDBInstanceRequest.parameter_template_id]  s     '<###rH   c                     | j         S )zGets the prepaid_period of this CreateDBInstanceRequest.  # noqa: E501


        :return: The prepaid_period of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r:   rK   s    rF   r   z&CreateDBInstanceRequest.prepaid_periodh  s     ##rH   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the prepaid_period of this CreateDBInstanceRequest.


        :param prepaid_period: The prepaid_period of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        MonthYearz<Invalid value for `prepaid_period` ({0}), must be one of {1}N)r0   rR   rS   rT   r:   )rE   r   rU   s      rF   r   z&CreateDBInstanceRequest.prepaid_periodr  s[     "6*6 	n44N77  
  .rH   c                     | j         S )zGets the project_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r;   rK   s    rF   r   z$CreateDBInstanceRequest.project_name       !!rH   c                     || _         dS )zSets the project_name of this CreateDBInstanceRequest.


        :param project_name: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrw   )rE   r   s     rF   r   z$CreateDBInstanceRequest.project_name  s     *rH   c                     | j         S )zGets the storage_space_gb of this CreateDBInstanceRequest.  # noqa: E501


        :return: The storage_space_gb of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        )r<   rK   s    rF   r   z(CreateDBInstanceRequest.storage_space_gb  s     %%rH   c                 N    | j         j        r|t          d          || _        dS )zSets the storage_space_gb of this CreateDBInstanceRequest.


        :param storage_space_gb: The storage_space_gb of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nz8Invalid value for `storage_space_gb`, must not be `None`)r0   rR   rS   r<   )rE   r   s     rF   r   z(CreateDBInstanceRequest.storage_space_gb  s6     5 	Y:J:RWXXX!1rH   c                     | j         S )zGets the storage_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The storage_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r=   rK   s    rF   r   z$CreateDBInstanceRequest.storage_type  rx   rH   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the storage_type of this CreateDBInstanceRequest.


        :param storage_type: The storage_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        )CloudStorageESSDPL1ESSDPL2LocalSSDz:Invalid value for `storage_type` ({0}), must be one of {1}N)r0   rR   rS   rT   r=   )rE   r   rU   s      rF   r   z$CreateDBInstanceRequest.storage_type  s]     LKK6 	N22Ln55  
 *rH   c                     | j         S )zGets the subnet_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The subnet_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r>   rK   s    rF   r   z!CreateDBInstanceRequest.subnet_id  rW   rH   c                     || _         dS )zSets the subnet_id of this CreateDBInstanceRequest.


        :param subnet_id: The subnet_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rE   r   s     rF   r   z!CreateDBInstanceRequest.subnet_id       $rH   c                     | j         S )zGets the super_account_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The super_account_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r?   rK   s    rF   r   z*CreateDBInstanceRequest.super_account_name  rd   rH   c                     || _         dS )zSets the super_account_name of this CreateDBInstanceRequest.


        :param super_account_name: The super_account_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rE   r   s     rF   r   z*CreateDBInstanceRequest.super_account_name  rf   rH   c                     | j         S )zGets the super_account_password of this CreateDBInstanceRequest.  # noqa: E501


        :return: The super_account_password of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r@   rK   s    rF   r   z.CreateDBInstanceRequest.super_account_password  s     ++rH   c                     || _         dS )zSets the super_account_password of this CreateDBInstanceRequest.


        :param super_account_password: The super_account_password of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rE   r   s     rF   r   z.CreateDBInstanceRequest.super_account_password   s     (>$$$rH   c                     | j         S )zGets the used_time of this CreateDBInstanceRequest.  # noqa: E501


        :return: The used_time of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        rA   rK   s    rF   r   z!CreateDBInstanceRequest.used_time  rW   rH   c                     || _         dS )zSets the used_time of this CreateDBInstanceRequest.


        :param used_time: The used_time of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nr   )rE   r   s     rF   r   z!CreateDBInstanceRequest.used_time  r   rH   c                     | j         S )zGets the vpc_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The vpc_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rB   rK   s    rF   r   zCreateDBInstanceRequest.vpc_id   rl   rH   c                     || _         dS )zSets the vpc_id of this CreateDBInstanceRequest.


        :param vpc_id: The vpc_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rE   r   s     rF   r   zCreateDBInstanceRequest.vpc_id*  rn   rH   c                     | j         S )zGets the zone of this CreateDBInstanceRequest.  # noqa: E501


        :return: The zone of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rC   rK   s    rF   r   zCreateDBInstanceRequest.zone5  s     zrH   c                 N    | j         j        r|t          d          || _        dS )zSets the zone of this CreateDBInstanceRequest.


        :param zone: The zone of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `zone`, must not be `None`)r0   rR   rS   rC   )rE   r   s     rF   r   zCreateDBInstanceRequest.zone?  s1     5 	M$,KLLL


rH   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    rF   <lambda>z1CreateDBInstanceRequest.to_dict.<locals>.<lambda>T  s!    WQ	-B-BIaiikkk rH   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    rF   r   z1CreateDBInstanceRequest.to_dict.<locals>.<lambda>[  s<    tAw	22"=$q'47??+<+<!=!=8< rH   )six	iteritemsswagger_typesgetattr
isinstancelistmapr   r   dictitems
issubclassr   )rE   resultattr_valuekeys         rF   r   zCreateDBInstanceRequest.to_dictL  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t-t44 	$"jjll $ $
U#srH   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   rK   s    rF   to_strzCreateDBInstanceRequest.to_strg  s    ~dllnn---rH   c                 *    |                                  S )zFor `print` and `pprint`)r   rK   s    rF   __repr__z CreateDBInstanceRequest.__repr__k  s    {{}}rH   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r   rE   others     rF   __eq__zCreateDBInstanceRequest.__eq__o  s5    %!899 	5||~~00rH   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     rF   __ne__zCreateDBInstanceRequest.__ne__v  s5    %!899 	4||~~00rH   )NNNNNNNNNNNNNNNNNNNN)!__name__
__module____qualname____doc__r   attribute_maprG   propertyr   setterr   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    rH   rF   r   r      s        
fu 	U 	U	
 	 	e 	 	% 	  	% 	 	E 	 	U 	e  	!%!" 	U#$ '  M,k| 	Z 	.	
 	 	0 	 	( 	 !6 	/ 	 	, 	 	Z 	0  	!"8!" 	Z#$ '  M,> > > >@     X  & & & ! ! X! ( ( ("   X $ $ $" ' ' X' 4 4 4" # # X# , , , ( ( X( 6 6 6 # # X# , , ,"   X ]  ] + + X+ !< < "!< $ $ X$ . . ." " " X" * * * & & X& 
2 
2 
2 " " X" * * *"   X $ $ $ ( ( X( 6 6 6 , , X, "> > #">   X $ $ $   X ]  ]   X 
[
 
 [
  6. . .  1 1 11 1 1 1 1rH   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   rH   rF   <module>r      s|      				 



 9 9 9 9 9 9e	1 e	1 e	1 e	1 e	1f e	1 e	1 e	1 e	1 e	1rH   