
    ~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                      e Zd ZdZ	 ddddddddZ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d Zd Zd  Zd! Zd" ZdS )$ModifyScalingPolicyRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strint&AlarmPolicyForModifyScalingPolicyInput*ScheduledPolicyForModifyScalingPolicyInput)adjustment_typeadjustment_valuealarm_policycooldownscaling_policy_idscaling_policy_namescheduled_policyAdjustmentTypeAdjustmentValueAlarmPolicyCooldownScalingPolicyIdScalingPolicyNameScheduledPolicyNc	                 "   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        ||| _        ||| _        || _        ||| _        |	|| _        dS dS )z7ModifyScalingPolicyRequest - a model defined in SwaggerN)r   _configuration_adjustment_type_adjustment_value_alarm_policy	_cooldown_scaling_policy_id_scaling_policy_name_scheduled_policydiscriminatorr
   r   r   r   r   r   r   )	selfr
   r   r   r   r   r   r   r   s	            /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkautoscaling/models/modify_scaling_policy_request.py__init__z#ModifyScalingPolicyRequest.__init__7   s    !*__N, $!%!"&$(!!%!&#2D '$4D!# ,D$DM!2*':D$'$4D!!! ('    c                     | j         S )zGets the adjustment_type of this ModifyScalingPolicyRequest.  # noqa: E501


        :return: The adjustment_type of this ModifyScalingPolicyRequest.  # noqa: E501
        :rtype: str
        r   r"   s    r#   r
   z*ModifyScalingPolicyRequest.adjustment_typeT   s     $$r%   c                     || _         dS )zSets the adjustment_type of this ModifyScalingPolicyRequest.


        :param adjustment_type: The adjustment_type of this ModifyScalingPolicyRequest.  # noqa: E501
        :type: str
        Nr'   )r"   r
   s     r#   r
   z*ModifyScalingPolicyRequest.adjustment_type^   s     !0r%   c                     | j         S )zGets the adjustment_value of this ModifyScalingPolicyRequest.  # noqa: E501


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


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


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


        :param alarm_policy: The alarm_policy of this ModifyScalingPolicyRequest.  # noqa: E501
        :type: AlarmPolicyForModifyScalingPolicyInput
        Nr0   )r"   r   s     r#   r   z'ModifyScalingPolicyRequest.alarm_policy   s     *r%   c                     | j         S )zGets the cooldown of this ModifyScalingPolicyRequest.  # noqa: E501


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


        :param cooldown: The cooldown of this ModifyScalingPolicyRequest.  # noqa: E501
        :type: int
        Nr3   )r"   r   s     r#   r   z#ModifyScalingPolicyRequest.cooldown   s     "r%   c                     | j         S )zGets the scaling_policy_id of this ModifyScalingPolicyRequest.  # noqa: E501


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


        :param scaling_policy_id: The scaling_policy_id of this ModifyScalingPolicyRequest.  # noqa: E501
        :type: str
        Nz9Invalid value for `scaling_policy_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r"   r   s     r#   r   z,ModifyScalingPolicyRequest.scaling_policy_id   s6     5 	Z:K:SXYYY"3r%   c                     | j         S )zGets the scaling_policy_name of this ModifyScalingPolicyRequest.  # noqa: E501


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


        :param scaling_policy_name: The scaling_policy_name of this ModifyScalingPolicyRequest.  # noqa: E501
        :type: str
        Nr:   )r"   r   s     r#   r   z.ModifyScalingPolicyRequest.scaling_policy_name   s     %8!!!r%   c                     | j         S )zGets the scheduled_policy of this ModifyScalingPolicyRequest.  # noqa: E501


        :return: The scheduled_policy of this ModifyScalingPolicyRequest.  # noqa: E501
        :rtype: ScheduledPolicyForModifyScalingPolicyInput
        r    r(   s    r#   r   z+ModifyScalingPolicyRequest.scheduled_policy   r,   r%   c                     || _         dS )zSets the scheduled_policy of this ModifyScalingPolicyRequest.


        :param scheduled_policy: The scheduled_policy of this ModifyScalingPolicyRequest.  # noqa: E501
        :type: ScheduledPolicyForModifyScalingPolicyInput
        Nr=   )r"   r   s     r#   r   z+ModifyScalingPolicyRequest.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hasattrrA   )xs    r#   <lambda>z4ModifyScalingPolicyRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r%   rA   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rA   r   rB   )items    r#   rE   z4ModifyScalingPolicyRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r%   )six	iteritemsswagger_typesgetattr
isinstancelistmaprC   rA   dictitems
issubclassr   )r"   resultattr_valuekeys         r#   rA   z"ModifyScalingPolicyRequest.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pformatrA   r(   s    r#   to_strz!ModifyScalingPolicyRequest.to_str  s    ~dllnn---r%   c                 *    |                                  S )zFor `print` and `pprint`)r[   r(   s    r#   __repr__z#ModifyScalingPolicyRequest.__repr__  s    {{}}r%   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrM   r   rA   r"   others     r#   __eq__z!ModifyScalingPolicyRequest.__eq__  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!ModifyScalingPolicyRequest.__ne__  s5    %!;<< 	4||~~00r%   )NNNNNNNN)__name__
__module____qualname____doc__rK   attribute_mapr$   propertyr
   setterr   r   r   r   r   r   rA   r[   r]   rb   rd    r%   r#   r   r      s\        
 !!@"$H M ,-%.2- M5 5 5 5: % % X% 0 0 0 & & X& 2 2 2 " " X" * * *   X _" " _" ' ' X' 
4 
4 
4 ) ) X) 8 8  8 & & X& 2 2 2  6. . .  1 1 11 1 1 1 1r%   r   )rh   rY   rerI   volcenginesdkcore.configurationr   objectr   rl   r%   r#   <module>rp      s|      				 



 9 9 9 9 9 9B1 B1 B1 B1 B1 B1 B1 B1 B1 B1r%   