
    ~iQ%                     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
    milvus

    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 )*CreateInstanceRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    "ChargeConfigForCreateInstanceInputbool+InstanceConfigurationForCreateInstanceInput#NetworkConfigForCreateInstanceInputstrzlist[TagForCreateInstanceInput]z	list[str])charge_configdelete_protect_enabledinstance_configurationnetwork_configproject_nameregiontagszonesChargeConfigDeleteProtectEnabledInstanceConfigurationNetworkConfigProjectNameRegionTagsZonesNc
                 B   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        ||| _        || _        ||| _        |	|| _        dS dS )z2CreateInstanceRequest - a model defined in SwaggerN)r   _configuration_charge_config_delete_protect_enabled_instance_configuration_network_config_project_name_region_tags_zones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/volcenginesdkmilvus/models/create_instance_request.py__init__zCreateInstanceRequest.__init__9   s    !*__N,"'+$'+$#!
!$!.D!-*@D'!-*@D'%"0D# ,DDIDJJJ     c                     | j         S )zGets the charge_config of this CreateInstanceRequest.  # noqa: E501


        :return: The charge_config of this CreateInstanceRequest.  # noqa: E501
        :rtype: ChargeConfigForCreateInstanceInput
        r   r&   s    r'   r   z#CreateInstanceRequest.charge_configY   s     ""r)   c                     || _         dS )zSets the charge_config of this CreateInstanceRequest.


        :param charge_config: The charge_config of this CreateInstanceRequest.  # noqa: E501
        :type: ChargeConfigForCreateInstanceInput
        Nr+   )r&   r   s     r'   r   z#CreateInstanceRequest.charge_configc   s     ,r)   c                     | j         S )zGets the delete_protect_enabled of this CreateInstanceRequest.  # noqa: E501


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


        :param delete_protect_enabled: The delete_protect_enabled of this CreateInstanceRequest.  # noqa: E501
        :type: bool
        Nr/   )r&   r   s     r'   r   z,CreateInstanceRequest.delete_protect_enabledx        (>$$$r)   c                     | j         S )zGets the instance_configuration of this CreateInstanceRequest.  # noqa: E501


        :return: The instance_configuration of this CreateInstanceRequest.  # noqa: E501
        :rtype: InstanceConfigurationForCreateInstanceInput
        r   r,   s    r'   r   z,CreateInstanceRequest.instance_configuration   r0   r)   c                     || _         dS )zSets the instance_configuration of this CreateInstanceRequest.


        :param instance_configuration: The instance_configuration of this CreateInstanceRequest.  # noqa: E501
        :type: InstanceConfigurationForCreateInstanceInput
        Nr4   )r&   r   s     r'   r   z,CreateInstanceRequest.instance_configuration   r2   r)   c                     | j         S )zGets the network_config of this CreateInstanceRequest.  # noqa: E501


        :return: The network_config of this CreateInstanceRequest.  # noqa: E501
        :rtype: NetworkConfigForCreateInstanceInput
        r    r,   s    r'   r   z$CreateInstanceRequest.network_config   s     ##r)   c                     || _         dS )zSets the network_config of this CreateInstanceRequest.


        :param network_config: The network_config of this CreateInstanceRequest.  # noqa: E501
        :type: NetworkConfigForCreateInstanceInput
        Nr7   )r&   r   s     r'   r   z$CreateInstanceRequest.network_config   s      .r)   c                     | j         S )zGets the project_name of this CreateInstanceRequest.  # noqa: E501


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


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


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


        :param region: The region of this CreateInstanceRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `region`, must not be `None`)r   client_side_validation
ValueErrorr"   )r&   r   s     r'   r   zCreateInstanceRequest.region   s1     5 	O&.MNNNr)   c                     | j         S )zGets the tags of this CreateInstanceRequest.  # noqa: E501


        :return: The tags of this CreateInstanceRequest.  # noqa: E501
        :rtype: list[TagForCreateInstanceInput]
        r#   r,   s    r'   r   zCreateInstanceRequest.tags   s     zr)   c                     || _         dS )zSets the tags of this CreateInstanceRequest.


        :param tags: The tags of this CreateInstanceRequest.  # noqa: E501
        :type: list[TagForCreateInstanceInput]
        NrA   )r&   r   s     r'   r   zCreateInstanceRequest.tags   s     


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


        :return: The zones of this CreateInstanceRequest.  # noqa: E501
        :rtype: list[str]
        r$   r,   s    r'   r   zCreateInstanceRequest.zones   s     {r)   c                     || _         dS )zSets the zones of this CreateInstanceRequest.


        :param zones: The zones of this CreateInstanceRequest.  # noqa: E501
        :type: list[str]
        NrD   )r&   r   s     r'   r   zCreateInstanceRequest.zones   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hasattrrH   )xs    r'   <lambda>z/CreateInstanceRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r)   rH   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rH   r   rI   )items    r'   rL   z/CreateInstanceRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r)   )six	iteritemsswagger_typesgetattr
isinstancelistmaprJ   rH   dictitems
issubclassr   )r&   resultattr_valuekeys         r'   rH   zCreateInstanceRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t+T22 	$"jjll $ $
U#sr)   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrH   r,   s    r'   to_strzCreateInstanceRequest.to_str  s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)rb   r,   s    r'   __repr__zCreateInstanceRequest.__repr__"  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrT   r   rH   r&   others     r'   __eq__zCreateInstanceRequest.__eq__&  s5    %!677 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrf   rg   s     r'   __ne__zCreateInstanceRequest.__ne__-  s5    %!677 	4||~~00r)   )	NNNNNNNNN)__name__
__module____qualname____doc__rR   attribute_mapr(   propertyr   setterr   r   r   r   r   r   r   rH   rb   rd   ri   rk    r)   r'   r   r      s        
 >"("O?1	 	M ("8"9)%	 	M   @ # # X# , , , , , X, "> > #"> , , X, "> > #"> $ $ X$ . . . " " X" * * *   X ]
 
 ]
   X 
[  [   X \  \  6. . .  1 1 11 1 1 1 1r)   r   )ro   r`   rerP   volcenginesdkcore.configurationr   objectr   rs   r)   r'   <module>rw      s|      				 



 9 9 9 9 9 9\1 \1 \1 \1 \1F \1 \1 \1 \1 \1r)   