
    ~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
    vke

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

    Do not edit the class manually.
    str)client_token
cluster_idconfigdeploy_modedeploy_node_typenameversionClientToken	ClusterIdConfig
DeployModeDeployNodeTypeNameVersionNc	                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        || _        ||| _        ||| _        ||| _        || _        |	|| _        dS dS )z/CreateAddonRequest - a model defined in SwaggerN)r   _configuration_client_token_cluster_id_config_deploy_mode_deploy_node_type_name_versiondiscriminatorr   r   r	   r
   r   r   r   )	selfr   r   r	   r
   r   r   r   r   s	            u/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvke/models/create_addon_request.py__init__zCreateAddonRequest.__init__7   s    !*__N,! !%
!# ,D$ DK"*D'$4D!	"DLLL     c                     | j         S )zGets the client_token of this CreateAddonRequest.  # noqa: E501


        :return: The client_token of this CreateAddonRequest.  # noqa: E501
        :rtype: str
        r   r   s    r    r   zCreateAddonRequest.client_tokenS   s     !!r"   c                     || _         dS )zSets the client_token of this CreateAddonRequest.


        :param client_token: The client_token of this CreateAddonRequest.  # noqa: E501
        :type: str
        Nr$   )r   r   s     r    r   zCreateAddonRequest.client_token]   s     *r"   c                     | j         S )zGets the cluster_id of this CreateAddonRequest.  # noqa: E501


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


        :param cluster_id: The cluster_id of this CreateAddonRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `cluster_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r    r   zCreateAddonRequest.cluster_idr   s5     5 	S*:LQRRR%r"   c                     | j         S )zGets the config of this CreateAddonRequest.  # noqa: E501


        :return: The config of this CreateAddonRequest.  # noqa: E501
        :rtype: str
        r   r%   s    r    r	   zCreateAddonRequest.config   s     |r"   c                     || _         dS )zSets the config of this CreateAddonRequest.


        :param config: The config of this CreateAddonRequest.  # noqa: E501
        :type: str
        Nr,   )r   r	   s     r    r	   zCreateAddonRequest.config   s     r"   c                     | j         S )zGets the deploy_mode of this CreateAddonRequest.  # noqa: E501


        :return: The deploy_mode of this CreateAddonRequest.  # noqa: E501
        :rtype: str
        )r   r%   s    r    r
   zCreateAddonRequest.deploy_mode   s       r"   c                     ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the deploy_mode of this CreateAddonRequest.


        :param deploy_mode: The deploy_mode of this CreateAddonRequest.  # noqa: E501
        :type: str
        Managed	Unmanagedz9Invalid value for `deploy_mode` ({0}), must be one of {1}N)r   r)   r*   formatr   )r   r
   allowed_valuess      r    r
   zCreateAddonRequest.deploy_mode   s[     $[16 	>11K^44  
 (r"   c                     | j         S )zGets the deploy_node_type of this CreateAddonRequest.  # noqa: E501


        :return: The deploy_node_type of this CreateAddonRequest.  # noqa: E501
        :rtype: str
        )r   r%   s    r    r   z#CreateAddonRequest.deploy_node_type   s     %%r"   c                     g d}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the deploy_node_type of this CreateAddonRequest.


        :param deploy_node_type: The deploy_node_type of this CreateAddonRequest.  # noqa: E501
        :type: str
        )NodeVirtualNodeEdgeNodez>Invalid value for `deploy_node_type` ({0}), must be one of {1}N)r   r)   r*   r2   r   )r   r   r3   s      r    r   z#CreateAddonRequest.deploy_node_type   s]     =<<6 	 66P(.99  
 "2r"   c                     | j         S )zGets the name of this CreateAddonRequest.  # noqa: E501


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


        :param name: The name of this CreateAddonRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)r   r)   r*   r   )r   r   s     r    r   zCreateAddonRequest.name   s1     5 	M$,KLLL


r"   c                     | j         S )zGets the version of this CreateAddonRequest.  # noqa: E501


        :return: The version of this CreateAddonRequest.  # noqa: E501
        :rtype: str
        r   r%   s    r    r   zCreateAddonRequest.version   s     }r"   c                     || _         dS )zSets the version of this CreateAddonRequest.


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



 9 9 9 9 9 9Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1r"   