
    ~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
    rds_mysql_v2

    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            	       F   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	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/d0d1d2d3d4d5dZdmd7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edR             Zej	        dS             ZedT             Zej	        dU             ZedV             Zej	        dW             ZedX             Zej	        dY             ZedZ             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 dh Z!di Z"dj Z#dk Z$dl Z%d6S )nCreateDBInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    allow_list_idsz	list[str]auto_storage_scaling_config0AutoStorageScalingConfigForCreateDBInstanceInputcharge_info"ChargeInfoForCreateDBInstanceInputdb_engine_versionstrdb_param_group_iddb_time_zonedeletion_protectionenable_external_replicationboolengine_typeinstance_nameinstance_tagsz)list[InstanceTagForCreateDBInstanceInput]instance_typelower_case_table_namesmaintenance_window)MaintenanceWindowForCreateDBInstanceInput	node_infoz&list[NodeInfoForCreateDBInstanceInput]portintproject_name'ProxyNodeCustomForCreateDBInstanceInput)proxy_node_customstorage_spacestorage_type	subnet_idsuper_account_namesuper_account_passwordvpc_idAllowListIdsAutoStorageScalingConfig
ChargeInfoDBEngineVersionDBParamGroupId
DBTimeZoneDeletionProtectionEnableExternalReplication
EngineTypeInstanceNameInstanceTagsInstanceTypeLowerCaseTableNamesMaintenanceWindowNodeInfoPortProjectNameProxyNodeCustomStorageSpaceStorageTypeSubnetIdSuperAccountNameSuperAccountPassword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| _        d| _        ||| _        ||| _        ||| _        || _        ||| _        ||| _         ||| _!        ||| _"        |	|	| _#        |
|
| _$        ||| _%        ||| _&        ||| _'        ||| _(        ||| _)        ||| _*        ||| _+        ||| _,        || _-        || _.        || _/        ||| _0        ||| _1        || _2        dS )z4CreateDBInstanceRequest - a model defined in SwaggerN)3r   _configuration_allow_list_ids_auto_storage_scaling_config_charge_info_db_engine_version_db_param_group_id_db_time_zone_deletion_protection_enable_external_replication_engine_type_instance_name_instance_tags_instance_type_lower_case_table_names_maintenance_window
_node_info_port_project_name_proxy_node_custom_storage_space_storage_type
_subnet_id_super_account_name_super_account_password_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#   r$   )selfr   r   r	   r   r   r   r   r   r   r   r   r   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/volcenginesdkrdsmysqlv2/models/create_db_instance_request.py__init__z CreateDBInstanceRequest.__init__Y   s   !*__N,#,0) "&"&!$(!,0) """'+$#' 
!"&"!#' '+$!%"0D&2/JD,"*D!2(%6D"# ,D*':D$&2/JD,"*D$!.D$!.D$!.D!-*@D')&8D# &DNDI# ,D(%6D"*(")&8D#!-*@D'    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]
        r?   rX   s    rY   r   z&CreateDBInstanceRequest.allow_list_ids   s     ##r[   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]
        Nr]   )rX   r   s     rY   r   z&CreateDBInstanceRequest.allow_list_ids   s      .r[   c                     | j         S )zGets the auto_storage_scaling_config of this CreateDBInstanceRequest.  # noqa: E501


        :return: The auto_storage_scaling_config of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: AutoStorageScalingConfigForCreateDBInstanceInput
        r@   r^   s    rY   r   z3CreateDBInstanceRequest.auto_storage_scaling_config        00r[   c                     || _         dS )a  Sets the auto_storage_scaling_config of this CreateDBInstanceRequest.


        :param auto_storage_scaling_config: The auto_storage_scaling_config of this CreateDBInstanceRequest.  # noqa: E501
        :type: AutoStorageScalingConfigForCreateDBInstanceInput
        Nra   )rX   r   s     rY   r   z3CreateDBInstanceRequest.auto_storage_scaling_config        -H)))r[   c                     | j         S )zGets the charge_info of this CreateDBInstanceRequest.  # noqa: E501


        :return: The charge_info of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: ChargeInfoForCreateDBInstanceInput
        rA   r^   s    rY   r	   z#CreateDBInstanceRequest.charge_info          r[   c                     || _         dS )zSets the charge_info of this CreateDBInstanceRequest.


        :param charge_info: The charge_info of this CreateDBInstanceRequest.  # noqa: E501
        :type: ChargeInfoForCreateDBInstanceInput
        Nrf   )rX   r	   s     rY   r	   z#CreateDBInstanceRequest.charge_info        (r[   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
        )rB   r^   s    rY   r   z)CreateDBInstanceRequest.db_engine_version        &&r[   c                 N    | j         j        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
        Nz9Invalid value for `db_engine_version`, must not be `None`)r>   client_side_validation
ValueErrorrB   )rX   r   s     rY   r   z)CreateDBInstanceRequest.db_engine_version   s6     5 	Z:K:SXYYY"3r[   c                     | j         S )zGets the db_param_group_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The db_param_group_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rC   r^   s    rY   r   z)CreateDBInstanceRequest.db_param_group_id   rk   r[   c                     || _         dS )zSets the db_param_group_id of this CreateDBInstanceRequest.


        :param db_param_group_id: The db_param_group_id of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrp   )rX   r   s     rY   r   z)CreateDBInstanceRequest.db_param_group_id       #4r[   c                     | j         S )zGets the db_time_zone of this CreateDBInstanceRequest.  # noqa: E501


        :return: The db_time_zone of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rD   r^   s    rY   r   z$CreateDBInstanceRequest.db_time_zone       !!r[   c                     || _         dS )zSets the db_time_zone of this CreateDBInstanceRequest.


        :param db_time_zone: The db_time_zone of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrt   )rX   r   s     rY   r   z$CreateDBInstanceRequest.db_time_zone       *r[   c                     | j         S )zGets the deletion_protection of this CreateDBInstanceRequest.  # noqa: E501


        :return: The deletion_protection of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rE   r^   s    rY   r   z+CreateDBInstanceRequest.deletion_protection%  s     ((r[   c                     || _         dS )zSets the deletion_protection of this CreateDBInstanceRequest.


        :param deletion_protection: The deletion_protection of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nry   )rX   r   s     rY   r   z+CreateDBInstanceRequest.deletion_protection/  s     %8!!!r[   c                     | j         S )zGets the enable_external_replication of this CreateDBInstanceRequest.  # noqa: E501


        :return: The enable_external_replication of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: bool
        rF   r^   s    rY   r   z3CreateDBInstanceRequest.enable_external_replication:  rb   r[   c                     || _         dS )zSets the enable_external_replication of this CreateDBInstanceRequest.


        :param enable_external_replication: The enable_external_replication of this CreateDBInstanceRequest.  # noqa: E501
        :type: bool
        Nr|   )rX   r   s     rY   r   z3CreateDBInstanceRequest.enable_external_replicationD  rd   r[   c                     | j         S )zGets the engine_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The engine_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rG   r^   s    rY   r   z#CreateDBInstanceRequest.engine_typeO  rg   r[   c                     || _         dS )zSets the engine_type of this CreateDBInstanceRequest.


        :param engine_type: The engine_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rX   r   s     rY   r   z#CreateDBInstanceRequest.engine_typeY  ri   r[   c                     | j         S )zGets the instance_name of this CreateDBInstanceRequest.  # noqa: E501


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


        :param instance_name: The instance_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rX   r   s     rY   r   z%CreateDBInstanceRequest.instance_namen       ,r[   c                     | j         S )zGets the instance_tags of this CreateDBInstanceRequest.  # noqa: E501


        :return: The instance_tags of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: list[InstanceTagForCreateDBInstanceInput]
        rI   r^   s    rY   r   z%CreateDBInstanceRequest.instance_tagsy  r   r[   c                     || _         dS )zSets the instance_tags of this CreateDBInstanceRequest.


        :param instance_tags: The instance_tags of this CreateDBInstanceRequest.  # noqa: E501
        :type: list[InstanceTagForCreateDBInstanceInput]
        Nr   )rX   r   s     rY   r   z%CreateDBInstanceRequest.instance_tags  r   r[   c                     | j         S )zGets the instance_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The instance_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rJ   r^   s    rY   r   z%CreateDBInstanceRequest.instance_type  r   r[   c                     || _         dS )zSets the instance_type of this CreateDBInstanceRequest.


        :param instance_type: The instance_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rX   r   s     rY   r   z%CreateDBInstanceRequest.instance_type  r   r[   c                     | j         S )zGets the lower_case_table_names of this CreateDBInstanceRequest.  # noqa: E501


        :return: The lower_case_table_names of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rK   r^   s    rY   r   z.CreateDBInstanceRequest.lower_case_table_names       ++r[   c                     || _         dS )zSets the lower_case_table_names of this CreateDBInstanceRequest.


        :param lower_case_table_names: The lower_case_table_names of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rX   r   s     rY   r   z.CreateDBInstanceRequest.lower_case_table_names       (>$$$r[   c                     | j         S )zGets the maintenance_window of this CreateDBInstanceRequest.  # noqa: E501


        :return: The maintenance_window of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: MaintenanceWindowForCreateDBInstanceInput
        rL   r^   s    rY   r   z*CreateDBInstanceRequest.maintenance_window       ''r[   c                     || _         dS )zSets the maintenance_window of this CreateDBInstanceRequest.


        :param maintenance_window: The maintenance_window of this CreateDBInstanceRequest.  # noqa: E501
        :type: MaintenanceWindowForCreateDBInstanceInput
        Nr   )rX   r   s     rY   r   z*CreateDBInstanceRequest.maintenance_window       $6   r[   c                     | j         S )zGets the node_info of this CreateDBInstanceRequest.  # noqa: E501


        :return: The node_info of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: list[NodeInfoForCreateDBInstanceInput]
        rM   r^   s    rY   r   z!CreateDBInstanceRequest.node_info       r[   c                     || _         dS )zSets the node_info of this CreateDBInstanceRequest.


        :param node_info: The node_info of this CreateDBInstanceRequest.  # noqa: E501
        :type: list[NodeInfoForCreateDBInstanceInput]
        Nr   )rX   r   s     rY   r   z!CreateDBInstanceRequest.node_info  s     $r[   c                     | j         S )zGets the port of this CreateDBInstanceRequest.  # noqa: E501


        :return: The port of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        rN   r^   s    rY   r   zCreateDBInstanceRequest.port  s     zr[   c                     || _         dS )zSets the port of this CreateDBInstanceRequest.


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


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


        :return: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rO   r^   s    rY   r   z$CreateDBInstanceRequest.project_name  ru   r[   c                     || _         dS )zSets the project_name of this CreateDBInstanceRequest.


        :param project_name: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rX   r   s     rY   r   z$CreateDBInstanceRequest.project_name  rw   r[   c                     | j         S )zGets the proxy_node_custom of this CreateDBInstanceRequest.  # noqa: E501


        :return: The proxy_node_custom of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: ProxyNodeCustomForCreateDBInstanceInput
        rP   r^   s    rY   r   z)CreateDBInstanceRequest.proxy_node_custom  rk   r[   c                     || _         dS )zSets the proxy_node_custom of this CreateDBInstanceRequest.


        :param proxy_node_custom: The proxy_node_custom of this CreateDBInstanceRequest.  # noqa: E501
        :type: ProxyNodeCustomForCreateDBInstanceInput
        Nr   )rX   r   s     rY   r   z)CreateDBInstanceRequest.proxy_node_custom  rr   r[   c                     | j         S )zGets the storage_space of this CreateDBInstanceRequest.  # noqa: E501


        :return: The storage_space of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        )rQ   r^   s    rY   r   z%CreateDBInstanceRequest.storage_space!  r   r[   c                 N    | j         j        r|t          d          || _        dS )zSets the storage_space of this CreateDBInstanceRequest.


        :param storage_space: The storage_space of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nz5Invalid value for `storage_space`, must not be `None`)r>   rm   rn   rQ   )rX   r   s     rY   r   z%CreateDBInstanceRequest.storage_space+  s5     5 	V-:OTUUU+r[   c                     | j         S )zGets the storage_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The storage_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rR   r^   s    rY   r    z$CreateDBInstanceRequest.storage_type8  ru   r[   c                 N    | j         j        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
        Nz4Invalid value for `storage_type`, must not be `None`)r>   rm   rn   rR   )rX   r    s     rY   r    z$CreateDBInstanceRequest.storage_typeB  s5     5 	U,:NSTTT)r[   c                     | j         S )zGets the subnet_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The subnet_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rS   r^   s    rY   r!   z!CreateDBInstanceRequest.subnet_idO  r   r[   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`)r>   rm   rn   rS   )rX   r!   s     rY   r!   z!CreateDBInstanceRequest.subnet_idY  s2     5 	R):KPQQQ#r[   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
        rT   r^   s    rY   r"   z*CreateDBInstanceRequest.super_account_namef  r   r[   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   )rX   r"   s     rY   r"   z*CreateDBInstanceRequest.super_account_namep  r   r[   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
        rU   r^   s    rY   r#   z.CreateDBInstanceRequest.super_account_password{  r   r[   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   )rX   r#   s     rY   r#   z.CreateDBInstanceRequest.super_account_password  r   r[   c                     | j         S )zGets the vpc_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The vpc_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rV   r^   s    rY   r$   zCreateDBInstanceRequest.vpc_id  s     |r[   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`)r>   rm   rn   rV   )rX   r$   s     rY   r$   zCreateDBInstanceRequest.vpc_id  s1     5 	O&.MNNN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    rY   <lambda>z1CreateDBInstanceRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r[   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    rY   r   z1CreateDBInstanceRequest.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   )rX   resultattr_valuekeys         rY   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r[   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   r^   s    rY   to_strzCreateDBInstanceRequest.to_str  s    ~dllnn---r[   c                 *    |                                  S )zFor `print` and `pprint`)r   r^   s    rY   __repr__z CreateDBInstanceRequest.__repr__  s    {{}}r[   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r   rX   others     rY   __eq__zCreateDBInstanceRequest.__eq__  s5    %!899 	5||~~00r[   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     rY   __ne__zCreateDBInstanceRequest.__ne__  s5    %!899 	4||~~00r[   )NNNNNNNNNNNNNNNNNNNNNNNNN)&__name__
__module____qualname____doc__r   attribute_maprZ   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   r    r[   rY   r   r      s        
+%'Y 	; 	U	
 	U 	 	u 	&v 	u 	 	D 	 	!% 	I 	=  	!" 	#$ G#"'1  M6.%'A 	| 	.	
 	- 	 	3 	&'B 	| 	 	 	 	!"7 	1 	Z  	!" 	#$ /'%0"81  M6J J J JX $ $ X$ . . . 1 1 X1 !'H H ('H ! ! X! ( ( ( ' ' X' 
4 
4 
4 ' ' X' 4 4 4 " " X" * * * ) ) X) 8 8  8 1 1 X1 !'H H ('H ! ! X! ( ( ( # # X# , , , # # X# , , , # # X# , , , , , X, "> > #"> ( ( X( 6 6 6   X $ $ $   X 
[  [ " " X" * * * ' ' X' 4 4 4 # # X# 
, 
, 
, " " X" 
* 
* 
*   X 
$ 
$ 
$ ( ( X( 6 6 6 , , X, "> > #">   X ]
 
 ]
  6. . .  1 1 11 1 1 1 1r[   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   r[   rY   <module>r      s|      				 



 9 9 9 9 9 9@1 @1 @1 @1 @1f @1 @1 @1 @1 @1r[   