
    ~iT                     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 )\ModifyDBEndpointRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    auto_add_new_nodesboolconnect_all_slave_nodesconnection_pool_typestrdescriptionenable_connection_persistentendpoint_idendpoint_name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[ReadOnlyNodeWeightForModifyDBEndpointInput])read_only_node_weightread_write_moderead_write_splitingAutoAddNewNodesConnectAllSlaveNodesConnectionPoolTypeDescriptionEnableConnectionPersistent
EndpointIdEndpointName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 )z4ModifyDBEndpointRequest - a model defined in SwaggerN)+r   _configuration_auto_add_new_nodes_connect_all_slave_nodes_connection_pool_type_description_enable_connection_persistent_endpoint_id_endpoint_name_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/modify_db_endpoint_request.py__init__z ModifyDBEndpointRequest.__init__Q   s   !*__N,#' (,%%)" -1* "(,%%)" $(!)-&&*#$(!15..2+&*# $$(!!)&8D#".+BD(+(<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 ModifyDBEndpointRequest.  # noqa: E501


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


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


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


        :param connect_all_slave_nodes: The connect_all_slave_nodes of this ModifyDBEndpointRequest.  # noqa: E501
        :type: bool
        NrQ   )rH   r   s     rI   r   z/ModifyDBEndpointRequest.connect_all_slave_nodes        )@%%%rK   c                     | j         S )zGets the connection_pool_type of this ModifyDBEndpointRequest.  # noqa: E501


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


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


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


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


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


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


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


        :param endpoint_id: The endpoint_id of this ModifyDBEndpointRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `endpoint_id`, must not be `None`)r2   client_side_validation
ValueErrorr8   )rH   r   s     rI   r   z#ModifyDBEndpointRequest.endpoint_id  5     5 	T+:MRSSS'rK   c                     | j         S )zGets the endpoint_name of this ModifyDBEndpointRequest.  # noqa: E501


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


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


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


        :param idle_connection_reclaim: The idle_connection_reclaim of this ModifyDBEndpointRequest.  # noqa: E501
        :type: bool
        Nrj   )rH   r   s     rI   r   z/ModifyDBEndpointRequest.idle_connection_reclaim3  rT   rK   c                     | j         S )zGets the implicit_trans_split of this ModifyDBEndpointRequest.  # noqa: E501


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


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


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


        :param instance_id: The instance_id of this ModifyDBEndpointRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `instance_id`, must not be `None`)r2   rc   rd   r<   )rH   r   s     rI   r   z#ModifyDBEndpointRequest.instance_id]  re   rK   c                     | j         S )zGets the master_node_routing of this ModifyDBEndpointRequest.  # noqa: E501


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


        :param read_write_spliting: The read_write_spliting of this ModifyDBEndpointRequest.  # noqa: E501
        :type: bool
        Nr   )rH   r   s     rI   r   z+ModifyDBEndpointRequest.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>z1ModifyDBEndpointRequest.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   z1ModifyDBEndpointRequest.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ModifyDBEndpointRequest.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ModifyDBEndpointRequest.to_strW  s    ~dllnn---rK   c                 *    |                                  S )zFor `print` and `pprint`)r   rN   s    rI   __repr__z ModifyDBEndpointRequest.__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ModifyDBEndpointRequest.__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ModifyDBEndpointRequest.__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!6 	 	u	
 	' 	u 	 	"6 	 	u 	v 	#E 	  	 	v  	+E!" 	(#$ "T %)  M./!#9 	 4 	}	
 	'(D 	| 	 	"#: 	 4 	| 	2 	#$< 	 !6 	 	3  	+,J!" 	()C#$ "6*2)  M.A; A; A; A;F ( ( X( 6 6 6 - - X- #@ @ $#@ * * 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   