
    ~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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 )(CreateScalingPolicyRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    intstrbool2ScheduledInstancePolicyForCreateScalingPolicyInput*ScheduledPolicyForCreateScalingPolicyInput)adjustment_valueclient_token
cluster_idenablednode_pool_idscheduled_instance_policyscheduled_policytypeAdjustmentValueClientToken	ClusterIdEnabled
NodePoolIdScheduledInstancePolicyScheduledPolicyTypeNc
                 2   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        || _        ||| _        || _        ||| _        || _        ||| _        ||| _        || _        dS )z7CreateScalingPolicyRequest - a model defined in SwaggerN)r   _configuration_adjustment_value_client_token_cluster_id_enabled_node_pool_id_scheduled_instance_policy_scheduled_policy_type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/volcenginesdkvke/models/create_scaling_policy_request.py__init__z#CreateScalingPolicyRequest.__init__9   s    !*__N,!%!!*.'!%
! 0# ,D$"DL($0-FD*'$4D!			    c                     | j         S )zGets the adjustment_value of this CreateScalingPolicyRequest.  # noqa: E501


        :return: The adjustment_value of this CreateScalingPolicyRequest.  # noqa: E501
        :rtype: int
        )r   r&   s    r'   r   z+CreateScalingPolicyRequest.adjustment_valueV        %%r)   c                 N    | j         j        r|t          d          || _        dS )zSets the adjustment_value of this CreateScalingPolicyRequest.


        :param adjustment_value: The adjustment_value of this CreateScalingPolicyRequest.  # noqa: E501
        :type: int
        Nz8Invalid value for `adjustment_value`, must not be `None`)r   client_side_validation
ValueErrorr   )r&   r   s     r'   r   z+CreateScalingPolicyRequest.adjustment_value`   s6     5 	Y:J:RWXXX!1r)   c                     | j         S )zGets the client_token of this CreateScalingPolicyRequest.  # noqa: E501


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


        :param client_token: The client_token of this CreateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nr1   )r&   r   s     r'   r   z'CreateScalingPolicyRequest.client_tokenw   s     *r)   c                     | j         S )zGets the cluster_id of this CreateScalingPolicyRequest.  # noqa: E501


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


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


        :return: The enabled of this CreateScalingPolicyRequest.  # noqa: E501
        :rtype: bool
        r    r+   s    r'   r   z"CreateScalingPolicyRequest.enabled   s     }r)   c                     || _         dS )zSets the enabled of this CreateScalingPolicyRequest.


        :param enabled: The enabled of this CreateScalingPolicyRequest.  # noqa: E501
        :type: bool
        Nr7   )r&   r   s     r'   r   z"CreateScalingPolicyRequest.enabled   s      r)   c                     | j         S )zGets the node_pool_id of this CreateScalingPolicyRequest.  # noqa: E501


        :return: The node_pool_id of this CreateScalingPolicyRequest.  # noqa: E501
        :rtype: str
        )r!   r+   s    r'   r   z'CreateScalingPolicyRequest.node_pool_id   r2   r)   c                 N    | j         j        r|t          d          || _        dS )zSets the node_pool_id of this CreateScalingPolicyRequest.


        :param node_pool_id: The node_pool_id of this CreateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nz4Invalid value for `node_pool_id`, must not be `None`)r   r.   r/   r!   )r&   r   s     r'   r   z'CreateScalingPolicyRequest.node_pool_id   s5     5 	U,:NSTTT)r)   c                     | j         S )a  Gets the scheduled_instance_policy of this CreateScalingPolicyRequest.  # noqa: E501


        :return: The scheduled_instance_policy of this CreateScalingPolicyRequest.  # noqa: E501
        :rtype: ScheduledInstancePolicyForCreateScalingPolicyInput
        r"   r+   s    r'   r   z4CreateScalingPolicyRequest.scheduled_instance_policy   s     ..r)   c                     || _         dS )a  Sets the scheduled_instance_policy of this CreateScalingPolicyRequest.


        :param scheduled_instance_policy: The scheduled_instance_policy of this CreateScalingPolicyRequest.  # noqa: E501
        :type: ScheduledInstancePolicyForCreateScalingPolicyInput
        Nr<   )r&   r   s     r'   r   z4CreateScalingPolicyRequest.scheduled_instance_policy   s     +D'''r)   c                     | j         S )zGets the scheduled_policy of this CreateScalingPolicyRequest.  # noqa: E501


        :return: The scheduled_policy of this CreateScalingPolicyRequest.  # noqa: E501
        :rtype: ScheduledPolicyForCreateScalingPolicyInput
        r#   r+   s    r'   r   z+CreateScalingPolicyRequest.scheduled_policy   r,   r)   c                     || _         dS )zSets the scheduled_policy of this CreateScalingPolicyRequest.


        :param scheduled_policy: The scheduled_policy of this CreateScalingPolicyRequest.  # noqa: E501
        :type: ScheduledPolicyForCreateScalingPolicyInput
        Nr?   )r&   r   s     r'   r   z+CreateScalingPolicyRequest.scheduled_policy   s     "2r)   c                     | j         S )zGets the type of this CreateScalingPolicyRequest.  # noqa: E501


        :return: The type of this CreateScalingPolicyRequest.  # noqa: E501
        :rtype: str
        )r$   r+   s    r'   r   zCreateScalingPolicyRequest.type   s     zr)   c                     | j         j        r|t          d          ddg}| j         j        r'||vr#t          d                    ||                    || _        dS )zSets the type of this CreateScalingPolicyRequest.


        :param type: The type of this CreateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `type`, must not be `None`	Scheduled
Recurrencez2Invalid value for `type` ({0}), must be one of {1})r   r.   r/   formatr$   )r&   r   allowed_valuess      r'   r   zCreateScalingPolicyRequest.type   sz     5 	M$,KLLL%|46 	N**Dn--  
 


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hasattrrI   )xs    r'   <lambda>z4CreateScalingPolicyRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r)   rI   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rI   r   rJ   )items    r'   rM   z4CreateScalingPolicyRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r)   )six	iteritemsswagger_typesgetattr
isinstancelistmaprK   rI   dictitems
issubclassr   )r&   resultattr_valuekeys         r'   rI   z"CreateScalingPolicyRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t0$77 	$"jjll $ $
U#sr)   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrI   r+   s    r'   to_strz!CreateScalingPolicyRequest.to_str(  s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)rc   r+   s    r'   __repr__z#CreateScalingPolicyRequest.__repr__,  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrU   r   rI   r&   others     r'   __eq__z!CreateScalingPolicyRequest.__eq__0  s5    %!;<< 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrg   rh   s     r'   __ne__z!CreateScalingPolicyRequest.__ne__7  s5    %!;<< 	4||~~00r)   )	NNNNNNNNN)__name__
__module____qualname____doc__rS   attribute_mapr(   propertyr   setterr   r   r   r   r   r   r   rI   rc   re   rj   rl    r)   r'   r   r      s        
 "%YH	 	M .%!$%>-	 	M   : & & X& 
2 
2 
2 " " X" * * *     X  
& 
& 
&   X ^    ^  " " X" 
* 
* 
* / / X/ %D D &%D & & X& 2 2 2   X 
[  [&  6. . .  1 1 11 1 1 1 1r)   r   )rp   ra   rerQ   volcenginesdkcore.configurationr   objectr   rt   r)   r'   <module>rx      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)   