
    ~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                   h   e Zd ZdZ	 ddddddZ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d Zd Zd Zd Zd Zd
S )DeleteNodesRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    z	list[str]str)cascading_delete_resources
cluster_ididsnode_pool_idretain_resourcesCascadingDeleteResources	ClusterIdIds
NodePoolIdRetainResourcesNc                     |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        || _	        ||| _
        || _        |	|| _        dS dS )z/DeleteNodesRequest - a model defined in SwaggerN)r   _configuration_cascading_delete_resources_cluster_id_ids_node_pool_id_retain_resourcesdiscriminatorr   r   r	   r
   r   )selfr   r   r	   r
   r   r   s          u/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvke/models/delete_nodes_request.py__init__zDeleteNodesRequest.__init__3   s    !*__N,+/(	!!%!%1.HD+$?DH('$4D!!! ('    c                     | j         S )zGets the cascading_delete_resources of this DeleteNodesRequest.  # noqa: E501


        :return: The cascading_delete_resources of this DeleteNodesRequest.  # noqa: E501
        :rtype: list[str]
        )r   r   s    r   r   z-DeleteNodesRequest.cascading_delete_resourcesI   s     //r   c                    dg}| j         j        rt          |                              t          |                    st	          d                    d                    t          t          t          |          t          |          z
                      d                    t          t          |                                        || _	        dS )zSets the cascading_delete_resources of this DeleteNodesRequest.


        :param cascading_delete_resources: The cascading_delete_resources of this DeleteNodesRequest.  # noqa: E501
        :type: list[str]
        EcszPInvalid values for `cascading_delete_resources` [{0}], must be a subset of [{1}], N)
r   client_side_validationsetissubset
ValueErrorformatjoinmapr   r   )r   r   allowed_valuess      r   r   z-DeleteNodesRequest.cascading_delete_resourcesS   s      6 	233<<S=P=PQQ	b		#c3/I+J+JSQ_M`M`+`"a"abb		#c>":":;;= =   ,F(((r   c                     | j         S )zGets the cluster_id of this DeleteNodesRequest.  # noqa: E501


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


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


        :return: The ids of this DeleteNodesRequest.  # noqa: E501
        :rtype: list[str]
        r   r   s    r   r	   zDeleteNodesRequest.ids}   s     yr   c                     || _         dS )zSets the ids of this DeleteNodesRequest.


        :param ids: The ids of this DeleteNodesRequest.  # noqa: E501
        :type: list[str]
        Nr-   )r   r	   s     r   r	   zDeleteNodesRequest.ids   s     			r   c                     | j         S )zGets the node_pool_id of this DeleteNodesRequest.  # noqa: E501


        :return: The node_pool_id of this DeleteNodesRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r
   zDeleteNodesRequest.node_pool_id   s     !!r   c                 N    | j         j        r|t          d          || _        dS )zSets the node_pool_id of this DeleteNodesRequest.


        :param node_pool_id: The node_pool_id of this DeleteNodesRequest.  # noqa: E501
        :type: str
        Nz4Invalid value for `node_pool_id`, must not be `None`)r   r"   r%   r   )r   r
   s     r   r
   zDeleteNodesRequest.node_pool_id   s5     5 	U,:NSTTT)r   c                     | j         S )zGets the retain_resources of this DeleteNodesRequest.  # noqa: E501


        :return: The retain_resources of this DeleteNodesRequest.  # noqa: E501
        :rtype: list[str]
        )r   r   s    r   r   z#DeleteNodesRequest.retain_resources   s     %%r   c                    dg}| j         j        rt          |                              t          |                    st	          d                    d                    t          t          t          |          t          |          z
                      d                    t          t          |                                        || _	        dS )zSets the retain_resources of this DeleteNodesRequest.


        :param retain_resources: The retain_resources of this DeleteNodesRequest.  # noqa: E501
        :type: list[str]
        r    zFInvalid values for `retain_resources` [{0}], must be a subset of [{1}]r!   N)
r   r"   r#   r$   r%   r&   r'   r(   r   r   )r   r   r)   s      r   r   z#DeleteNodesRequest.retain_resources   s      6 	())223~3F3FGG	X		#c3/?+@+@3~CVCV+V"W"WXX		#c>":":;;= =   "2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hasattrr5   )xs    r   <lambda>z,DeleteNodesRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r5   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r5   r   r6   )items    r   r9   z,DeleteNodesRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistr(   r7   r5   dictitems
issubclassr   )r   resultattr_valuekeys         r   r5   zDeleteNodesRequest.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pformatr5   r   s    r   to_strzDeleteNodesRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)rN   r   s    r   __repr__zDeleteNodesRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrA   r   r5   r   others     r   __eq__zDeleteNodesRequest.__eq__   s5    %!344 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrR   rS   s     r   __ne__zDeleteNodesRequest.__ne__   s5    %!344 	4||~~00r   )NNNNNN)__name__
__module____qualname____doc__r?   attribute_mapr   propertyr   setterr   r	   r
   r   r5   rN   rP   rU   rW    r   r   r   r      s        
 '2' M 'A!$- M5 5 5 5, 0 0 X0  &F F '&F$     X  
& 
& 
&   X 	Z  Z " " X" 
* 
* 
* & & X& 2 2 2$  6. . .  1 1 11 1 1 1 1r   r   )r[   rL   rer=   volcenginesdkcore.configurationr   objectr   r_   r   r   <module>rc      s|      				 



 9 9 9 9 9 9_1 _1 _1 _1 _1 _1 _1 _1 _1 _1r   