
    ~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Z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d Zd Zd Zd Zd ZdS )!CreateVikingdbCollectionRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strz+list[FieldForCreateVikingdbCollectionInput]z)list[TagForCreateVikingdbCollectionInput])VectorizeForCreateVikingdbCollectionInput)collection_namedescriptionfieldsproject_nametags	vectorizeCollectionNameDescriptionFieldsProjectNameTags	VectorizeNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        || _	        ||| _
        ||| _        ||| _        ||| _        |	|| _        dS dS )z<CreateVikingdbCollectionRequest - a model defined in SwaggerN)r   _configuration_collection_name_description_fields_project_name_tags
_vectorizediscriminatorr   r	   r
   r   r   r   )selfr   r	   r
   r   r   r   r   s           /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvikingdb/models/create_vikingdb_collection_request.py__init__z(CreateVikingdbCollectionRequest.__init__5   s    !*__N, $ !
!."*D DK# ,DDI &DNNN !     c                     | j         S )zGets the collection_name of this CreateVikingdbCollectionRequest.  # noqa: E501


        :return: The collection_name of this CreateVikingdbCollectionRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   z/CreateVikingdbCollectionRequest.collection_nameO   s     $$r    c                    | j         j        r|t          d          | j         j        r$|"t          |          dk    rt          d          | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the collection_name of this CreateVikingdbCollectionRequest.


        :param collection_name: The collection_name of this CreateVikingdbCollectionRequest.  # noqa: E501
        :type: str
        Nz7Invalid value for `collection_name`, must not be `None`   zOInvalid value for `collection_name`, length must be less than or equal to `128`   zPInvalid value for `collection_name`, length must be greater than or equal to `1`)r   client_side_validation
ValueErrorlenr   )r   r   s     r   r   z/CreateVikingdbCollectionRequest.collection_nameY   s     5 	X/:QVWWW6 	p+O0D0Ds0J0Jnooo6 	q+O0D0Dq0H0Hoppp /r    c                     | j         S )zGets the description of this CreateVikingdbCollectionRequest.  # noqa: E501


        :return: The description of this CreateVikingdbCollectionRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r	   z+CreateVikingdbCollectionRequest.descriptionl   s       r    c                 t    | j         j        r$|"t          |          dk    rt          d          || _        dS )zSets the description of this CreateVikingdbCollectionRequest.


        :param description: The description of this CreateVikingdbCollectionRequest.  # noqa: E501
        :type: str
        Ni  zMInvalid value for `description`, length must be less than or equal to `65535`)r   r&   r(   r'   r   )r   r	   s     r   r	   z+CreateVikingdbCollectionRequest.descriptionv   sH     6 	n'C,<,<u,D,Dlmmm'r    c                     | j         S )zGets the fields of this CreateVikingdbCollectionRequest.  # noqa: E501


        :return: The fields of this CreateVikingdbCollectionRequest.  # noqa: E501
        :rtype: list[FieldForCreateVikingdbCollectionInput]
        r   r"   s    r   r
   z&CreateVikingdbCollectionRequest.fields   s     |r    c                     || _         dS )zSets the fields of this CreateVikingdbCollectionRequest.


        :param fields: The fields of this CreateVikingdbCollectionRequest.  # noqa: E501
        :type: list[FieldForCreateVikingdbCollectionInput]
        Nr,   )r   r
   s     r   r
   z&CreateVikingdbCollectionRequest.fields   s     r    c                     | j         S )zGets the project_name of this CreateVikingdbCollectionRequest.  # noqa: E501


        :return: The project_name of this CreateVikingdbCollectionRequest.  # noqa: E501
        :rtype: str
        )r   r"   s    r   r   z,CreateVikingdbCollectionRequest.project_name   s     !!r    c                 t    | j         j        r$|"t          |          dk     rt          d          || _        dS )zSets the project_name of this CreateVikingdbCollectionRequest.


        :param project_name: The project_name of this CreateVikingdbCollectionRequest.  # noqa: E501
        :type: str
        Nr%   zMInvalid value for `project_name`, length must be greater than or equal to `1`)r   r&   r(   r'   r   )r   r   s     r   r   z,CreateVikingdbCollectionRequest.project_name   sH     6 	n(S->->-B-Blmmm)r    c                     | j         S )zGets the tags of this CreateVikingdbCollectionRequest.  # noqa: E501


        :return: The tags of this CreateVikingdbCollectionRequest.  # noqa: E501
        :rtype: list[TagForCreateVikingdbCollectionInput]
        r   r"   s    r   r   z$CreateVikingdbCollectionRequest.tags   s     zr    c                     || _         dS )zSets the tags of this CreateVikingdbCollectionRequest.


        :param tags: The tags of this CreateVikingdbCollectionRequest.  # noqa: E501
        :type: list[TagForCreateVikingdbCollectionInput]
        Nr1   )r   r   s     r   r   z$CreateVikingdbCollectionRequest.tags   s     


r    c                     | j         S )zGets the vectorize of this CreateVikingdbCollectionRequest.  # noqa: E501


        :return: The vectorize of this CreateVikingdbCollectionRequest.  # noqa: E501
        :rtype: VectorizeForCreateVikingdbCollectionInput
        r   r"   s    r   r   z)CreateVikingdbCollectionRequest.vectorize   s     r    c                     || _         dS )zSets the vectorize of this CreateVikingdbCollectionRequest.


        :param vectorize: The vectorize of this CreateVikingdbCollectionRequest.  # noqa: E501
        :type: VectorizeForCreateVikingdbCollectionInput
        Nr4   )r   r   s     r   r   z)CreateVikingdbCollectionRequest.vectorize   s     $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hasattrr8   )xs    r   <lambda>z9CreateVikingdbCollectionRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r    r8   c                 v    t          | d         d          r"| d         | d                                         fn| S )Nr%   r8   r   r9   )items    r   r<   z9CreateVikingdbCollectionRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r    )six	iteritemsswagger_typesgetattr
isinstancelistmapr:   r8   dictitems
issubclassr   )r   resultattr_valuekeys         r   r8   z'CreateVikingdbCollectionRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t5t<< 	$"jjll $ $
U#sr    c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr8   r"   s    r   to_strz&CreateVikingdbCollectionRequest.to_str   s    ~dllnn---r    c                 *    |                                  S )zFor `print` and `pprint`)rQ   r"   s    r   __repr__z(CreateVikingdbCollectionRequest.__repr__   s    {{}}r    c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrC   r   r8   r   others     r   __eq__z&CreateVikingdbCollectionRequest.__eq__   s5    %!@AA 	5||~~00r    c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrU   rV   s     r   __ne__z&CreateVikingdbCollectionRequest.__ne__  s5    %!@AA 	4||~~00r    )NNNNNNN)__name__
__module____qualname____doc__rA   attribute_mapr   propertyr   setterr	   r
   r   r   r   r8   rQ   rS   rX   rZ    r    r   r   r      s        
 !?;@ M ,$%  M' ' ' '4 % % X% 0 0 0$ ! ! X! ( ( (   X ]  ] " " X" * * *   X 
[  [   X $ $ $  6. . .  1 1 11 1 1 1 1r    r   )r^   rO   rer?   volcenginesdkcore.configurationr   objectr   rb   r    r   <module>rf      s|      				 



 9 9 9 9 9 9t1 t1 t1 t1 t1f t1 t1 t1 t1 t1r    