
    ~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
    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                      e Zd ZdZ	 ddddddddddd
Zd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ed%             Zej	        d&             Zd' Zd( Zd) Zd* Zd+ ZdS )-CreateVikingdbIndexRequestzsNOTE: This class is auto generated by the swagger code generator program.

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


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


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


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


        :param cpu_quota: The cpu_quota of this CreateVikingdbIndexRequest.  # 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$CreateVikingdbIndexRequest.cpu_quota   s;     6 	l%)a--jkkk#r-   c                     | j         S )zGets the description of this CreateVikingdbIndexRequest.  # noqa: E501


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


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


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


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


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


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


        :return: The resource_id of this CreateVikingdbIndexRequest.  # noqa: E501
        :rtype: str
        r$   r0   s    r+   r   z&CreateVikingdbIndexRequest.resource_id   r9   r-   c                     || _         dS )zSets the resource_id of this CreateVikingdbIndexRequest.


        :param resource_id: The resource_id of this CreateVikingdbIndexRequest.  # noqa: E501
        :type: str
        NrD   )r*   r   s     r+   r   z&CreateVikingdbIndexRequest.resource_id   r;   r-   c                     | j         S )zGets the scalar_index of this CreateVikingdbIndexRequest.  # noqa: E501


        :return: The scalar_index of this CreateVikingdbIndexRequest.  # noqa: E501
        :rtype: list[str]
        r%   r0   s    r+   r   z'CreateVikingdbIndexRequest.scalar_index   r@   r-   c                     || _         dS )zSets the scalar_index of this CreateVikingdbIndexRequest.


        :param scalar_index: The scalar_index of this CreateVikingdbIndexRequest.  # noqa: E501
        :type: list[str]
        NrG   )r*   r   s     r+   r   z'CreateVikingdbIndexRequest.scalar_index   rB   r-   c                     | j         S )zGets the shard_count of this CreateVikingdbIndexRequest.  # noqa: E501


        :return: The shard_count of this CreateVikingdbIndexRequest.  # noqa: E501
        :rtype: int
        r&   r0   s    r+   r   z&CreateVikingdbIndexRequest.shard_count   r9   r-   c                     || _         dS )zSets the shard_count of this CreateVikingdbIndexRequest.


        :param shard_count: The shard_count of this CreateVikingdbIndexRequest.  # noqa: E501
        :type: int
        NrJ   )r*   r   s     r+   r   z&CreateVikingdbIndexRequest.shard_count  r;   r-   c                     | j         S )zGets the shard_policy of this CreateVikingdbIndexRequest.  # noqa: E501


        :return: The shard_policy of this CreateVikingdbIndexRequest.  # noqa: E501
        :rtype: str
        )r'   r0   s    r+   r   z'CreateVikingdbIndexRequest.shard_policy  r@   r-   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the shard_policy of this CreateVikingdbIndexRequest.


        :param shard_policy: The shard_policy of this CreateVikingdbIndexRequest.  # noqa: E501
        :type: str
        autocustomz:Invalid value for `shard_policy` ({0}), must be one of {1}N)r   r5   r6   formatr'   )r*   r   allowed_valuess      r+   r   z'CreateVikingdbIndexRequest.shard_policy  s[     !(+6 	N22Ln55  
 *r-   c                     | j         S )zGets the vector_index of this CreateVikingdbIndexRequest.  # noqa: E501


        :return: The vector_index of this CreateVikingdbIndexRequest.  # noqa: E501
        :rtype: VectorIndexForCreateVikingdbIndexInput
        r(   r0   s    r+   r   z'CreateVikingdbIndexRequest.vector_index,  r@   r-   c                     || _         dS )zSets the vector_index of this CreateVikingdbIndexRequest.


        :param vector_index: The vector_index of this CreateVikingdbIndexRequest.  # noqa: E501
        :type: VectorIndexForCreateVikingdbIndexInput
        NrS   )r*   r   s     r+   r   z'CreateVikingdbIndexRequest.vector_index6  rB   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hasattrrW   )xs    r+   <lambda>z4CreateVikingdbIndexRequest.to_dict.<locals>.<lambda>I  s!    WQ	-B-BIaiikkk r-   rW   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr4   rW   r   rX   )items    r+   r[   z4CreateVikingdbIndexRequest.to_dict.<locals>.<lambda>P  s<    tAw	22"=$q'47??+<+<!=!=8< r-   )six	iteritemsswagger_typesgetattr
isinstancelistmaprY   rW   dictitems
issubclassr   )r*   resultattr_valuekeys         r+   rW   z"CreateVikingdbIndexRequest.to_dictA  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pformatrW   r0   s    r+   to_strz!CreateVikingdbIndexRequest.to_str\  s    ~dllnn---r-   c                 *    |                                  S )zFor `print` and `pprint`)rp   r0   s    r+   __repr__z#CreateVikingdbIndexRequest.__repr__`  s    {{}}r-   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrb   r   rW   r*   others     r+   __eq__z!CreateVikingdbIndexRequest.__eq__d  s5    %!;<< 	5||~~00r-   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrt   ru   s     r+   __ne__z!CreateVikingdbIndexRequest.__ne__k  s5    %!;<< 	4||~~00r-   )NNNNNNNNNNN)__name__
__module____qualname____doc__r`   attribute_mapr,   propertyr	   setterr
   r   r   r   r   r   r   r   r   rW   rp   rr   rw   ry    r-   r+   r   r      s        
 !#@ M ,$!%#%#%% M$- $- $- $-L % % X% 0 0 0   X $ $ $ ! ! X! ( ( (     X  
& 
& 
& " " X" * * * ! ! X! ( ( ( " " X" * * * ! ! X! ( ( ( " " X" * * *" " " X" * * *  6. . .  1 1 11 1 1 1 1r-   r   )r}   rn   rer^   volcenginesdkcore.configurationr   objectr   r   r-   r+   <module>r      s|      				 



 9 9 9 9 9 9Z1 Z1 Z1 Z1 Z1 Z1 Z1 Z1 Z1 Z1r-   