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

    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 )&CreateResourcePoolRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strz(list[ResourceForcreateResourcePoolInput]z	list[str])billing_typename
project_id	resourcessecurity_group_id_listsubnet_id_listvpc_idzone_idBillingTypeName	ProjectId	ResourcesSecurityGroupIdListSubnetIdListVpcIdZoneIdNc
                 .   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        || _        || _        || _        ||| _        ||| _        ||| _        || _        || _        dS )z6CreateResourcePoolRequest - a model defined in SwaggerN)r   _configuration_billing_type_name_project_id
_resources_security_group_id_list_subnet_id_list_vpc_id_zone_id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/volcenginesdkspark/models/create_resource_pool_request.py__init__z"CreateResourcePoolRequest.__init__9   s    !*__N,!
'+$#!(	$ &DN!-*@D'%"0D    c                     | j         S )zGets the billing_type of this CreateResourcePoolRequest.  # noqa: E501


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


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


        :return: The name of this CreateResourcePoolRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r#   r   zCreateResourcePoolRequest.namel   s     z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 name of this CreateResourcePoolRequest.


        :param name: The name of this CreateResourcePoolRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`   zCInvalid value for `name`, length must be less than or equal to `30`r   zEInvalid value for `name`, length must be greater than or equal to `0`)r   r)   r*   lenr   )r"   r   s     r#   r   zCreateResourcePoolRequest.namev   s     5 	M$,KLLL6 	d SYY^^bccc6 	f SYY]]deee


r%   c                     | j         S )zGets the project_id of this CreateResourcePoolRequest.  # noqa: E501


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


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


        :return: The resources of this CreateResourcePoolRequest.  # noqa: E501
        :rtype: list[ResourceForcreateResourcePoolInput]
        r   r'   s    r#   r
   z#CreateResourcePoolRequest.resources   s     r%   c                     || _         dS )zSets the resources of this CreateResourcePoolRequest.


        :param resources: The resources of this CreateResourcePoolRequest.  # noqa: E501
        :type: list[ResourceForcreateResourcePoolInput]
        Nr2   )r"   r
   s     r#   r
   z#CreateResourcePoolRequest.resources   s     $r%   c                     | j         S )zGets the security_group_id_list of this CreateResourcePoolRequest.  # noqa: E501


        :return: The security_group_id_list of this CreateResourcePoolRequest.  # noqa: E501
        :rtype: list[str]
        r   r'   s    r#   r   z0CreateResourcePoolRequest.security_group_id_list   s     ++r%   c                     || _         dS )zSets the security_group_id_list of this CreateResourcePoolRequest.


        :param security_group_id_list: The security_group_id_list of this CreateResourcePoolRequest.  # noqa: E501
        :type: list[str]
        Nr5   )r"   r   s     r#   r   z0CreateResourcePoolRequest.security_group_id_list   s     (>$$$r%   c                     | j         S )zGets the subnet_id_list of this CreateResourcePoolRequest.  # noqa: E501


        :return: The subnet_id_list of this CreateResourcePoolRequest.  # noqa: E501
        :rtype: list[str]
        r   r'   s    r#   r   z(CreateResourcePoolRequest.subnet_id_list   s     ##r%   c                     || _         dS )zSets the subnet_id_list of this CreateResourcePoolRequest.


        :param subnet_id_list: The subnet_id_list of this CreateResourcePoolRequest.  # noqa: E501
        :type: list[str]
        Nr8   )r"   r   s     r#   r   z(CreateResourcePoolRequest.subnet_id_list   s      .r%   c                     | j         S )zGets the vpc_id of this CreateResourcePoolRequest.  # noqa: E501


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


        :param vpc_id: The vpc_id of this CreateResourcePoolRequest.  # noqa: E501
        :type: str
        Nz.Invalid value for `vpc_id`, must not be `None`)r   r)   r*   r   )r"   r   s     r#   r   z CreateResourcePoolRequest.vpc_id   s1     5 	O&.MNNNr%   c                     | j         S )zGets the zone_id of this CreateResourcePoolRequest.  # noqa: E501


        :return: The zone_id of this CreateResourcePoolRequest.  # noqa: E501
        :rtype: str
        )r    r'   s    r#   r   z!CreateResourcePoolRequest.zone_id   s     }r%   c                 N    | j         j        r|t          d          || _        dS )zSets the zone_id of this CreateResourcePoolRequest.


        :param zone_id: The zone_id of this CreateResourcePoolRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `zone_id`, must not be `None`)r   r)   r*   r    )r"   r   s     r#   r   z!CreateResourcePoolRequest.zone_id   s1     5 	P'/NOOO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>z3CreateResourcePoolRequest.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   z3CreateResourcePoolRequest.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!CreateResourcePoolRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t/66 	$"jjll $ $
U#sr%   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr@   r'   s    r#   to_strz CreateResourcePoolRequest.to_str(  s    ~dllnn---r%   c                 *    |                                  S )zFor `print` and `pprint`)rZ   r'   s    r#   __repr__z"CreateResourcePoolRequest.__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 CreateResourcePoolRequest.__eq__0  s5    %!:;; 	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 CreateResourcePoolRequest.__ne__7  s5    %!:;; 	4||~~00r%   )	NNNNNNNNN)__name__
__module____qualname____doc__rJ   attribute_mapr$   propertyr   setterr   r	   r
   r   r   r   r   r@   rZ   r\   ra   rc    r%   r#   r   r      s        
 ?"-%	 	M &! "7(	 	M   8 " " X" 
* 
* 
*   X 
[  [$     X  
& 
& 
&   X $ $ $ , , X, "> > #"> $ $ X$ . . .   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f1 f1 f1 f1 f1 f1 f1 f1 f1 f1r%   