
    ~iB:                     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
    emr

    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                   8   e Zd ZdZ	 dddddddddddddd	Zd
ddddddddddddd	Zd8d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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	        d0             Zed1             Zej	        d2             Zd3 Zd4 Zd5 Zd6 Zd7 ZdS )9CreateNodeGroupRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    z.list[ApplicationLayoutForCreateNodeGroupInput]strz%list[DataDiskForCreateNodeGroupInput]z	list[str]int!SystemDiskForCreateNodeGroupInputbool)application_layoutscharge_typeclient_token
cluster_id
data_disksecs_instance_types
node_countnode_group_namenode_group_type
subnet_idssystem_diskwith_public_ipzone_idApplicationLayouts
ChargeTypeClientToken	ClusterId	DataDisksEcsInstanceTypes	NodeCountNodeGroupNameNodeGroupType	SubnetIds
SystemDiskWithPublicIpZoneIdNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        ||| _        || _        ||| _        || _        ||| _        ||| _        || _        || _        |	| _        |
|
| _        ||| _        ||| _        |	|| _        dS dS )z3CreateNodeGroupRequest - a model defined in SwaggerN)r   _configuration_application_layouts_charge_type_client_token_cluster_id_data_disks_ecs_instance_types_node_count_node_group_name_node_group_type_subnet_ids_system_disk_with_public_ip_zone_iddiscriminatorr
   r   r   r   r   r   r   r   r   r   r   r   r   )selfr
   r   r   r   r   r   r   r   r   r   r   r   r   r%   s                  z/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkemr/models/create_node_group_request.py__init__zCreateNodeGroupRequest.__init__C   s'   !*__N,$(! !#'  $ $ #!*':D$&# ,D$!(DO)&8D#$..!(DO"*D%"0D"DLLL     c                     | j         S )zGets the application_layouts of this CreateNodeGroupRequest.  # noqa: E501


        :return: The application_layouts of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: list[ApplicationLayoutForCreateNodeGroupInput]
        r&   r4   s    r5   r
   z*CreateNodeGroupRequest.application_layoutsn   s     ((r7   c                     || _         dS )zSets the application_layouts of this CreateNodeGroupRequest.


        :param application_layouts: The application_layouts of this CreateNodeGroupRequest.  # noqa: E501
        :type: list[ApplicationLayoutForCreateNodeGroupInput]
        Nr9   )r4   r
   s     r5   r
   z*CreateNodeGroupRequest.application_layoutsx   s     %8!!!r7   c                     | j         S )zGets the charge_type of this CreateNodeGroupRequest.  # noqa: E501


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


        :param charge_type: The charge_type of this CreateNodeGroupRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `charge_type`, must not be `None`PREPOSTz9Invalid value for `charge_type` ({0}), must be one of {1})r%   client_side_validation
ValueErrorformatr'   )r4   r   allowed_valuess      r5   r   z"CreateNodeGroupRequest.charge_type   s}     5 	T+:MRSSS6 	>11K^44  
 (r7   c                     | j         S )zGets the client_token of this CreateNodeGroupRequest.  # noqa: E501


        :return: The client_token of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: str
        r(   r:   s    r5   r   z#CreateNodeGroupRequest.client_token   s     !!r7   c                     || _         dS )zSets the client_token of this CreateNodeGroupRequest.


        :param client_token: The client_token of this CreateNodeGroupRequest.  # noqa: E501
        :type: str
        NrF   )r4   r   s     r5   r   z#CreateNodeGroupRequest.client_token   s     *r7   c                     | j         S )zGets the cluster_id of this CreateNodeGroupRequest.  # noqa: E501


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


        :param cluster_id: The cluster_id of this CreateNodeGroupRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `cluster_id`, must not be `None`)r%   rA   rB   r)   )r4   r   s     r5   r   z!CreateNodeGroupRequest.cluster_id   s5     5 	S*:LQRRR%r7   c                     | j         S )zGets the data_disks of this CreateNodeGroupRequest.  # noqa: E501


        :return: The data_disks of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: list[DataDiskForCreateNodeGroupInput]
        r*   r:   s    r5   r   z!CreateNodeGroupRequest.data_disks   rI   r7   c                     || _         dS )zSets the data_disks of this CreateNodeGroupRequest.


        :param data_disks: The data_disks of this CreateNodeGroupRequest.  # noqa: E501
        :type: list[DataDiskForCreateNodeGroupInput]
        NrL   )r4   r   s     r5   r   z!CreateNodeGroupRequest.data_disks        &r7   c                     | j         S )zGets the ecs_instance_types of this CreateNodeGroupRequest.  # noqa: E501


        :return: The ecs_instance_types of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: list[str]
        r+   r:   s    r5   r   z)CreateNodeGroupRequest.ecs_instance_types   s     ''r7   c                     || _         dS )zSets the ecs_instance_types of this CreateNodeGroupRequest.


        :param ecs_instance_types: The ecs_instance_types of this CreateNodeGroupRequest.  # noqa: E501
        :type: list[str]
        NrP   )r4   r   s     r5   r   z)CreateNodeGroupRequest.ecs_instance_types   s     $6   r7   c                     | j         S )zGets the node_count of this CreateNodeGroupRequest.  # noqa: E501


        :return: The node_count of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: int
        )r,   r:   s    r5   r   z!CreateNodeGroupRequest.node_count   rI   r7   c                     | j         j        r|t          d          | j         j        r||dk    rt          d          | j         j        r||dk     rt          d          || _        dS )zSets the node_count of this CreateNodeGroupRequest.


        :param node_count: The node_count of this CreateNodeGroupRequest.  # noqa: E501
        :type: int
        Nz2Invalid value for `node_count`, must not be `None`i  zLInvalid value for `node_count`, must be a value less than or equal to `1000`r   zLInvalid value for `node_count`, must be a value greater than or equal to `0`)r%   rA   rB   r,   )r4   r   s     r5   r   z!CreateNodeGroupRequest.node_count  s     5 	S*:LQRRR6 	m&:+<+<klll6 	m&:>>klll%r7   c                     | j         S )zGets the node_group_name of this CreateNodeGroupRequest.  # noqa: E501


        :return: The node_group_name of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: str
        )r-   r:   s    r5   r   z&CreateNodeGroupRequest.node_group_name       $$r7   c                 N    | j         j        r|t          d          || _        dS )zSets the node_group_name of this CreateNodeGroupRequest.


        :param node_group_name: The node_group_name of this CreateNodeGroupRequest.  # noqa: E501
        :type: str
        Nz7Invalid value for `node_group_name`, must not be `None`)r%   rA   rB   r-   )r4   r   s     r5   r   z&CreateNodeGroupRequest.node_group_name  5     5 	X/:QVWWW /r7   c                     | j         S )zGets the node_group_type of this CreateNodeGroupRequest.  # noqa: E501


        :return: The node_group_type of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: str
        )r.   r:   s    r5   r   z&CreateNodeGroupRequest.node_group_type+  rU   r7   c                 N    | j         j        r|t          d          || _        dS )zSets the node_group_type of this CreateNodeGroupRequest.


        :param node_group_type: The node_group_type of this CreateNodeGroupRequest.  # noqa: E501
        :type: str
        Nz7Invalid value for `node_group_type`, must not be `None`)r%   rA   rB   r.   )r4   r   s     r5   r   z&CreateNodeGroupRequest.node_group_type5  rW   r7   c                     | j         S )zGets the subnet_ids of this CreateNodeGroupRequest.  # noqa: E501


        :return: The subnet_ids of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: list[str]
        r/   r:   s    r5   r   z!CreateNodeGroupRequest.subnet_idsB  rI   r7   c                     || _         dS )zSets the subnet_ids of this CreateNodeGroupRequest.


        :param subnet_ids: The subnet_ids of this CreateNodeGroupRequest.  # noqa: E501
        :type: list[str]
        Nr[   )r4   r   s     r5   r   z!CreateNodeGroupRequest.subnet_idsL  rN   r7   c                     | j         S )zGets the system_disk of this CreateNodeGroupRequest.  # noqa: E501


        :return: The system_disk of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: SystemDiskForCreateNodeGroupInput
        r0   r:   s    r5   r   z"CreateNodeGroupRequest.system_diskW  r=   r7   c                     || _         dS )zSets the system_disk of this CreateNodeGroupRequest.


        :param system_disk: The system_disk of this CreateNodeGroupRequest.  # noqa: E501
        :type: SystemDiskForCreateNodeGroupInput
        Nr^   )r4   r   s     r5   r   z"CreateNodeGroupRequest.system_diska  s     (r7   c                     | j         S )zGets the with_public_ip of this CreateNodeGroupRequest.  # noqa: E501


        :return: The with_public_ip of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: bool
        r1   r:   s    r5   r   z%CreateNodeGroupRequest.with_public_ipl  s     ##r7   c                     || _         dS )zSets the with_public_ip of this CreateNodeGroupRequest.


        :param with_public_ip: The with_public_ip of this CreateNodeGroupRequest.  # noqa: E501
        :type: bool
        Nra   )r4   r   s     r5   r   z%CreateNodeGroupRequest.with_public_ipv  s      .r7   c                     | j         S )zGets the zone_id of this CreateNodeGroupRequest.  # noqa: E501


        :return: The zone_id of this CreateNodeGroupRequest.  # noqa: E501
        :rtype: str
        r2   r:   s    r5   r   zCreateNodeGroupRequest.zone_id  s     }r7   c                     || _         dS )zSets the zone_id of this CreateNodeGroupRequest.


        :param zone_id: The zone_id of this CreateNodeGroupRequest.  # noqa: E501
        :type: str
        Nrd   )r4   r   s     r5   r   zCreateNodeGroupRequest.zone_id  s      r7   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    r5   <lambda>z0CreateNodeGroupRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r7   rh   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rh   r   ri   )items    r5   rl   z0CreateNodeGroupRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r7   )six	iteritemsswagger_typesgetattr
isinstancelistmaprj   rh   dictitems
issubclassr   )r4   resultattr_valuekeys         r5   rh   zCreateNodeGroupRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t,d33 	$"jjll $ $
U#sr7   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrh   r:   s    r5   to_strzCreateNodeGroupRequest.to_str  s    ~dllnn---r7   c                 *    |                                  S )zFor `print` and `pprint`)r   r:   s    r5   __repr__zCreateNodeGroupRequest.__repr__  s    {{}}r7   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrt   r   rh   r4   others     r5   __eq__zCreateNodeGroupRequest.__eq__  s5    %!788 	5||~~00r7   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     r5   __ne__zCreateNodeGroupRequest.__ne__  s5    %!788 	4||~~00r7   )NNNNNNNNNNNNNN)__name__
__module____qualname____doc__rr   attribute_mapr6   propertyr
   setterr   r   r   r   r   r   r   r   r   r   r   r   rh   r   r   r   r    r7   r5   r   r      s        
  P=)  !:  M"  4#%!!0!**!#( M )# )# )# )#V ) ) X) 8 8  8 ! ! X! ( ( (& " " X" * * *     X  
& 
& 
&     X  & & & ( ( X( 6 6 6     X  & & &$ % % X% 
0 
0 
0 % % X% 
0 
0 
0     X  & & & ! ! X! ( ( ( $ $ X$ . . .   X ^    ^   6. . .  1 1 11 1 1 1 1r7   r   )r   r   rerp   volcenginesdkcore.configurationr   objectr   r   r7   r5   <module>r      s|      				 



 9 9 9 9 9 9o1 o1 o1 o1 o1V o1 o1 o1 o1 o1r7   