
    ~izA                     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_mssql

    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                   b   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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&ZdNd(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	        d0             Zed1             Zej	        d2             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dI ZdJ ZdK ZdL ZdM Zd'S )OCreateDBInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    allow_list_idsz	list[str]charge_info"ChargeInfoForCreateDBInstanceInputdb_engine_versionstrdb_time_zoneinstance_nameinstance_typemaintenance_time	node_specproject_nameserver_collationstorage_spaceint	subnet_idsuper_account_passwordtagsz!list[TagForCreateDBInstanceInput]vpc_idzone_idAllowListIds
ChargeInfoDBEngineVersion
DBTimeZoneInstanceNameInstanceTypeMaintenanceTimeNodeSpecProjectNameServerCollationStorageSpaceSubnetIdSuperAccountPasswordTagsVpcIdZoneIdNc                    |t                      }|| _        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_allow_list_ids_charge_info_db_engine_version_db_time_zone_instance_name_instance_type_maintenance_time
_node_spec_project_name_server_collation_storage_space
_subnet_id_super_account_password_tags_vpc_id_zone_iddiscriminatorr   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*   s                     /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkrdsmssql/models/create_db_instance_request.py__init__z CreateDBInstanceRequest.__init__I   sE   !*__N,# "&!""!%!!%"'+$
!%"0D"*D!2($!.D*'$4D!"# ,D'$4D!*"&<#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]
        r+   r<   s    r=   r   z&CreateDBInstanceRequest.allow_list_idsy   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]
        NrA   )r<   r   s     r=   r   z&CreateDBInstanceRequest.allow_list_ids   s      .r?   c                     | j         S )zGets the charge_info of this CreateDBInstanceRequest.  # noqa: E501


        :return: The charge_info of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: ChargeInfoForCreateDBInstanceInput
        r,   rB   s    r=   r   z#CreateDBInstanceRequest.charge_info   s       r?   c                     || _         dS )zSets the charge_info of this CreateDBInstanceRequest.


        :param charge_info: The charge_info of this CreateDBInstanceRequest.  # noqa: E501
        :type: ChargeInfoForCreateDBInstanceInput
        NrE   )r<   r   s     r=   r   z#CreateDBInstanceRequest.charge_info   s     (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
        )r-   rB   s    r=   r	   z)CreateDBInstanceRequest.db_engine_version   s     &&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
ValueErrorr-   )r<   r	   s     r=   r	   z)CreateDBInstanceRequest.db_engine_version   s6     5 	Z:K:SXYYY"3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
        )r.   rB   s    r=   r   z$CreateDBInstanceRequest.db_time_zone        !!r?   c                 N    | j         j        r|t          d          || _        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
        Nz4Invalid value for `db_time_zone`, must not be `None`)r*   rI   rJ   r.   )r<   r   s     r=   r   z$CreateDBInstanceRequest.db_time_zone   s5     5 	U,:NSTTT)r?   c                     | j         S )zGets the instance_name of this CreateDBInstanceRequest.  # noqa: E501


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


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


        :return: The instance_type of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r0   rB   s    r=   r   z%CreateDBInstanceRequest.instance_type   rP   r?   c                 N    | j         j        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
        Nz5Invalid value for `instance_type`, must not be `None`)r*   rI   rJ   r0   )r<   r   s     r=   r   z%CreateDBInstanceRequest.instance_type   5     5 	V-:OTUUU+r?   c                     | j         S )zGets the maintenance_time of this CreateDBInstanceRequest.  # noqa: E501


        :return: The maintenance_time of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r1   rB   s    r=   r   z(CreateDBInstanceRequest.maintenance_time        %%r?   c                     || _         dS )zSets the maintenance_time of this CreateDBInstanceRequest.


        :param maintenance_time: The maintenance_time of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        NrV   )r<   r   s     r=   r   z(CreateDBInstanceRequest.maintenance_time       "2r?   c                     | j         S )zGets the node_spec of this CreateDBInstanceRequest.  # noqa: E501


        :return: The node_spec of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r2   rB   s    r=   r   z!CreateDBInstanceRequest.node_spec       r?   c                 N    | j         j        r|t          d          || _        dS )zSets the node_spec of this CreateDBInstanceRequest.


        :param node_spec: The node_spec of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nz1Invalid value for `node_spec`, must not be `None`)r*   rI   rJ   r2   )r<   r   s     r=   r   z!CreateDBInstanceRequest.node_spec  2     5 	R):KPQQQ#r?   c                     | j         S )zGets the project_name of this CreateDBInstanceRequest.  # noqa: E501


        :return: The project_name of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r3   rB   s    r=   r   z$CreateDBInstanceRequest.project_name)  rL   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_   )r<   r   s     r=   r   z$CreateDBInstanceRequest.project_name3  s     *r?   c                     | j         S )zGets the server_collation of this CreateDBInstanceRequest.  # noqa: E501


        :return: The server_collation of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        r4   rB   s    r=   r   z(CreateDBInstanceRequest.server_collation>  rW   r?   c                     || _         dS )zSets the server_collation of this CreateDBInstanceRequest.


        :param server_collation: The server_collation of this CreateDBInstanceRequest.  # noqa: E501
        :type: str
        Nrb   )r<   r   s     r=   r   z(CreateDBInstanceRequest.server_collationH  rY   r?   c                     | j         S )zGets the storage_space of this CreateDBInstanceRequest.  # noqa: E501


        :return: The storage_space of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: int
        )r5   rB   s    r=   r   z%CreateDBInstanceRequest.storage_spaceS  rP   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*   rI   rJ   r5   )r<   r   s     r=   r   z%CreateDBInstanceRequest.storage_space]  rT   r?   c                     | j         S )zGets the subnet_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The subnet_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r6   rB   s    r=   r   z!CreateDBInstanceRequest.subnet_idj  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*   rI   rJ   r6   )r<   r   s     r=   r   z!CreateDBInstanceRequest.subnet_idt  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
        )r7   rB   s    r=   r   z.CreateDBInstanceRequest.super_account_password  s     ++r?   c                 N    | j         j        r|t          d          || _        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
        Nz>Invalid value for `super_account_password`, must not be `None`)r*   rI   rJ   r7   )r<   r   s     r=   r   z.CreateDBInstanceRequest.super_account_password  s6     5 	_:P:X]^^^'=$$$r?   c                     | j         S )zGets the tags of this CreateDBInstanceRequest.  # noqa: E501


        :return: The tags of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: list[TagForCreateDBInstanceInput]
        r8   rB   s    r=   r   zCreateDBInstanceRequest.tags  s     zr?   c                     || _         dS )zSets the tags of this CreateDBInstanceRequest.


        :param tags: The tags of this CreateDBInstanceRequest.  # noqa: E501
        :type: list[TagForCreateDBInstanceInput]
        Nrk   )r<   r   s     r=   r   zCreateDBInstanceRequest.tags  s     


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


        :return: The vpc_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r9   rB   s    r=   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*   rI   rJ   r9   )r<   r   s     r=   r   zCreateDBInstanceRequest.vpc_id  s1     5 	O&.MNNNr?   c                     | j         S )zGets the zone_id of this CreateDBInstanceRequest.  # noqa: E501


        :return: The zone_id of this CreateDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r:   rB   s    r=   r   zCreateDBInstanceRequest.zone_id  s     }r?   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`)r*   rI   rJ   r:   )r<   r   s     r=   r   zCreateDBInstanceRequest.zone_id  s1     5 	P'/NOOO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hasattrrs   )xs    r=   <lambda>z1CreateDBInstanceRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r?   rs   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rs   r   rt   )items    r=   rw   z1CreateDBInstanceRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r?   )six	iteritemsswagger_typesgetattr
isinstancelistmapru   rs   dictitems
issubclassr   )r<   resultattr_valuekeys         r=   rs   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pformatrs   rB   s    r=   to_strzCreateDBInstanceRequest.to_str  s    ~dllnn---r?   c                 *    |                                  S )zFor `print` and `pprint`)r   rB   s    r=   __repr__z CreateDBInstanceRequest.__repr__  s    {{}}r?   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   rs   r<   others     r=   __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     r=   __ne__zCreateDBInstanceRequest.__ne__  s5    %!899 	4||~~00r?   )NNNNNNNNNNNNNNNNN)__name__
__module____qualname____doc__r}   attribute_mapr>   propertyr   setterr   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   rs   r   r   r   r    r?   r=   r   r      s        
+; 	U 		
 	 	 	E 	U 	 	E 	 	U 	!% 	3 	%  	5!M&.| 	. 		
 	 	 	- 	Z 	 	- 	 	Z 	!"8 	 	'  	8!M&. . . .` $ $ X$ . . . ! ! X! ( ( ( ' ' X' 
4 
4 
4 " " X" 
* 
* 
* # # X# , , , # # X# 
, 
, 
, & & X& 2 2 2   X 
$ 
$ 
$ " " X" * * * & & X& 2 2 2 # # X# 
, 
, 
,   X 
$ 
$ 
$ , , X, "
> 
> #"
>   X 
[  [   X ]
 
 ]
   X ^
  
  ^
   6. . .  1 1 11 1 1 1 1r?   r   )r   r   rer{   volcenginesdkcore.configurationr   objectr   r   r?   r=   <module>r      s|      				 



 9 9 9 9 9 9t1 t1 t1 t1 t1f t1 t1 t1 t1 t1r?   