
    ~iK                     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Z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d Zd Zd Zd Zd Zd	S )SetInstancesProtectionRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    z	list[str]boolstr)instance_idsprotected_from_scale_inscaling_group_idInstanceIdsProtectedFromScaleInScalingGroupIdNc                     |t                      }|| _        d| _        d| _        d| _        d| _        ||| _        ||| _        || _        dS )z:SetInstancesProtectionRequest - a model defined in SwaggerN)	r   _configuration_instance_ids_protected_from_scale_in_scaling_group_iddiscriminatorr   r	   r
   )selfr   r	   r
   r   s        /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkautoscaling/models/set_instances_protection_request.py__init__z&SetInstancesProtectionRequest.__init__/   sc    !*__N,!(,%!%!# ,D".+BD( 0    c                     | j         S )zGets the instance_ids of this SetInstancesProtectionRequest.  # noqa: E501


        :return: The instance_ids of this SetInstancesProtectionRequest.  # noqa: E501
        :rtype: list[str]
        r   r   s    r   r   z*SetInstancesProtectionRequest.instance_ids@   s     !!r   c                     || _         dS )zSets the instance_ids of this SetInstancesProtectionRequest.


        :param instance_ids: The instance_ids of this SetInstancesProtectionRequest.  # noqa: E501
        :type: list[str]
        Nr   )r   r   s     r   r   z*SetInstancesProtectionRequest.instance_idsJ   s     *r   c                     | j         S )zGets the protected_from_scale_in of this SetInstancesProtectionRequest.  # noqa: E501


        :return: The protected_from_scale_in of this SetInstancesProtectionRequest.  # noqa: E501
        :rtype: bool
        r   r   s    r   r	   z5SetInstancesProtectionRequest.protected_from_scale_inU   s     ,,r   c                     || _         dS )zSets the protected_from_scale_in of this SetInstancesProtectionRequest.


        :param protected_from_scale_in: The protected_from_scale_in of this SetInstancesProtectionRequest.  # noqa: E501
        :type: bool
        Nr   )r   r	   s     r   r	   z5SetInstancesProtectionRequest.protected_from_scale_in_   s     )@%%%r   c                     | j         S )zGets the scaling_group_id of this SetInstancesProtectionRequest.  # noqa: E501


        :return: The scaling_group_id of this SetInstancesProtectionRequest.  # noqa: E501
        :rtype: str
        )r   r   s    r   r
   z.SetInstancesProtectionRequest.scaling_group_idj   s     %%r   c                 N    | j         j        r|t          d          || _        dS )zSets the scaling_group_id of this SetInstancesProtectionRequest.


        :param scaling_group_id: The scaling_group_id of this SetInstancesProtectionRequest.  # 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.SetInstancesProtectionRequest.scaling_group_idt   s6     5 	Y:J:RWXXX!1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hasattrr%   )xs    r   <lambda>z7SetInstancesProtectionRequest.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r%   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r%   r   r&   )items    r   r)   z7SetInstancesProtectionRequest.to_dict.<locals>.<lambda>   s<    tAw	22"=$q'47??+<+<!=!=8< r   )six	iteritemsswagger_typesgetattr
isinstancelistmapr'   r%   dictitems
issubclassr   )r   resultattr_valuekeys         r   r%   z%SetInstancesProtectionRequest.to_dict   s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t3T:: 	$"jjll $ $
U#sr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr%   r   s    r   to_strz$SetInstancesProtectionRequest.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)r?   r   s    r   __repr__z&SetInstancesProtectionRequest.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr1   r   r%   r   others     r   __eq__z$SetInstancesProtectionRequest.__eq__   s5    %!>?? 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrC   rD   s     r   __ne__z$SetInstancesProtectionRequest.__ne__   s5    %!>?? 	4||~~00r   )NNNN)__name__
__module____qualname____doc__r/   attribute_mapr   propertyr   setterr	   r
   r%   r?   rA   rF   rH    r   r   r   r      sa        
 $#)! M &#9, M1 1 1 1" " " X" * * * - - X- #@ @ $#@ & & X& 
2 
2 
2  6. . .  1 1 11 1 1 1 1r   r   )rL   r=   rer-   volcenginesdkcore.configurationr   objectr   rP   r   r   <module>rT      s|      				 



 9 9 9 9 9 9Z1 Z1 Z1 Z1 Z1F Z1 Z1 Z1 Z1 Z1r   