
    ~i1U                     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	 i ddddddddd	dd
ddddddddddddddddddddddddddZi ddddddddd	dd
d dd!dd"dd#dd$dd%dd&dd'dd(dd)dd*dd+d,d-dZd[d/Zed0             Zej	        d1             Zed2             Z
e
j	        d3             Z
ed4             Zej	        d5             Zed6             Zej	        d7             Zed8             Zej	        d9             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	        dA             ZedB             Zej	        dC             ZedD             Zej	        dE             ZedF             Zej	        dG             ZedH             Zej	        dI             ZedJ             Zej	        dK             ZedL             Zej	        dM             ZedN             Zej	        dO             ZedP             Zej	        dQ             ZedR             Zej	        dS             ZedT             Zej	        dU             ZdV ZdW ZdX ZdY ZdZ Z d.S )\CreateScalingGroupRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    client_tokenstrdb_instance_idsz	list[str]default_cooldownintdesire_instance_numberhealth_check_typeinstance_terminate_policyinstances_distribution/InstancesDistributionForCreateScalingGroupInputlaunch_template_idlaunch_template_overridesz6list[LaunchTemplateOverrideForCreateScalingGroupInput]launch_template_versionmax_instance_numbermin_instance_numbermulti_az_policyproject_namescaling_group_namescaling_modeserver_group_attributesz4list[ServerGroupAttributeForCreateScalingGroupInput]z#list[TagForCreateScalingGroupInput])
subnet_idstagsClientTokenDBInstanceIdsDefaultCooldownDesireInstanceNumberHealthCheckTypeInstanceTerminatePolicyInstancesDistributionLaunchTemplateIdLaunchTemplateOverridesLaunchTemplateVersionMaxInstanceNumberMinInstanceNumberMultiAZPolicyProjectNameScalingGroupNameScalingModeServerGroupAttributes	SubnetIdsTagsNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        || _         || _!        ||| _"        ||| _#        || _$        ||| _%        ||| _&        ||| _'        |	|| _(        dS dS )z6CreateScalingGroupRequest - a model defined in SwaggerN))r   _configuration_client_token_db_instance_ids_default_cooldown_desire_instance_number_health_check_type_instance_terminate_policy_instances_distribution_launch_template_id_launch_template_overrides_launch_template_version_max_instance_number_min_instance_number_multi_az_policy_project_name_scaling_group_name_scaling_mode_server_group_attributes_subnet_ids_tagsdiscriminatorr   r   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   )selfr   r   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r0   s                        /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkautoscaling/models/create_scaling_group_request.py__init__z"CreateScalingGroupRequest.__init__O   s   !*__N,! $!%'+$"&*.''+$#' *.'(,%$(!$(! $!#' !(,%
!# ,D&#2D '$4D!!-*@D'(%6D"$0-FD*!-*@D')&8D#$0-FD*".+BD(#6 #6 &#2D # ,D"4# ,D".+BD(!(DODIII     c                     | j         S )zGets the client_token of this CreateScalingGroupRequest.  # noqa: E501


        :return: The client_token of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        )r1   rE   s    rF   r   z&CreateScalingGroupRequest.client_token        !!rH   c                 t    | j         j        r$|"t          |          dk    rt          d          || _        dS )zSets the client_token of this CreateScalingGroupRequest.


        :param client_token: The client_token of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        N@   zKInvalid value for `client_token`, length must be less than or equal to `64`)r0   client_side_validationlen
ValueErrorr1   )rE   r   s     rF   r   z&CreateScalingGroupRequest.client_token   H     6 	l(S->->-C-Cjkkk)rH   c                     | j         S )zGets the db_instance_ids of this CreateScalingGroupRequest.  # noqa: E501


        :return: The db_instance_ids of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: list[str]
        r2   rJ   s    rF   r   z)CreateScalingGroupRequest.db_instance_ids        $$rH   c                     || _         dS )zSets the db_instance_ids of this CreateScalingGroupRequest.


        :param db_instance_ids: The db_instance_ids of this CreateScalingGroupRequest.  # noqa: E501
        :type: list[str]
        NrS   )rE   r   s     rF   r   z)CreateScalingGroupRequest.db_instance_ids        !0rH   c                     | j         S )zGets the default_cooldown of this CreateScalingGroupRequest.  # noqa: E501


        :return: The default_cooldown of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: int
        )r3   rJ   s    rF   r	   z*CreateScalingGroupRequest.default_cooldown   s     %%rH   c                     | j         j        r||dk    rt          d          | j         j        r||dk     rt          d          || _        dS )zSets the default_cooldown of this CreateScalingGroupRequest.


        :param default_cooldown: The default_cooldown of this CreateScalingGroupRequest.  # noqa: E501
        :type: int
        NiQ zSInvalid value for `default_cooldown`, must be a value less than or equal to `86400`   zRInvalid value for `default_cooldown`, must be a value greater than or equal to `5`)r0   rN   rP   r3   )rE   r	   s     rF   r	   z*CreateScalingGroupRequest.default_cooldown   sp     6 	t ,1AE1I1Irsss6 	s ,1AA1E1Eqrrr!1rH   c                     | j         S )zGets the desire_instance_number of this CreateScalingGroupRequest.  # noqa: E501


        :return: The desire_instance_number of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: int
        r4   rJ   s    rF   r   z0CreateScalingGroupRequest.desire_instance_number        ++rH   c                     || _         dS )zSets the desire_instance_number of this CreateScalingGroupRequest.


        :param desire_instance_number: The desire_instance_number of this CreateScalingGroupRequest.  # noqa: E501
        :type: int
        Nr[   )rE   r   s     rF   r   z0CreateScalingGroupRequest.desire_instance_number        (>$$$rH   c                     | j         S )zGets the health_check_type of this CreateScalingGroupRequest.  # noqa: E501


        :return: The health_check_type of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        r5   rJ   s    rF   r   z+CreateScalingGroupRequest.health_check_type   s     &&rH   c                     || _         dS )zSets the health_check_type of this CreateScalingGroupRequest.


        :param health_check_type: The health_check_type of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        Nr`   )rE   r   s     rF   r   z+CreateScalingGroupRequest.health_check_type   s     #4rH   c                     | j         S )zGets the instance_terminate_policy of this CreateScalingGroupRequest.  # noqa: E501


        :return: The instance_terminate_policy of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        r6   rJ   s    rF   r   z3CreateScalingGroupRequest.instance_terminate_policy        ..rH   c                     || _         dS )zSets the instance_terminate_policy of this CreateScalingGroupRequest.


        :param instance_terminate_policy: The instance_terminate_policy of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        Nrc   )rE   r   s     rF   r   z3CreateScalingGroupRequest.instance_terminate_policy
       +D'''rH   c                     | j         S )zGets the instances_distribution of this CreateScalingGroupRequest.  # noqa: E501


        :return: The instances_distribution of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: InstancesDistributionForCreateScalingGroupInput
        r7   rJ   s    rF   r   z0CreateScalingGroupRequest.instances_distribution  r\   rH   c                     || _         dS )zSets the instances_distribution of this CreateScalingGroupRequest.


        :param instances_distribution: The instances_distribution of this CreateScalingGroupRequest.  # noqa: E501
        :type: InstancesDistributionForCreateScalingGroupInput
        Nrh   )rE   r   s     rF   r   z0CreateScalingGroupRequest.instances_distribution  r^   rH   c                     | j         S )zGets the launch_template_id of this CreateScalingGroupRequest.  # noqa: E501


        :return: The launch_template_id of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        r8   rJ   s    rF   r   z,CreateScalingGroupRequest.launch_template_id*       ''rH   c                     || _         dS )zSets the launch_template_id of this CreateScalingGroupRequest.


        :param launch_template_id: The launch_template_id of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        Nrk   )rE   r   s     rF   r   z,CreateScalingGroupRequest.launch_template_id4  s     $6   rH   c                     | j         S )a  Gets the launch_template_overrides of this CreateScalingGroupRequest.  # noqa: E501


        :return: The launch_template_overrides of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: list[LaunchTemplateOverrideForCreateScalingGroupInput]
        r9   rJ   s    rF   r   z3CreateScalingGroupRequest.launch_template_overrides?  rd   rH   c                     || _         dS )a  Sets the launch_template_overrides of this CreateScalingGroupRequest.


        :param launch_template_overrides: The launch_template_overrides of this CreateScalingGroupRequest.  # noqa: E501
        :type: list[LaunchTemplateOverrideForCreateScalingGroupInput]
        Nro   )rE   r   s     rF   r   z3CreateScalingGroupRequest.launch_template_overridesI  rf   rH   c                     | j         S )zGets the launch_template_version of this CreateScalingGroupRequest.  # noqa: E501


        :return: The launch_template_version of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        r:   rJ   s    rF   r   z1CreateScalingGroupRequest.launch_template_versionT       ,,rH   c                     || _         dS )zSets the launch_template_version of this CreateScalingGroupRequest.


        :param launch_template_version: The launch_template_version of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        Nrr   )rE   r   s     rF   r   z1CreateScalingGroupRequest.launch_template_version^       )@%%%rH   c                     | j         S )zGets the max_instance_number of this CreateScalingGroupRequest.  # noqa: E501


        :return: The max_instance_number of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: int
        )r;   rJ   s    rF   r   z-CreateScalingGroupRequest.max_instance_numberi       ((rH   c                 N    | j         j        r|t          d          || _        dS )zSets the max_instance_number of this CreateScalingGroupRequest.


        :param max_instance_number: The max_instance_number of this CreateScalingGroupRequest.  # noqa: E501
        :type: int
        Nz;Invalid value for `max_instance_number`, must not be `None`)r0   rN   rP   r;   )rE   r   s     rF   r   z-CreateScalingGroupRequest.max_instance_numbers  6     5 	\:M:UZ[[[$7!!!rH   c                     | j         S )zGets the min_instance_number of this CreateScalingGroupRequest.  # noqa: E501


        :return: The min_instance_number of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: int
        )r<   rJ   s    rF   r   z-CreateScalingGroupRequest.min_instance_number  rw   rH   c                 N    | j         j        r|t          d          || _        dS )zSets the min_instance_number of this CreateScalingGroupRequest.


        :param min_instance_number: The min_instance_number of this CreateScalingGroupRequest.  # noqa: E501
        :type: int
        Nz;Invalid value for `min_instance_number`, must not be `None`)r0   rN   rP   r<   )rE   r   s     rF   r   z-CreateScalingGroupRequest.min_instance_number  ry   rH   c                     | j         S )zGets the multi_az_policy of this CreateScalingGroupRequest.  # noqa: E501


        :return: The multi_az_policy of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        r=   rJ   s    rF   r   z)CreateScalingGroupRequest.multi_az_policy  rT   rH   c                     || _         dS )zSets the multi_az_policy of this CreateScalingGroupRequest.


        :param multi_az_policy: The multi_az_policy of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        Nr}   )rE   r   s     rF   r   z)CreateScalingGroupRequest.multi_az_policy  rV   rH   c                     | j         S )zGets the project_name of this CreateScalingGroupRequest.  # noqa: E501


        :return: The project_name of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        )r>   rJ   s    rF   r   z&CreateScalingGroupRequest.project_name  rK   rH   c                 t    | j         j        r$|"t          |          dk    rt          d          || _        dS )zSets the project_name of this CreateScalingGroupRequest.


        :param project_name: The project_name of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        NrM   zKInvalid value for `project_name`, length must be less than or equal to `64`)r0   rN   rO   rP   r>   )rE   r   s     rF   r   z&CreateScalingGroupRequest.project_name  rQ   rH   c                     | j         S )zGets the scaling_group_name of this CreateScalingGroupRequest.  # noqa: E501


        :return: The scaling_group_name of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        )r?   rJ   s    rF   r   z,CreateScalingGroupRequest.scaling_group_name  rl   rH   c                 N    | j         j        r|t          d          || _        dS )zSets the scaling_group_name of this CreateScalingGroupRequest.


        :param scaling_group_name: The scaling_group_name of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        Nz:Invalid value for `scaling_group_name`, must not be `None`)r0   rN   rP   r?   )rE   r   s     rF   r   z,CreateScalingGroupRequest.scaling_group_name  s6     5 	[:L:TYZZZ#5   rH   c                     | j         S )zGets the scaling_mode of this CreateScalingGroupRequest.  # noqa: E501


        :return: The scaling_mode of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: str
        r@   rJ   s    rF   r   z&CreateScalingGroupRequest.scaling_mode  rK   rH   c                     || _         dS )zSets the scaling_mode of this CreateScalingGroupRequest.


        :param scaling_mode: The scaling_mode of this CreateScalingGroupRequest.  # noqa: E501
        :type: str
        Nr   )rE   r   s     rF   r   z&CreateScalingGroupRequest.scaling_mode  s     *rH   c                     | j         S )zGets the server_group_attributes of this CreateScalingGroupRequest.  # noqa: E501


        :return: The server_group_attributes of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: list[ServerGroupAttributeForCreateScalingGroupInput]
        rA   rJ   s    rF   r   z1CreateScalingGroupRequest.server_group_attributes  rs   rH   c                     || _         dS )a  Sets the server_group_attributes of this CreateScalingGroupRequest.


        :param server_group_attributes: The server_group_attributes of this CreateScalingGroupRequest.  # noqa: E501
        :type: list[ServerGroupAttributeForCreateScalingGroupInput]
        Nr   )rE   r   s     rF   r   z1CreateScalingGroupRequest.server_group_attributes  ru   rH   c                     | j         S )zGets the subnet_ids of this CreateScalingGroupRequest.  # noqa: E501


        :return: The subnet_ids of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: list[str]
        rB   rJ   s    rF   r   z$CreateScalingGroupRequest.subnet_ids  s     rH   c                     || _         dS )zSets the subnet_ids of this CreateScalingGroupRequest.


        :param subnet_ids: The subnet_ids of this CreateScalingGroupRequest.  # noqa: E501
        :type: list[str]
        Nr   )rE   r   s     rF   r   z$CreateScalingGroupRequest.subnet_ids  s     &rH   c                     | j         S )zGets the tags of this CreateScalingGroupRequest.  # noqa: E501


        :return: The tags of this CreateScalingGroupRequest.  # noqa: E501
        :rtype: list[TagForCreateScalingGroupInput]
        rC   rJ   s    rF   r   zCreateScalingGroupRequest.tags  s     zrH   c                     || _         dS )zSets the tags of this CreateScalingGroupRequest.


        :param tags: The tags of this CreateScalingGroupRequest.  # noqa: E501
        :type: list[TagForCreateScalingGroupInput]
        Nr   )rE   r   s     rF   r   zCreateScalingGroupRequest.tags$  s     


rH   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    rF   <lambda>z3CreateScalingGroupRequest.to_dict.<locals>.<lambda>7  s!    WQ	-B-BIaiikkk rH   r   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r   r   r   )items    rF   r   z3CreateScalingGroupRequest.to_dict.<locals>.<lambda>>  s<    tAw	22"=$q'47??+<+<!=!=8< rH   )six	iteritemsswagger_typesgetattr
isinstancelistmapr   r   dictitems
issubclassr   )rE   resultattr_valuekeys         rF   r   z!CreateScalingGroupRequest.to_dict/  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t/66 	$"jjll $ $
U#srH   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr   rJ   s    rF   to_strz CreateScalingGroupRequest.to_strJ  s    ~dllnn---rH   c                 *    |                                  S )zFor `print` and `pprint`)r   rJ   s    rF   __repr__z"CreateScalingGroupRequest.__repr__N  s    {{}}rH   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr   r   r   rE   others     rF   __eq__z CreateScalingGroupRequest.__eq__R  s5    %!:;; 	5||~~00rH   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTr   r   s     rF   __ne__z CreateScalingGroupRequest.__ne__Y  s5    %!:;; 	4||~~00rH   )NNNNNNNNNNNNNNNNNNNN)!__name__
__module____qualname____doc__r   attribute_maprG   propertyr   setterr   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    rH   rF   r   r      s        
; 	E 	!%	
 	U 	$U 	!"S 	e 	$%] 	"5 	u 	u 	5 	 	e  	!" 	"#Y#$ "5'  M,? 	- 	!"8	
 	. 	$%> 	!"9 	0 	$%> 	"#: 	2 	2 	? 	 	0  	!" 	"#:#$ "'  M,= = = =~ " " X" * * * % % X% 0 0 0 & & X& 2 2 2  , , X, "> > #"> ' ' X' 4 4 4 / / X/ %D D &%D , , X, "> > #"> ( ( X( 6 6 6 / / X/ %D D &%D - - X- #@ @ $#@ ) ) X) 
8 
8  
8 ) ) X) 
8 
8  
8 % % X% 0 0 0 " " X" * * * ( ( X( 
6 
6 
6 " " X" * * * - - X- #@ @ $#@     X  & & &   X 
[  [  6. . .  1 1 11 1 1 1 1rH   r   )r   r   rer   volcenginesdkcore.configurationr   objectr   r   rH   rF   <module>r      s|      				 



 9 9 9 9 9 9H	1 H	1 H	1 H	1 H	1 H	1 H	1 H	1 H	1 H	1rH   