
    ~ip                     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	 dddddZdddd	dZdd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	        d             Zd Zd Zd Zd Zd Zd
S )DescribeDBInstanceResponsezsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    $BasicInfoForDescribeDBInstanceOutput)ConnectionInfoForDescribeDBInstanceOutputstr)
basic_infoconnection_infodata_sync_modestorage_type	BasicInfoConnectionInfoDataSyncModeStorageTypeNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _	        |	|| _
        dS dS )z7DescribeDBInstanceResponse - a model defined in SwaggerN)r   _configuration_basic_info_connection_info_data_sync_mode_storage_typediscriminatorr	   r
   r   r   )selfr	   r
   r   r   r   s         /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkrdsmysql/models/describe_db_instance_response.py__init__z#DescribeDBInstanceResponse.__init__1   s    !*__N, $#!!!(DO&#2D %"0D# ,D $#    c                     | j         S )zGets the basic_info of this DescribeDBInstanceResponse.  # noqa: E501


        :return: The basic_info of this DescribeDBInstanceResponse.  # noqa: E501
        :rtype: BasicInfoForDescribeDBInstanceOutput
        r   r   s    r   r	   z%DescribeDBInstanceResponse.basic_infoF   s     r   c                     || _         dS )zSets the basic_info of this DescribeDBInstanceResponse.


        :param basic_info: The basic_info of this DescribeDBInstanceResponse.  # noqa: E501
        :type: BasicInfoForDescribeDBInstanceOutput
        Nr   )r   r	   s     r   r	   z%DescribeDBInstanceResponse.basic_infoP   s     &r   c                     | j         S )zGets the connection_info of this DescribeDBInstanceResponse.  # noqa: E501


        :return: The connection_info of this DescribeDBInstanceResponse.  # noqa: E501
        :rtype: ConnectionInfoForDescribeDBInstanceOutput
        r   r   s    r   r
   z*DescribeDBInstanceResponse.connection_info[   s     $$r   c                     || _         dS )zSets the connection_info of this DescribeDBInstanceResponse.


        :param connection_info: The connection_info of this DescribeDBInstanceResponse.  # noqa: E501
        :type: ConnectionInfoForDescribeDBInstanceOutput
        Nr!   )r   r
   s     r   r
   z*DescribeDBInstanceResponse.connection_infoe   s     !0r   c                     | j         S )zGets the data_sync_mode of this DescribeDBInstanceResponse.  # noqa: E501


        :return: The data_sync_mode of this DescribeDBInstanceResponse.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z)DescribeDBInstanceResponse.data_sync_modep   s     ##r   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the data_sync_mode of this DescribeDBInstanceResponse.


        :param data_sync_mode: The data_sync_mode of this DescribeDBInstanceResponse.  # noqa: E501
        :type: str
        )AsyncSemiSyncSyncz<Invalid value for `data_sync_mode` ({0}), must be one of {1}N)r   client_side_validation
ValueErrorformatr   )r   r   allowed_valuess      r   r   z)DescribeDBInstanceResponse.data_sync_modez   s\     7666 	n44N77  
  .r   c                     | j         S )zGets the storage_type of this DescribeDBInstanceResponse.  # noqa: E501


        :return: The storage_type of this DescribeDBInstanceResponse.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z'DescribeDBInstanceResponse.storage_type   s     !!r   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the storage_type of this DescribeDBInstanceResponse.


        :param storage_type: The storage_type of this DescribeDBInstanceResponse.  # noqa: E501
        :type: str
        )CloudStorageESSDPL1ESSDPL2LocalSSDz:Invalid value for `storage_type` ({0}), must be one of {1}N)r   r(   r)   r*   r   )r   r   r+   s      r   r   z'DescribeDBInstanceResponse.storage_type   s]     LKK6 	N22Ln55  
 *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hasattrr4   )xs    r   <lambda>z4DescribeDBInstanceResponse.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r4   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r4   r   r5   )items    r   r8   z4DescribeDBInstanceResponse.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr6   r4   dictitems
issubclassr   )r   resultattr_valuekeys         r   r4   z"DescribeDBInstanceResponse.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t0$77 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr4   r   s    r   to_strz!DescribeDBInstanceResponse.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rN   r   s    r   __repr__z#DescribeDBInstanceResponse.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr@   r   r4   r   others     r   __eq__z!DescribeDBInstanceResponse.__eq__   s5    %!;<< 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrR   rS   s     r   __ne__z!DescribeDBInstanceResponse.__ne__   s5    %!;<< 	4||~~00r   )NNNNN)__name__
__module____qualname____doc__r>   attribute_mapr   propertyr	   setterr
   r   r   r4   rN   rP   rU   rW    r   r   r   r      s        
 =F	 M "+(%	 M- - - -*     X  & & & % % X% 0 0 0 $ $ X$ . . ." " " X" * * *"  6. . .  1 1 11 1 1 1 1r   r   )r[   rL   rer<   volcenginesdkcore.configurationr   objectr   r_   r   r   <module>rc      s|      				 



 9 9 9 9 9 9A1 A1 A1 A1 A1 A1 A1 A1 A1 A1r   