
    ~i#T                     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                   ^   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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Zd[d-Zed.             Zej	        d/             Zed0             Z
e
j	        d1             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dV ZdW ZdX ZdY Z dZ Z!d,S )\CreateDBEndpointRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    auto_add_new_nodesboolconnection_modestrconnection_pool_typedescriptionenable_connection_persistentendpoint_nameendpoint_typeidle_connection_reclaimimplicit_trans_splitinstance_idmaster_node_routingmaster_protector_timeoutintmulti_statements_modenodesoverload_protection read_only_node_distribution_typeread_only_node_max_delay_timez0list[ReadOnlyNodeWeightForCreateDBEndpointInput])read_only_node_weightread_write_moderead_write_splitingAutoAddNewNodesConnectionModeConnectionPoolTypeDescriptionEnableConnectionPersistentEndpointNameEndpointTypeIdleConnectionReclaimImplicitTransSplit
InstanceIdMasterNodeRoutingMasterProtectorTimeoutMultiStatementsModeNodesOverloadProtectionReadOnlyNodeDistributionTypeReadOnlyNodeMaxDelayTimeReadOnlyNodeWeightReadWriteModeReadWriteSplitingNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        ||| _        |	|	| _        |
| _         ||| _!        ||| _"        ||| _#        ||| _$        ||| _%        ||| _&        ||| _'        ||| _(        ||| _)        |	|| _*        dS dS )z4CreateDBEndpointRequest - a model defined in SwaggerN)+r   _configuration_auto_add_new_nodes_connection_mode_connection_pool_type_description_enable_connection_persistent_endpoint_name_endpoint_type_idle_connection_reclaim_implicit_trans_split_instance_id_master_node_routing_master_protector_timeout_multi_statements_mode_nodes_overload_protection!_read_only_node_distribution_type_read_only_node_max_delay_time_read_only_node_weight_read_write_mode_read_write_splitingdiscriminatorr   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   r2   s                         /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkrdsmysqlv2/models/create_db_endpoint_request.py__init__z CreateDBEndpointRequest.__init__Q   s   !*__N,#'  $%)" -1*""(,%%)" $(!)-&&*#$(!15..2+&*# $$(!!)&8D#&#2D +(<D%"*D'30LD-$!.D*".+BD(+(<D%&*':D$#/,DD) ,)>D&DJ*':D$+74TD1(41ND. ,)>D&&#2D *':D$$$ +*    c                     | j         S )zGets the auto_add_new_nodes of this CreateDBEndpointRequest.  # noqa: E501


        :return: The auto_add_new_nodes of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: bool
        r3   rH   s    rI   r   z*CreateDBEndpointRequest.auto_add_new_nodes   s     ''rK   c                     || _         dS )zSets the auto_add_new_nodes of this CreateDBEndpointRequest.


        :param auto_add_new_nodes: The auto_add_new_nodes of this CreateDBEndpointRequest.  # noqa: E501
        :type: bool
        NrM   )rH   r   s     rI   r   z*CreateDBEndpointRequest.auto_add_new_nodes   s     $6   rK   c                     | j         S )zGets the connection_mode of this CreateDBEndpointRequest.  # noqa: E501


        :return: The connection_mode of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        r4   rN   s    rI   r   z'CreateDBEndpointRequest.connection_mode        $$rK   c                     || _         dS )zSets the connection_mode of this CreateDBEndpointRequest.


        :param connection_mode: The connection_mode of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        NrQ   )rH   r   s     rI   r   z'CreateDBEndpointRequest.connection_mode        !0rK   c                     | j         S )zGets the connection_pool_type of this CreateDBEndpointRequest.  # noqa: E501


        :return: The connection_pool_type of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        r5   rN   s    rI   r
   z,CreateDBEndpointRequest.connection_pool_type        ))rK   c                     || _         dS )zSets the connection_pool_type of this CreateDBEndpointRequest.


        :param connection_pool_type: The connection_pool_type of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        NrV   )rH   r
   s     rI   r
   z,CreateDBEndpointRequest.connection_pool_type        &:"""rK   c                     | j         S )zGets the description of this CreateDBEndpointRequest.  # noqa: E501


        :return: The description of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        r6   rN   s    rI   r   z#CreateDBEndpointRequest.description          rK   c                     || _         dS )zSets the description of this CreateDBEndpointRequest.


        :param description: The description of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nr[   )rH   r   s     rI   r   z#CreateDBEndpointRequest.description   s     (rK   c                     | j         S )zGets the enable_connection_persistent of this CreateDBEndpointRequest.  # noqa: E501


        :return: The enable_connection_persistent of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: bool
        r7   rN   s    rI   r   z4CreateDBEndpointRequest.enable_connection_persistent   s     11rK   c                     || _         dS )zSets the enable_connection_persistent of this CreateDBEndpointRequest.


        :param enable_connection_persistent: The enable_connection_persistent of this CreateDBEndpointRequest.  # noqa: E501
        :type: bool
        Nr_   )rH   r   s     rI   r   z4CreateDBEndpointRequest.enable_connection_persistent   s     .J***rK   c                     | j         S )zGets the endpoint_name of this CreateDBEndpointRequest.  # noqa: E501


        :return: The endpoint_name of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        r8   rN   s    rI   r   z%CreateDBEndpointRequest.endpoint_name        ""rK   c                     || _         dS )zSets the endpoint_name of this CreateDBEndpointRequest.


        :param endpoint_name: The endpoint_name of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nrb   )rH   r   s     rI   r   z%CreateDBEndpointRequest.endpoint_name  s     ,rK   c                     | j         S )zGets the endpoint_type of this CreateDBEndpointRequest.  # noqa: E501


        :return: The endpoint_type of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        )r9   rN   s    rI   r   z%CreateDBEndpointRequest.endpoint_type  rc   rK   c                 N    | j         j        r|t          d          || _        dS )zSets the endpoint_type of this CreateDBEndpointRequest.


        :param endpoint_type: The endpoint_type of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nz5Invalid value for `endpoint_type`, must not be `None`)r2   client_side_validation
ValueErrorr9   )rH   r   s     rI   r   z%CreateDBEndpointRequest.endpoint_type  s5     5 	V-:OTUUU+rK   c                     | j         S )zGets the idle_connection_reclaim of this CreateDBEndpointRequest.  # noqa: E501


        :return: The idle_connection_reclaim of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: bool
        r:   rN   s    rI   r   z/CreateDBEndpointRequest.idle_connection_reclaim)  s     ,,rK   c                     || _         dS )zSets the idle_connection_reclaim of this CreateDBEndpointRequest.


        :param idle_connection_reclaim: The idle_connection_reclaim of this CreateDBEndpointRequest.  # noqa: E501
        :type: bool
        Nrj   )rH   r   s     rI   r   z/CreateDBEndpointRequest.idle_connection_reclaim3  s     )@%%%rK   c                     | j         S )zGets the implicit_trans_split of this CreateDBEndpointRequest.  # noqa: E501


        :return: The implicit_trans_split of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: bool
        r;   rN   s    rI   r   z,CreateDBEndpointRequest.implicit_trans_split>  rW   rK   c                     || _         dS )zSets the implicit_trans_split of this CreateDBEndpointRequest.


        :param implicit_trans_split: The implicit_trans_split of this CreateDBEndpointRequest.  # noqa: E501
        :type: bool
        Nrm   )rH   r   s     rI   r   z,CreateDBEndpointRequest.implicit_trans_splitH  rY   rK   c                     | j         S )zGets the instance_id of this CreateDBEndpointRequest.  # noqa: E501


        :return: The instance_id of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        )r<   rN   s    rI   r   z#CreateDBEndpointRequest.instance_idS  r\   rK   c                 N    | j         j        r|t          d          || _        dS )zSets the instance_id of this CreateDBEndpointRequest.


        :param instance_id: The instance_id of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `instance_id`, must not be `None`)r2   rg   rh   r<   )rH   r   s     rI   r   z#CreateDBEndpointRequest.instance_id]  s5     5 	T+:MRSSS'rK   c                     | j         S )zGets the master_node_routing of this CreateDBEndpointRequest.  # noqa: E501


        :return: The master_node_routing of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: bool
        r=   rN   s    rI   r   z+CreateDBEndpointRequest.master_node_routingj       ((rK   c                     || _         dS )zSets the master_node_routing of this CreateDBEndpointRequest.


        :param master_node_routing: The master_node_routing of this CreateDBEndpointRequest.  # noqa: E501
        :type: bool
        Nrr   )rH   r   s     rI   r   z+CreateDBEndpointRequest.master_node_routingt       %8!!!rK   c                     | j         S )zGets the master_protector_timeout of this CreateDBEndpointRequest.  # noqa: E501


        :return: The master_protector_timeout of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: int
        r>   rN   s    rI   r   z0CreateDBEndpointRequest.master_protector_timeout  s     --rK   c                     || _         dS )zSets the master_protector_timeout of this CreateDBEndpointRequest.


        :param master_protector_timeout: The master_protector_timeout of this CreateDBEndpointRequest.  # noqa: E501
        :type: int
        Nrw   )rH   r   s     rI   r   z0CreateDBEndpointRequest.master_protector_timeout  s     *B&&&rK   c                     | j         S )zGets the multi_statements_mode of this CreateDBEndpointRequest.  # noqa: E501


        :return: The multi_statements_mode of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        r?   rN   s    rI   r   z-CreateDBEndpointRequest.multi_statements_mode       **rK   c                     || _         dS )zSets the multi_statements_mode of this CreateDBEndpointRequest.


        :param multi_statements_mode: The multi_statements_mode of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nrz   )rH   r   s     rI   r   z-CreateDBEndpointRequest.multi_statements_mode       '<###rK   c                     | j         S )zGets the nodes of this CreateDBEndpointRequest.  # noqa: E501


        :return: The nodes of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        r@   rN   s    rI   r   zCreateDBEndpointRequest.nodes  s     {rK   c                     || _         dS )zSets the nodes of this CreateDBEndpointRequest.


        :param nodes: The nodes of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nr   )rH   r   s     rI   r   zCreateDBEndpointRequest.nodes  s     rK   c                     | j         S )zGets the overload_protection of this CreateDBEndpointRequest.  # noqa: E501


        :return: The overload_protection of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: bool
        rA   rN   s    rI   r   z+CreateDBEndpointRequest.overload_protection  rs   rK   c                     || _         dS )zSets the overload_protection of this CreateDBEndpointRequest.


        :param overload_protection: The overload_protection of this CreateDBEndpointRequest.  # noqa: E501
        :type: bool
        Nr   )rH   r   s     rI   r   z+CreateDBEndpointRequest.overload_protection  ru   rK   c                     | j         S )zGets the read_only_node_distribution_type of this CreateDBEndpointRequest.  # noqa: E501


        :return: The read_only_node_distribution_type of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        rB   rN   s    rI   r   z8CreateDBEndpointRequest.read_only_node_distribution_type  s     55rK   c                     || _         dS )zSets the read_only_node_distribution_type of this CreateDBEndpointRequest.


        :param read_only_node_distribution_type: The read_only_node_distribution_type of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nr   )rH   r   s     rI   r   z8CreateDBEndpointRequest.read_only_node_distribution_type  s     2R...rK   c                     | j         S )zGets the read_only_node_max_delay_time of this CreateDBEndpointRequest.  # noqa: E501


        :return: The read_only_node_max_delay_time of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: int
        rC   rN   s    rI   r   z5CreateDBEndpointRequest.read_only_node_max_delay_time  s     22rK   c                     || _         dS )zSets the read_only_node_max_delay_time of this CreateDBEndpointRequest.


        :param read_only_node_max_delay_time: The read_only_node_max_delay_time of this CreateDBEndpointRequest.  # noqa: E501
        :type: int
        Nr   )rH   r   s     rI   r   z5CreateDBEndpointRequest.read_only_node_max_delay_time  s     /L+++rK   c                     | j         S )zGets the read_only_node_weight of this CreateDBEndpointRequest.  # noqa: E501


        :return: The read_only_node_weight of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: list[ReadOnlyNodeWeightForCreateDBEndpointInput]
        rD   rN   s    rI   r   z-CreateDBEndpointRequest.read_only_node_weight  r{   rK   c                     || _         dS )zSets the read_only_node_weight of this CreateDBEndpointRequest.


        :param read_only_node_weight: The read_only_node_weight of this CreateDBEndpointRequest.  # noqa: E501
        :type: list[ReadOnlyNodeWeightForCreateDBEndpointInput]
        Nr   )rH   r   s     rI   r   z-CreateDBEndpointRequest.read_only_node_weight  r}   rK   c                     | j         S )zGets the read_write_mode of this CreateDBEndpointRequest.  # noqa: E501


        :return: The read_write_mode of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: str
        rE   rN   s    rI   r   z'CreateDBEndpointRequest.read_write_mode  rR   rK   c                     || _         dS )zSets the read_write_mode of this CreateDBEndpointRequest.


        :param read_write_mode: The read_write_mode of this CreateDBEndpointRequest.  # noqa: E501
        :type: str
        Nr   )rH   r   s     rI   r   z'CreateDBEndpointRequest.read_write_mode  rT   rK   c                     | j         S )zGets the read_write_spliting of this CreateDBEndpointRequest.  # noqa: E501


        :return: The read_write_spliting of this CreateDBEndpointRequest.  # noqa: E501
        :rtype: bool
        rF   rN   s    rI   r   z+CreateDBEndpointRequest.read_write_spliting'  rs   rK   c                     || _         dS )zSets the read_write_spliting of this CreateDBEndpointRequest.


        :param read_write_spliting: The read_write_spliting of this CreateDBEndpointRequest.  # noqa: E501
        :type: bool
        Nr   )rH   r   s     rI   r   z+CreateDBEndpointRequest.read_write_spliting1  ru   rK   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    rI   <lambda>z1CreateDBEndpointRequest.to_dict.<locals>.<lambda>D  s!    WQ	-B-BIaiikkk rK   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    rI   r   z1CreateDBEndpointRequest.to_dict.<locals>.<lambda>K  s<    tAw	22"=$q'47??+<+<!=!=8< rK   )six	iteritemsswagger_typesgetattr
isinstancelistmapr   r   dictitems
issubclassr   )rH   resultattr_valuekeys         rI   r   zCreateDBEndpointRequest.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rK   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   rN   s    rI   to_strzCreateDBEndpointRequest.to_strW  s    ~dllnn---rK   c                 *    |                                  S )zFor `print` and `pprint`)r   rN   s    rI   __repr__z CreateDBEndpointRequest.__repr__[  s    {{}}rK   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r   rH   others     rI   __eq__zCreateDBEndpointRequest.__eq___  s5    %!899 	5||~~00rK   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     rI   __ne__zCreateDBEndpointRequest.__ne__f  s5    %!899 	4||~~00rK   )NNNNNNNNNNNNNNNNNNNNN)"__name__
__module____qualname____doc__r   attribute_maprJ   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    rK   rI   r   r      s        
f5 	 	u	
 	' 	 	 	"6 	 	u 	v 	#E 	  	 	v  	+E!" 	(#$ "T %)  M./+ 	 4 	}	
 	'(D 	 	 	"#: 	 4 	| 	2 	#$< 	 !6 	 	3  	+,J!" 	()C#$ "6*2)  M.A; A; A; A;F ( ( X( 6 6 6 % % X% 0 0 0 * * X*  : : ! : ! ! X! ( ( ( 2 2 X2 "(J J )(J # # X# , , , # # X# 
, 
, 
, - - X- #@ @ $#@ * * X*  : : ! : ! ! X! 
( 
( 
( ) ) X) 8 8  8 . . X. $B B %$B + + X+ !< < "!<   X \  \ ) ) X) 8 8  8 6 6 X6 &,R R -,R 3 3 X3 #)L L *)L + + X+ !< < "!< % % X% 0 0 0 ) ) X) 8 8  8  6. . .  1 1 11 1 1 1 1rK   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   rK   rI   <module>r      s|      				 



 9 9 9 9 9 9U	1 U	1 U	1 U	1 U	1f U	1 U	1 U	1 U	1 U	1rK   