
    ~iLV                     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
    hbase

    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.d/dZded1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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d` Z da Z!db Z"dc Z#dd Z$d0S )fCreateDBInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    
auto_renewboolcharge_typestrcold_storageintdeletion_protectionenable_authenable_cloud_storageengine_versioninstance_nameinstance_typemaintenance_window)MaintenanceWindowForCreateDBInstanceInputmaster_specmulti_azproject_namepurchase_monthsrs_countrs_spec	region_idz!list[TagForCreateDBInstanceInput])storage_capacitystorage_type	subnet_idtagsvpc_idzone_id	AutoRenew
ChargeTypeColdStorageDeletionProtection
EnableAuthEnableCloudStorageEngineVersionInstanceNameInstanceTypeMaintenanceWindow
MasterSpecMultiAZProjectNamePurchaseMonthsRSCountRSSpecRegionIdStorageCapacityStorageTypeSubnetIdTagsVpcIdZoneIdNc                    |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_auto_renew_charge_type_cold_storage_deletion_protection_enable_auth_enable_cloud_storage_engine_version_instance_name_instance_type_maintenance_window_master_spec	_multi_az_project_name_purchase_months	_rs_count_rs_spec
_region_id_storage_capacity_storage_type
_subnet_id_tags_vpc_id_zone_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    r9   s                            }/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkhbase/models/create_db_instance_request.py__init__z CreateDBInstanceRequest.__init__W   s   !*__N, !$(! %)"#""#'  ! $!%!
!!(DO&# ,D*':D$"*D+(<D%,$!.D$!.D)&8D#&$DM# ,D&#2D  " 0# ,D"DI    c                     | j         S )zGets the auto_renew of this CreateDBInstanceRequest.  # noqa: E501


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


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


        :return: The charge_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r;   rX   s    rS   r   z#CreateDBInstanceRequest.charge_type          rU   c                 N    | j         j        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
        Nz3Invalid value for `charge_type`, must not be `None`)r9   client_side_validation
ValueErrorr;   )rR   r   s     rS   r   z#CreateDBInstanceRequest.charge_type   5     5 	T+:MRSSS'rU   c                     | j         S )zGets the cold_storage of this CreateDBInstanceRequest.  # noqa: E501


        :return: The cold_storage of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        r<   rX   s    rS   r
   z$CreateDBInstanceRequest.cold_storage        !!rU   c                     || _         dS )zSets the cold_storage of this CreateDBInstanceRequest.


        :param cold_storage: The cold_storage of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nra   )rR   r
   s     rS   r
   z$CreateDBInstanceRequest.cold_storage        *rU   c                     | j         S )zGets the deletion_protection of this CreateDBInstanceRequest.  # noqa: E501


        :return: The deletion_protection of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r=   rX   s    rS   r   z+CreateDBInstanceRequest.deletion_protection   s     ((rU   c                     || _         dS )zSets the deletion_protection of this CreateDBInstanceRequest.


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


        :return: The enable_auth of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: bool
        r>   rX   s    rS   r   z#CreateDBInstanceRequest.enable_auth   r[   rU   c                     || _         dS )zSets the enable_auth of this CreateDBInstanceRequest.


        :param enable_auth: The enable_auth of this CreateDBInstanceRequest.  # noqa: E501
        :type: bool
        Nri   )rR   r   s     rS   r   z#CreateDBInstanceRequest.enable_auth   s     (rU   c                     | j         S )zGets the enable_cloud_storage of this CreateDBInstanceRequest.  # noqa: E501


        :return: The enable_cloud_storage of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: bool
        r?   rX   s    rS   r   z,CreateDBInstanceRequest.enable_cloud_storage  s     ))rU   c                     || _         dS )zSets the enable_cloud_storage of this CreateDBInstanceRequest.


        :param enable_cloud_storage: The enable_cloud_storage of this CreateDBInstanceRequest.  # noqa: E501
        :type: bool
        Nrl   )rR   r   s     rS   r   z,CreateDBInstanceRequest.enable_cloud_storage  s     &:"""rU   c                     | j         S )zGets the engine_version of this CreateDBInstanceRequest.  # noqa: E501


        :return: The engine_version of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r@   rX   s    rS   r   z&CreateDBInstanceRequest.engine_version  s     ##rU   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`)r9   r]   r^   r@   )rR   r   s     rS   r   z&CreateDBInstanceRequest.engine_version%  s5     5 	W.:PUVVV-rU   c                     | j         S )zGets the instance_name of this CreateDBInstanceRequest.  # noqa: E501


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


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


        :return: The instance_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rB   rX   s    rS   r   z%CreateDBInstanceRequest.instance_typeG  rr   rU   c                     || _         dS )zSets the instance_type of this CreateDBInstanceRequest.


        :param instance_type: The instance_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrv   )rR   r   s     rS   r   z%CreateDBInstanceRequest.instance_typeQ  rt   rU   c                     | j         S )zGets the maintenance_window of this CreateDBInstanceRequest.  # noqa: E501


        :return: The maintenance_window of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: MaintenanceWindowForCreateDBInstanceInput
        rC   rX   s    rS   r   z*CreateDBInstanceRequest.maintenance_window\  s     ''rU   c                     || _         dS )zSets the maintenance_window of this CreateDBInstanceRequest.


        :param maintenance_window: The maintenance_window of this CreateDBInstanceRequest.  # noqa: E501
        :type: MaintenanceWindowForCreateDBInstanceInput
        Nry   )rR   r   s     rS   r   z*CreateDBInstanceRequest.maintenance_windowf  s     $6   rU   c                     | j         S )zGets the master_spec of this CreateDBInstanceRequest.  # noqa: E501


        :return: The master_spec of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rD   rX   s    rS   r   z#CreateDBInstanceRequest.master_specq  r[   rU   c                 N    | j         j        r|t          d          || _        dS )zSets the master_spec of this CreateDBInstanceRequest.


        :param master_spec: The master_spec of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `master_spec`, must not be `None`)r9   r]   r^   rD   )rR   r   s     rS   r   z#CreateDBInstanceRequest.master_spec{  r_   rU   c                     | j         S )zGets the multi_az of this CreateDBInstanceRequest.  # noqa: E501


        :return: The multi_az of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: bool
        rE   rX   s    rS   r   z CreateDBInstanceRequest.multi_az       ~rU   c                     || _         dS )zSets the multi_az of this CreateDBInstanceRequest.


        :param multi_az: The multi_az of this CreateDBInstanceRequest.  # noqa: E501
        :type: bool
        Nr~   )rR   r   s     rS   r   z CreateDBInstanceRequest.multi_az  s     "rU   c                     | j         S )zGets the project_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rF   rX   s    rS   r   z$CreateDBInstanceRequest.project_name  rb   rU   c                     || _         dS )zSets the project_name of this CreateDBInstanceRequest.


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


        :return: The purchase_months of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        rG   rX   s    rS   r   z'CreateDBInstanceRequest.purchase_months  s     $$rU   c                     || _         dS )zSets the purchase_months of this CreateDBInstanceRequest.


        :param purchase_months: The purchase_months of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nr   )rR   r   s     rS   r   z'CreateDBInstanceRequest.purchase_months  s     !0rU   c                     | j         S )zGets the rs_count of this CreateDBInstanceRequest.  # noqa: E501


        :return: The rs_count of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        )rH   rX   s    rS   r   z CreateDBInstanceRequest.rs_count  r   rU   c                 N    | j         j        r|t          d          || _        dS )zSets the rs_count of this CreateDBInstanceRequest.


        :param rs_count: The rs_count of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nz0Invalid value for `rs_count`, must not be `None`)r9   r]   r^   rH   )rR   r   s     rS   r   z CreateDBInstanceRequest.rs_count  s2     5 	Q(:JOPPP!rU   c                     | j         S )zGets the rs_spec of this CreateDBInstanceRequest.  # noqa: E501


        :return: The rs_spec of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rI   rX   s    rS   r   zCreateDBInstanceRequest.rs_spec       }rU   c                 N    | j         j        r|t          d          || _        dS )zSets the rs_spec of this CreateDBInstanceRequest.


        :param rs_spec: The rs_spec of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `rs_spec`, must not be `None`)r9   r]   r^   rI   )rR   r   s     rS   r   zCreateDBInstanceRequest.rs_spec  1     5 	P'/NOOOrU   c                     | j         S )zGets the region_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The region_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rJ   rX   s    rS   r   z!CreateDBInstanceRequest.region_id       rU   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`)r9   r]   r^   rJ   )rR   r   s     rS   r   z!CreateDBInstanceRequest.region_id  2     5 	R):KPQQQ#rU   c                     | j         S )zGets the storage_capacity of this CreateDBInstanceRequest.  # noqa: E501


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


        :param storage_capacity: The storage_capacity of this CreateDBInstanceRequest.  # noqa: E501
        :type: int
        Nz8Invalid value for `storage_capacity`, must not be `None`)r9   r]   r^   rK   )rR   r   s     rS   r   z(CreateDBInstanceRequest.storage_capacity  s6     5 	Y:J:RWXXX!1rU   c                     | j         S )zGets the storage_type of this CreateDBInstanceRequest.  # noqa: E501


        :return: The storage_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        rL   rX   s    rS   r   z$CreateDBInstanceRequest.storage_type#  rb   rU   c                     || _         dS )zSets the storage_type of this CreateDBInstanceRequest.


        :param storage_type: The storage_type of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nr   )rR   r   s     rS   r   z$CreateDBInstanceRequest.storage_type-  rd   rU   c                     | j         S )zGets the subnet_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The subnet_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rM   rX   s    rS   r   z!CreateDBInstanceRequest.subnet_id8  r   rU   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`)r9   r]   r^   rM   )rR   r   s     rS   r   z!CreateDBInstanceRequest.subnet_idB  r   rU   c                     | j         S )zGets the tags of this CreateDBInstanceRequest.  # noqa: E501


        :return: The tags of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: list[TagForCreateDBInstanceInput]
        rN   rX   s    rS   r   zCreateDBInstanceRequest.tagsO  s     zrU   c                     || _         dS )zSets the tags of this CreateDBInstanceRequest.


        :param tags: The tags of this CreateDBInstanceRequest.  # noqa: E501
        :type: list[TagForCreateDBInstanceInput]
        Nr   )rR   r   s     rS   r   zCreateDBInstanceRequest.tagsY  s     


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


        :return: The vpc_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rO   rX   s    rS   r   zCreateDBInstanceRequest.vpc_idd  s     |rU   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`)r9   r]   r^   rO   )rR   r   s     rS   r   zCreateDBInstanceRequest.vpc_idn  s1     5 	O&.MNNNrU   c                     | j         S )zGets the zone_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The zone_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )rP   rX   s    rS   r    zCreateDBInstanceRequest.zone_id{  r   rU   c                 N    | j         j        r|t          d          || _        dS )zSets the zone_id of this CreateDBInstanceRequest.


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



 9 9 9 9 9 9k
1 k
1 k
1 k
1 k
1f k
1 k
1 k
1 k
1 k
1rU   