
    ~is)                     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
    vikingdb

    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            
       P   e Zd ZdZ	 dddddddddd	Zd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ed!             Zej	        d"             Zd# Zd$ Zd% Zd& Zd' ZdS ))UpdateVikingdbIndexRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strintz	list[str])	collection_name	cpu_quotadescription
index_nameproject_nameresource_idscalar_indexshard_countshard_policyCollectionNameCpuQuotaDescription	IndexNameProjectName
ResourceIdScalarIndex
ShardCountShardPolicyNc                 b   |
t                      }
|
| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        ||| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        ||| _        |		|	| _        dS dS )z7UpdateVikingdbIndexRequest - a model defined in SwaggerN)r   _configuration_collection_name
_cpu_quota_description_index_name_project_name_resource_id_scalar_index_shard_count_shard_policydiscriminatorr   r	   r
   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   s              /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvikingdb/models/update_vikingdb_index_request.py__init__z#UpdateVikingdbIndexRequest.__init__;   s    !*__N, $ ! ! !!&#2D  &DN"*D$# ,D"*D# ,D"*D# ,D $#    c                     | j         S )zGets the collection_name of this UpdateVikingdbIndexRequest.  # noqa: E501


        :return: The collection_name of this UpdateVikingdbIndexRequest.  # noqa: E501
        :rtype: str
        r   r&   s    r'   r   z*UpdateVikingdbIndexRequest.collection_name^   s     $$r)   c                     || _         dS )zSets the collection_name of this UpdateVikingdbIndexRequest.


        :param collection_name: The collection_name of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: str
        Nr+   )r&   r   s     r'   r   z*UpdateVikingdbIndexRequest.collection_nameh   s     !0r)   c                     | j         S )zGets the cpu_quota of this UpdateVikingdbIndexRequest.  # noqa: E501


        :return: The cpu_quota of this UpdateVikingdbIndexRequest.  # noqa: E501
        :rtype: int
        )r   r,   s    r'   r	   z$UpdateVikingdbIndexRequest.cpu_quotas   s     r)   c                 Z    | j         j        r||dk     rt          d          || _        dS )zSets the cpu_quota of this UpdateVikingdbIndexRequest.


        :param cpu_quota: The cpu_quota of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: int
        N   zKInvalid value for `cpu_quota`, must be a value greater than or equal to `1`)r   client_side_validation
ValueErrorr   )r&   r	   s     r'   r	   z$UpdateVikingdbIndexRequest.cpu_quota}   s;     6 	l%)a--jkkk#r)   c                     | j         S )zGets the description of this UpdateVikingdbIndexRequest.  # noqa: E501


        :return: The description of this UpdateVikingdbIndexRequest.  # noqa: E501
        :rtype: str
        r   r,   s    r'   r
   z&UpdateVikingdbIndexRequest.description          r)   c                     || _         dS )zSets the description of this UpdateVikingdbIndexRequest.


        :param description: The description of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: str
        Nr4   )r&   r
   s     r'   r
   z&UpdateVikingdbIndexRequest.description        (r)   c                     | j         S )zGets the index_name of this UpdateVikingdbIndexRequest.  # noqa: E501


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


        :param index_name: The index_name of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `index_name`, must not be `None`)r   r1   r2   r   )r&   r   s     r'   r   z%UpdateVikingdbIndexRequest.index_name   s5     5 	S*:LQRRR%r)   c                     | j         S )zGets the project_name of this UpdateVikingdbIndexRequest.  # noqa: E501


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


        :param project_name: The project_name of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: str
        Nr;   )r&   r   s     r'   r   z'UpdateVikingdbIndexRequest.project_name        *r)   c                     | j         S )zGets the resource_id of this UpdateVikingdbIndexRequest.  # noqa: E501


        :return: The resource_id of this UpdateVikingdbIndexRequest.  # noqa: E501
        :rtype: str
        r!   r,   s    r'   r   z&UpdateVikingdbIndexRequest.resource_id   r5   r)   c                     || _         dS )zSets the resource_id of this UpdateVikingdbIndexRequest.


        :param resource_id: The resource_id of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: str
        Nr@   )r&   r   s     r'   r   z&UpdateVikingdbIndexRequest.resource_id   r7   r)   c                     | j         S )zGets the scalar_index of this UpdateVikingdbIndexRequest.  # noqa: E501


        :return: The scalar_index of this UpdateVikingdbIndexRequest.  # noqa: E501
        :rtype: list[str]
        r"   r,   s    r'   r   z'UpdateVikingdbIndexRequest.scalar_index   r<   r)   c                     || _         dS )zSets the scalar_index of this UpdateVikingdbIndexRequest.


        :param scalar_index: The scalar_index of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: list[str]
        NrC   )r&   r   s     r'   r   z'UpdateVikingdbIndexRequest.scalar_index   r>   r)   c                     | j         S )zGets the shard_count of this UpdateVikingdbIndexRequest.  # noqa: E501


        :return: The shard_count of this UpdateVikingdbIndexRequest.  # noqa: E501
        :rtype: int
        r#   r,   s    r'   r   z&UpdateVikingdbIndexRequest.shard_count   r5   r)   c                     || _         dS )zSets the shard_count of this UpdateVikingdbIndexRequest.


        :param shard_count: The shard_count of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: int
        NrF   )r&   r   s     r'   r   z&UpdateVikingdbIndexRequest.shard_count   r7   r)   c                     | j         S )zGets the shard_policy of this UpdateVikingdbIndexRequest.  # noqa: E501


        :return: The shard_policy of this UpdateVikingdbIndexRequest.  # noqa: E501
        :rtype: str
        )r$   r,   s    r'   r   z'UpdateVikingdbIndexRequest.shard_policy  r<   r)   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the shard_policy of this UpdateVikingdbIndexRequest.


        :param shard_policy: The shard_policy of this UpdateVikingdbIndexRequest.  # noqa: E501
        :type: str
        autocustomz:Invalid value for `shard_policy` ({0}), must be one of {1}N)r   r1   r2   formatr$   )r&   r   allowed_valuess      r'   r   z'UpdateVikingdbIndexRequest.shard_policy  s[     !(+6 	N22Ln55  
 *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hasattrrP   )xs    r'   <lambda>z4UpdateVikingdbIndexRequest.to_dict.<locals>.<lambda>/  s!    WQ	-B-BIaiikkk r)   rP   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr0   rP   r   rQ   )items    r'   rT   z4UpdateVikingdbIndexRequest.to_dict.<locals>.<lambda>6  s<    tAw	22"=$q'47??+<+<!=!=8< r)   )six	iteritemsswagger_typesgetattr
isinstancelistmaprR   rP   dictitems
issubclassr   )r&   resultattr_valuekeys         r'   rP   z"UpdateVikingdbIndexRequest.to_dict'  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t0$77 	$"jjll $ $
U#sr)   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrP   r,   s    r'   to_strz!UpdateVikingdbIndexRequest.to_strB  s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)ri   r,   s    r'   __repr__z#UpdateVikingdbIndexRequest.__repr__F  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr[   r   rP   r&   others     r'   __eq__z!UpdateVikingdbIndexRequest.__eq__J  s5    %!;<< 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrm   rn   s     r'   __ne__z!UpdateVikingdbIndexRequest.__ne__Q  s5    %!;<< 	4||~~00r)   )
NNNNNNNNNN)__name__
__module____qualname____doc__rY   attribute_mapr(   propertyr   setterr	   r
   r   r   r   r   r   r   rP   ri   rk   rp   rr    r)   r'   r   r      s        
 !#
 
M ,$!%#%#%
 
M!- !- !- !-F % % X% 0 0 0   X $ $ $ ! ! X! ( ( (     X  
& 
& 
& " " X" * * * ! ! X! ( ( ( " " X" * * * ! ! X! ( ( ( " " X" * * *"  6. . .  1 1 11 1 1 1 1r)   r   )rv   rg   rerW   volcenginesdkcore.configurationr   objectr   rz   r)   r'   <module>r~      s|      				 



 9 9 9 9 9 9@1 @1 @1 @1 @1 @1 @1 @1 @1 @1r)   