
    ~iB'                     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
    redis

    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 )&EnableShardedClusterRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    boolstrint)apply_immediatelybackup_point_nameclient_tokencreate_backupinstance_idshard_capacityshard_numbersharded_clusterApplyImmediatelyBackupPointNameClientTokenCreateBackup
InstanceIdShardCapacityShardNumberShardedClusterNc
                 2   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        || _        ||| _        ||| _        ||| _        || _        ||| _        || _        || _        dS )z8EnableShardedClusterRequest - a model defined in SwaggerN)r   _configuration_apply_immediately_backup_point_name_client_token_create_backup_instance_id_shard_capacity_shard_number_sharded_cluster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/volcenginesdkredis/models/enable_sharded_cluster_request.py__init__z$EnableShardedClusterRequest.__init__9   s    !*__N,"&"&!" #! $!!2(%6D"# ,D$!.D&%"0D(.    c                     | j         S )zGets the apply_immediately of this EnableShardedClusterRequest.  # noqa: E501


        :return: The apply_immediately of this EnableShardedClusterRequest.  # noqa: E501
        :rtype: bool
        )r   r$   s    r%   r	   z-EnableShardedClusterRequest.apply_immediatelyV        &&r'   c                 N    | j         j        r|t          d          || _        dS )zSets the apply_immediately of this EnableShardedClusterRequest.


        :param apply_immediately: The apply_immediately of this EnableShardedClusterRequest.  # noqa: E501
        :type: bool
        Nz9Invalid value for `apply_immediately`, must not be `None`)r   client_side_validation
ValueErrorr   )r$   r	   s     r%   r	   z-EnableShardedClusterRequest.apply_immediately`   s6     5 	Z:K:SXYYY"3r'   c                     | j         S )zGets the backup_point_name of this EnableShardedClusterRequest.  # noqa: E501


        :return: The backup_point_name of this EnableShardedClusterRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r%   r
   z-EnableShardedClusterRequest.backup_point_namem   r*   r'   c                     || _         dS )zSets the backup_point_name of this EnableShardedClusterRequest.


        :param backup_point_name: The backup_point_name of this EnableShardedClusterRequest.  # noqa: E501
        :type: str
        Nr/   )r$   r
   s     r%   r
   z-EnableShardedClusterRequest.backup_point_namew   s     #4r'   c                     | j         S )zGets the client_token of this EnableShardedClusterRequest.  # noqa: E501


        :return: The client_token of this EnableShardedClusterRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r%   r   z(EnableShardedClusterRequest.client_token        !!r'   c                     || _         dS )zSets the client_token of this EnableShardedClusterRequest.


        :param client_token: The client_token of this EnableShardedClusterRequest.  # noqa: E501
        :type: str
        Nr2   )r$   r   s     r%   r   z(EnableShardedClusterRequest.client_token   s     *r'   c                     | j         S )zGets the create_backup of this EnableShardedClusterRequest.  # noqa: E501


        :return: The create_backup of this EnableShardedClusterRequest.  # noqa: E501
        :rtype: bool
        r   r)   s    r%   r   z)EnableShardedClusterRequest.create_backup   s     ""r'   c                     || _         dS )zSets the create_backup of this EnableShardedClusterRequest.


        :param create_backup: The create_backup of this EnableShardedClusterRequest.  # noqa: E501
        :type: bool
        Nr6   )r$   r   s     r%   r   z)EnableShardedClusterRequest.create_backup   s     ,r'   c                     | j         S )zGets the instance_id of this EnableShardedClusterRequest.  # noqa: E501


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


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


        :return: The shard_capacity of this EnableShardedClusterRequest.  # noqa: E501
        :rtype: int
        r    r)   s    r%   r   z*EnableShardedClusterRequest.shard_capacity   s     ##r'   c                     || _         dS )zSets the shard_capacity of this EnableShardedClusterRequest.


        :param shard_capacity: The shard_capacity of this EnableShardedClusterRequest.  # noqa: E501
        :type: int
        Nr;   )r$   r   s     r%   r   z*EnableShardedClusterRequest.shard_capacity   s      .r'   c                     | j         S )zGets the shard_number of this EnableShardedClusterRequest.  # noqa: E501


        :return: The shard_number of this EnableShardedClusterRequest.  # noqa: E501
        :rtype: int
        )r!   r)   s    r%   r   z(EnableShardedClusterRequest.shard_number   r3   r'   c                 N    | j         j        r|t          d          || _        dS )zSets the shard_number of this EnableShardedClusterRequest.


        :param shard_number: The shard_number of this EnableShardedClusterRequest.  # noqa: E501
        :type: int
        Nz4Invalid value for `shard_number`, must not be `None`)r   r,   r-   r!   )r$   r   s     r%   r   z(EnableShardedClusterRequest.shard_number   s5     5 	U,:NSTTT)r'   c                     | j         S )zGets the sharded_cluster of this EnableShardedClusterRequest.  # noqa: E501


        :return: The sharded_cluster of this EnableShardedClusterRequest.  # noqa: E501
        :rtype: int
        )r"   r)   s    r%   r   z+EnableShardedClusterRequest.sharded_cluster   s     $$r'   c                 N    | j         j        r|t          d          || _        dS )zSets the sharded_cluster of this EnableShardedClusterRequest.


        :param sharded_cluster: The sharded_cluster of this EnableShardedClusterRequest.  # noqa: E501
        :type: int
        Nz7Invalid value for `sharded_cluster`, must not be `None`)r   r,   r-   r"   )r$   r   s     r%   r   z+EnableShardedClusterRequest.sharded_cluster   s5     5 	X/:QVWWW /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hasattrrC   )xs    r%   <lambda>z5EnableShardedClusterRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r'   rC   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rC   r   rD   )items    r%   rG   z5EnableShardedClusterRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r'   )six	iteritemsswagger_typesgetattr
isinstancelistmaprE   rC   dictitems
issubclassr   )r$   resultattr_valuekeys         r%   rC   z#EnableShardedClusterRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t1488 	$"jjll $ $
U#sr'   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrC   r)   s    r%   to_strz"EnableShardedClusterRequest.to_str!  s    ~dllnn---r'   c                 *    |                                  S )zFor `print` and `pprint`)r]   r)   s    r%   __repr__z$EnableShardedClusterRequest.__repr__%  s    {{}}r'   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrO   r   rC   r$   others     r%   __eq__z"EnableShardedClusterRequest.__eq__)  s5    %!<== 	5||~~00r'   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTra   rb   s     r%   __ne__z"EnableShardedClusterRequest.__ne__0  s5    %!<== 	4||~~00r'   )	NNNNNNNNN)__name__
__module____qualname____doc__rM   attribute_mapr&   propertyr	   setterr
   r   r   r   r   r   r   rC   r]   r_   rd   rf    r'   r%   r   r      s        
 $" 	 	M 0.%'#)%+	 	M/ / / /: ' ' X' 
4 
4 
4 ' ' X' 4 4 4 " " X" * * * # # X# , , , ! ! X! 
( 
( 
( $ $ X$ . . . " " X" 
* 
* 
* % % X% 
0 
0 
0  6. . .  1 1 11 1 1 1 1r'   r   )rj   r[   rerK   volcenginesdkcore.configurationr   objectr   rn   r'   r%   <module>rr      s|      				 



 9 9 9 9 9 9_1 _1 _1 _1 _1& _1 _1 _1 _1 _1r'   