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

    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            
       P   e Zd ZdZ	 dddddddddd	Zd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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.
    strint&AlarmPolicyForCreateScalingPolicyInput*ScheduledPolicyForCreateScalingPolicyInput)	adjustment_typeadjustment_valuealarm_policyclient_tokencooldownscaling_group_idscaling_policy_namescaling_policy_typescheduled_policyAdjustmentTypeAdjustmentValueAlarmPolicyClientTokenCooldownScalingGroupIdScalingPolicyNameScalingPolicyTypeScheduledPolicyNc                 Z   |
t                      }
|
| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        || _        || _        || _        |		|	| _        dS dS )z7CreateScalingPolicyRequest - a model defined in SwaggerN)r   _configuration_adjustment_type_adjustment_value_alarm_policy_client_token	_cooldown_scaling_group_id_scaling_policy_name_scaling_policy_type_scheduled_policydiscriminatorr
   r   r   r   r   r   r   r   r   )selfr
   r   r   r   r   r   r   r   r   r   s              /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkautoscaling/models/create_scaling_policy_request.py__init__z#CreateScalingPolicyRequest.__init__;   s    !*__N, $!%!!!%$(!$(!!%!&#2D '$4D!# ,D# ,D$DM 0#6 #6 '$4D!!! ('    c                     | j         S )zGets the adjustment_type of this CreateScalingPolicyRequest.  # noqa: E501


        :return: The adjustment_type of this CreateScalingPolicyRequest.  # noqa: E501
        :rtype: str
        r   r(   s    r)   r
   z*CreateScalingPolicyRequest.adjustment_type\   s     $$r+   c                     || _         dS )zSets the adjustment_type of this CreateScalingPolicyRequest.


        :param adjustment_type: The adjustment_type of this CreateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nr-   )r(   r
   s     r)   r
   z*CreateScalingPolicyRequest.adjustment_typef   s     !0r+   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_valueq        %%r+   c                     || _         dS )zSets the adjustment_value of this CreateScalingPolicyRequest.


        :param adjustment_value: The adjustment_value of this CreateScalingPolicyRequest.  # noqa: E501
        :type: int
        Nr1   )r(   r   s     r)   r   z+CreateScalingPolicyRequest.adjustment_value{        "2r+   c                     | j         S )zGets the alarm_policy of this CreateScalingPolicyRequest.  # noqa: E501


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


        :param alarm_policy: The alarm_policy of this CreateScalingPolicyRequest.  # noqa: E501
        :type: AlarmPolicyForCreateScalingPolicyInput
        Nr6   )r(   r   s     r)   r   z'CreateScalingPolicyRequest.alarm_policy        *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_token   r7   r+   c                     || _         dS )zSets the client_token of this CreateScalingPolicyRequest.


        :param client_token: The client_token of this CreateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nr;   )r(   r   s     r)   r   z'CreateScalingPolicyRequest.client_token   r9   r+   c                     | j         S )zGets the cooldown of this CreateScalingPolicyRequest.  # noqa: E501


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


        :param cooldown: The cooldown of this CreateScalingPolicyRequest.  # noqa: E501
        :type: int
        Nr>   )r(   r   s     r)   r   z#CreateScalingPolicyRequest.cooldown   s     "r+   c                     | j         S )zGets the scaling_group_id of this CreateScalingPolicyRequest.  # noqa: E501


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


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


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


        :param scaling_policy_name: The scaling_policy_name of this CreateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nz;Invalid value for `scaling_policy_name`, must not be `None`)r   rB   rC   r$   )r(   r   s     r)   r   z.CreateScalingPolicyRequest.scaling_policy_name   6     5 	\:M:UZ[[[$7!!!r+   c                     | j         S )zGets the scaling_policy_type of this CreateScalingPolicyRequest.  # noqa: E501


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


        :param scaling_policy_type: The scaling_policy_type of this CreateScalingPolicyRequest.  # noqa: E501
        :type: str
        Nz;Invalid value for `scaling_policy_type`, must not be `None`)r   rB   rC   r%   )r(   r   s     r)   r   z.CreateScalingPolicyRequest.scaling_policy_type   rG   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
  r2   r+   c                     || _         dS )zSets the scheduled_policy of this CreateScalingPolicyRequest.


        :param scheduled_policy: The scheduled_policy of this CreateScalingPolicyRequest.  # noqa: E501
        :type: ScheduledPolicyForCreateScalingPolicyInput
        NrK   )r(   r   s     r)   r   z+CreateScalingPolicyRequest.scheduled_policy  r4   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hasattrrO   )xs    r)   <lambda>z4CreateScalingPolicyRequest.to_dict.<locals>.<lambda>'  s!    WQ	-B-BIaiikkk r+   rO   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rO   r   rP   )items    r)   rS   z4CreateScalingPolicyRequest.to_dict.<locals>.<lambda>.  s<    tAw	22"=$q'47??+<+<!=!=8< r+   )six	iteritemsswagger_typesgetattr
isinstancelistmaprQ   rO   dictitems
issubclassr   )r(   resultattr_valuekeys         r)   rO   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pformatrO   r.   s    r)   to_strz!CreateScalingPolicyRequest.to_str:  s    ~dllnn---r+   c                 *    |                                  S )zFor `print` and `pprint`)ri   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r[   r   rO   r(   others     r)   __eq__z!CreateScalingPolicyRequest.__eq__B  s5    %!;<< 	5||~~00r+   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrm   rn   s     r)   __ne__z!CreateScalingPolicyRequest.__ne__I  s5    %!;<< 	4||~~00r+   )
NNNNNNNNNN)__name__
__module____qualname____doc__rY   attribute_mapr*   propertyr
   setterr   r   r   r   r   r   r   r   rO   ri   rk   rp   rr    r+   r)   r   r      s        
 !!@!$$H
 
M ,-%%,22-
 
M5 5 5 5B % % X% 0 0 0 & & X& 2 2 2 " " X" * * * " " X" * * *   X _" " _" & & X& 
2 
2 
2 ) ) X) 
8 
8  
8 ) ) X) 
8 
8  
8 & & X& 2 2 2  6. . .  1 1 11 1 1 1 1r+   r   )rv   rg   rerW   volcenginesdkcore.configurationr   objectr   rz   r+   r)   <module>r~      s|      				 



 9 9 9 9 9 9x1 x1 x1 x1 x1 x1 x1 x1 x1 x1r+   