
    ~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 )a  
    rds_postgresql

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

    Do not edit the class manually.
    str)data_optioninstance_idnew_db_nameplpgsql_optionsource_db_name
DataOption
InstanceId	NewDBNamePLPGSQLOptionSourceDBNameNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        || _	        ||| _
        ||| _        || _        dS )z1CloneDatabaseRequest - a model defined in SwaggerN)r   _configuration_data_option_instance_id_new_db_name_plpgsql_option_source_db_namediscriminatorr   r   r	   r
   r   )selfr   r   r	   r
   r   r   s          /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkrdspostgresql/models/clone_database_request.py__init__zCloneDatabaseRequest.__init__3   s    !*__N,   ##!"*D&"*D%"0D,    c                     | j         S )zGets the data_option of this CloneDatabaseRequest.  # noqa: E501


        :return: The data_option of this CloneDatabaseRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r   z CloneDatabaseRequest.data_optionI          r   c                     || _         dS )zSets the data_option of this CloneDatabaseRequest.


        :param data_option: The data_option of this CloneDatabaseRequest.  # noqa: E501
        :type: str
        Nr   )r   r   s     r   r   z CloneDatabaseRequest.data_optionS        (r   c                     | j         S )zGets the instance_id of this CloneDatabaseRequest.  # noqa: E501


        :return: The instance_id of this CloneDatabaseRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z CloneDatabaseRequest.instance_id^   r    r   c                 N    | j         j        r|t          d          || _        dS )zSets the instance_id of this CloneDatabaseRequest.


        :param instance_id: The instance_id of this CloneDatabaseRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `instance_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   z CloneDatabaseRequest.instance_idh   s5     5 	T+:MRSSS'r   c                     | j         S )zGets the new_db_name of this CloneDatabaseRequest.  # noqa: E501


        :return: The new_db_name of this CloneDatabaseRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r	   z CloneDatabaseRequest.new_db_nameu   r    r   c                     || _         dS )zSets the new_db_name of this CloneDatabaseRequest.


        :param new_db_name: The new_db_name of this CloneDatabaseRequest.  # noqa: E501
        :type: str
        Nr(   )r   r	   s     r   r	   z CloneDatabaseRequest.new_db_name   r"   r   c                     | j         S )zGets the plpgsql_option of this CloneDatabaseRequest.  # noqa: E501


        :return: The plpgsql_option of this CloneDatabaseRequest.  # noqa: E501
        :rtype: str
        r   r   s    r   r
   z#CloneDatabaseRequest.plpgsql_option        ##r   c                     || _         dS )zSets the plpgsql_option of this CloneDatabaseRequest.


        :param plpgsql_option: The plpgsql_option of this CloneDatabaseRequest.  # noqa: E501
        :type: str
        Nr+   )r   r
   s     r   r
   z#CloneDatabaseRequest.plpgsql_option   s      .r   c                     | j         S )zGets the source_db_name of this CloneDatabaseRequest.  # noqa: E501


        :return: The source_db_name of this CloneDatabaseRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z#CloneDatabaseRequest.source_db_name   r,   r   c                 N    | j         j        r|t          d          || _        dS )zSets the source_db_name of this CloneDatabaseRequest.


        :param source_db_name: The source_db_name of this CloneDatabaseRequest.  # noqa: E501
        :type: str
        Nz6Invalid value for `source_db_name`, must not be `None`)r   r%   r&   r   )r   r   s     r   r   z#CloneDatabaseRequest.source_db_name   s5     5 	W.:PUVVV-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hasattrr2   )xs    r   <lambda>z.CloneDatabaseRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r2   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r2   r   r3   )items    r   r6   z.CloneDatabaseRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr4   r2   dictitems
issubclassr   )r   resultattr_valuekeys         r   r2   zCloneDatabaseRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t*D11 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr2   r   s    r   to_strzCloneDatabaseRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rL   r   s    r   __repr__zCloneDatabaseRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr>   r   r2   r   others     r   __eq__zCloneDatabaseRequest.__eq__   s5    %!566 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrP   rQ   s     r   __ne__zCloneDatabaseRequest.__ne__   s5    %!566 	4||~~00r   )NNNNNN)__name__
__module____qualname____doc__r<   attribute_mapr   propertyr   setterr   r	   r
   r   r2   rL   rN   rS   rU    r   r   r   r      s        
  M $#")( M- - - -, ! ! X! ( ( ( ! ! X! 
( 
( 
( ! ! X! ( ( ( $ $ X$ . . . $ $ X$ 
. 
. 
.  6. . .  1 1 11 1 1 1 1r   r   )rY   rJ   rer:   volcenginesdkcore.configurationr   objectr   r]   r   r   <module>ra      s|      				 



 9 9 9 9 9 9O1 O1 O1 O1 O16 O1 O1 O1 O1 O1r   