
    ~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 )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	 dddddddddZddd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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 )&RestartDBInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strz	list[str]bool)apply_scopecustom_node_idsforce_restart_masterinstance_idrestart_with_proxyspecified_switch_end_timespecified_switch_start_timeswitch_type
ApplyScopeCustomNodeIdsForceRestartMaster
InstanceIdRestartWithProxySpecifiedSwitchEndTimeSpecifiedSwitchStartTime
SwitchTypeNc
                 B   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        |	|| _        dS dS )z5RestartDBInstanceRequest - a model defined in SwaggerN)r   _configuration_apply_scope_custom_node_ids_force_restart_master_instance_id_restart_with_proxy_specified_switch_end_time_specified_switch_start_time_switch_typediscriminatorr   r	   r
   r   r   r   r   r   )
selfr   r	   r
   r   r   r   r   r   r   s
             /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkrdsmysqlv2/models/restart_db_instance_request.py__init__z!RestartDBInstanceRequest.__init__9   s    !*__N,  $%)" #' *.',0) !"*D&#2D +(<D%&)&8D#$0-FD*&2/JD,"*D #"    c                     | j         S )zGets the apply_scope of this RestartDBInstanceRequest.  # noqa: E501


        :return: The apply_scope of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: str
        r   r#   s    r$   r   z$RestartDBInstanceRequest.apply_scopeY          r&   c                     || _         dS )zSets the apply_scope of this RestartDBInstanceRequest.


        :param apply_scope: The apply_scope of this RestartDBInstanceRequest.  # noqa: E501
        :type: str
        Nr(   )r#   r   s     r$   r   z$RestartDBInstanceRequest.apply_scopec        (r&   c                     | j         S )zGets the custom_node_ids of this RestartDBInstanceRequest.  # noqa: E501


        :return: The custom_node_ids of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: list[str]
        r   r)   s    r$   r	   z(RestartDBInstanceRequest.custom_node_idsn   s     $$r&   c                     || _         dS )zSets the custom_node_ids of this RestartDBInstanceRequest.


        :param custom_node_ids: The custom_node_ids of this RestartDBInstanceRequest.  # noqa: E501
        :type: list[str]
        Nr.   )r#   r	   s     r$   r	   z(RestartDBInstanceRequest.custom_node_idsx   s     !0r&   c                     | j         S )zGets the force_restart_master of this RestartDBInstanceRequest.  # noqa: E501


        :return: The force_restart_master of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: bool
        r   r)   s    r$   r
   z-RestartDBInstanceRequest.force_restart_master   s     ))r&   c                     || _         dS )zSets the force_restart_master of this RestartDBInstanceRequest.


        :param force_restart_master: The force_restart_master of this RestartDBInstanceRequest.  # noqa: E501
        :type: bool
        Nr1   )r#   r
   s     r$   r
   z-RestartDBInstanceRequest.force_restart_master   s     &:"""r&   c                     | j         S )zGets the instance_id of this RestartDBInstanceRequest.  # noqa: E501


        :return: The instance_id of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: str
        )r   r)   s    r$   r   z$RestartDBInstanceRequest.instance_id   r*   r&   c                 N    | j         j        r|t          d          || _        dS )zSets the instance_id of this RestartDBInstanceRequest.


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


        :return: The restart_with_proxy of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: bool
        r   r)   s    r$   r   z+RestartDBInstanceRequest.restart_with_proxy   s     ''r&   c                     || _         dS )zSets the restart_with_proxy of this RestartDBInstanceRequest.


        :param restart_with_proxy: The restart_with_proxy of this RestartDBInstanceRequest.  # noqa: E501
        :type: bool
        Nr8   )r#   r   s     r$   r   z+RestartDBInstanceRequest.restart_with_proxy   s     $6   r&   c                     | j         S )zGets the specified_switch_end_time of this RestartDBInstanceRequest.  # noqa: E501


        :return: The specified_switch_end_time of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r$   r   z2RestartDBInstanceRequest.specified_switch_end_time   s     ..r&   c                     || _         dS )zSets the specified_switch_end_time of this RestartDBInstanceRequest.


        :param specified_switch_end_time: The specified_switch_end_time of this RestartDBInstanceRequest.  # noqa: E501
        :type: str
        Nr;   )r#   r   s     r$   r   z2RestartDBInstanceRequest.specified_switch_end_time   s     +D'''r&   c                     | j         S )zGets the specified_switch_start_time of this RestartDBInstanceRequest.  # noqa: E501


        :return: The specified_switch_start_time of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: str
        r    r)   s    r$   r   z4RestartDBInstanceRequest.specified_switch_start_time   s     00r&   c                     || _         dS )zSets the specified_switch_start_time of this RestartDBInstanceRequest.


        :param specified_switch_start_time: The specified_switch_start_time of this RestartDBInstanceRequest.  # noqa: E501
        :type: str
        Nr>   )r#   r   s     r$   r   z4RestartDBInstanceRequest.specified_switch_start_time   s     -H)))r&   c                     | j         S )zGets the switch_type of this RestartDBInstanceRequest.  # noqa: E501


        :return: The switch_type of this RestartDBInstanceRequest.  # noqa: E501
        :rtype: str
        r!   r)   s    r$   r   z$RestartDBInstanceRequest.switch_type   r*   r&   c                     || _         dS )zSets the switch_type of this RestartDBInstanceRequest.


        :param switch_type: The switch_type of this RestartDBInstanceRequest.  # noqa: E501
        :type: str
        NrA   )r#   r   s     r$   r   z$RestartDBInstanceRequest.switch_type   r,   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hasattrrE   )xs    r$   <lambda>z2RestartDBInstanceRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r&   rE   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rE   r   rF   )items    r$   rI   z2RestartDBInstanceRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r&   )six	iteritemsswagger_typesgetattr
isinstancelistmaprG   rE   dictitems
issubclassr   )r#   resultattr_valuekeys         r$   rE   z RestartDBInstanceRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t.55 	$"jjll $ $
U#sr&   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrE   r)   s    r$   to_strzRestartDBInstanceRequest.to_str  s    ~dllnn---r&   c                 *    |                                  S )zFor `print` and `pprint`)r_   r)   s    r$   __repr__z!RestartDBInstanceRequest.__repr__"  s    {{}}r&   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrQ   r   rE   r#   others     r$   __eq__zRestartDBInstanceRequest.__eq__&  s5    %!9:: 	5||~~00r&   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrc   rd   s     r$   __ne__zRestartDBInstanceRequest.__ne__-  s5    %!9:: 	4||~~00r&   )	NNNNNNNNN)__name__
__module____qualname____doc__rO   attribute_mapr%   propertyr   setterr	   r
   r   r   r   r   r   rE   r_   ra   rf   rh    r&   r$   r   r      s        
 & &$%*',	 	M $* 4#0%='A#	 	M+ + + +@ ! ! X! ( ( ( % % X% 0 0 0 * * X*  : : ! : ! ! X! 
( 
( 
( ( ( X( 6 6 6 / / X/ %D D &%D 1 1 X1 !'H H ('H ! ! X! ( ( (  6. . .  1 1 11 1 1 1 1r&   r   )rl   r]   rerM   volcenginesdkcore.configurationr   objectr   rp   r&   r$   <module>rt      s|      				 



 9 9 9 9 9 9\1 \1 \1 \1 \1v \1 \1 \1 \1 \1r&   