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

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


        :return: The adjustment_value of this UpdateScalingPolicyRequest.  # noqa: E501
        :rtype: int
        r   r&   s    r'   r   z+UpdateScalingPolicyRequest.adjustment_valueW        %%r)   c                     || _         dS )zSets the adjustment_value of this UpdateScalingPolicyRequest.


        :param adjustment_value: The adjustment_value of this UpdateScalingPolicyRequest.  # noqa: E501
        :type: int
        Nr+   )r&   r   s     r'   r   z+UpdateScalingPolicyRequest.adjustment_valuea        "2r)   c                     | j         S )zGets the client_token of this UpdateScalingPolicyRequest.  # noqa: E501


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


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


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


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


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


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


        :return: The id of this UpdateScalingPolicyRequest.  # noqa: E501
        :rtype: str
        )r!   r,   s    r'   r   zUpdateScalingPolicyRequest.id   s     xr)   c                 N    | j         j        r|t          d          || _        dS )zSets the id of this UpdateScalingPolicyRequest.


        :param id: The id of this UpdateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nz*Invalid value for `id`, must not be `None`)r   r6   r7   r!   )r&   r   s     r'   r   zUpdateScalingPolicyRequest.id   s1     5 	K"*IJJJr)   c                     | j         S )zGets the node_pool_id of this UpdateScalingPolicyRequest.  # noqa: E501


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


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


        :return: The scheduled_instance_policy of this UpdateScalingPolicyRequest.  # noqa: E501
        :rtype: ScheduledInstancePolicyForUpdateScalingPolicyInput
        r#   r,   s    r'   r   z4UpdateScalingPolicyRequest.scheduled_instance_policy   s     ..r)   c                     || _         dS )a  Sets the scheduled_instance_policy of this UpdateScalingPolicyRequest.


        :param scheduled_instance_policy: The scheduled_instance_policy of this UpdateScalingPolicyRequest.  # noqa: E501
        :type: ScheduledInstancePolicyForUpdateScalingPolicyInput
        Nr@   )r&   r   s     r'   r   z4UpdateScalingPolicyRequest.scheduled_instance_policy   s     +D'''r)   c                     | j         S )zGets the scheduled_policy of this UpdateScalingPolicyRequest.  # noqa: E501


        :return: The scheduled_policy of this UpdateScalingPolicyRequest.  # noqa: E501
        :rtype: ScheduledPolicyForUpdateScalingPolicyInput
        r$   r,   s    r'   r   z+UpdateScalingPolicyRequest.scheduled_policy   r-   r)   c                     || _         dS )zSets the scheduled_policy of this UpdateScalingPolicyRequest.


        :param scheduled_policy: The scheduled_policy of this UpdateScalingPolicyRequest.  # noqa: E501
        :type: ScheduledPolicyForUpdateScalingPolicyInput
        NrC   )r&   r   s     r'   r   z+UpdateScalingPolicyRequest.scheduled_policy   r/   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hasattrrG   )xs    r'   <lambda>z4UpdateScalingPolicyRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r)   rG   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rG   r   rH   )items    r'   rK   z4UpdateScalingPolicyRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r)   )six	iteritemsswagger_typesgetattr
isinstancelistmaprI   rG   dictitems
issubclassr   )r&   resultattr_valuekeys         r'   rG   z"UpdateScalingPolicyRequest.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pformatrG   r,   s    r'   to_strz!UpdateScalingPolicyRequest.to_str   s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)ra   r,   s    r'   __repr__z#UpdateScalingPolicyRequest.__repr__$  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrS   r   rG   r&   others     r'   __eq__z!UpdateScalingPolicyRequest.__eq__(  s5    %!;<< 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTre   rf   s     r'   __ne__z!UpdateScalingPolicyRequest.__ne__/  s5    %!;<< 	4||~~00r)   )	NNNNNNNNN)__name__
__module____qualname____doc__rQ   attribute_mapr(   propertyr   setterr   r   r   r   r   r   r   rG   ra   rc   rh   rj    r)   r'   r   r      s        
 "%YH	 	M .%!$%>-	 	M5 5 5 5< & & X& 2 2 2 " " X" * * *     X  
& 
& 
&   X ^    ^    X Y
 
 Y
 " " X" 
* 
* 
* / / X/ %D D &%D & & X& 2 2 2  6. . .  1 1 11 1 1 1 1r)   r   )rn   r_   rerO   volcenginesdkcore.configurationr   objectr   rr   r)   r'   <module>rv      s|      				 



 9 9 9 9 9 9^1 ^1 ^1 ^1 ^1 ^1 ^1 ^1 ^1 ^1r)   