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

    Do not edit the class manually.
    str+LifecycleCommandForCreateLifecycleHookInputint)client_tokenlifecycle_commandlifecycle_hook_namelifecycle_hook_policylifecycle_hook_timeoutlifecycle_hook_typescaling_group_idClientTokenLifecycleCommandLifecycleHookNameLifecycleHookPolicyLifecycleHookTimeoutLifecycleHookTypeScalingGroupIdNc	                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        ||| _
        ||| _        || _        || _        || _        || _        || _        dS )z7CreateLifecycleHookRequest - a model defined in SwaggerN)r   _configuration_client_token_lifecycle_command_lifecycle_hook_name_lifecycle_hook_policy_lifecycle_hook_timeout_lifecycle_hook_type_scaling_group_id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/create_lifecycle_hook_request.py__init__z#CreateLifecycleHookRequest.__init__7   s    !*__N,!"&$(!&*#'+$$(!!%!# ,D(%6D"#6 %:"&<##6  0    c                     | j         S )zGets the client_token of this CreateLifecycleHookRequest.  # noqa: E501


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


        :param client_token: The client_token of this CreateLifecycleHookRequest.  # noqa: E501
        :type: str
        Nr&   )r!   r	   s     r"   r	   z'CreateLifecycleHookRequest.client_tokenZ   s     *r$   c                     | j         S )zGets the lifecycle_command of this CreateLifecycleHookRequest.  # noqa: E501


        :return: The lifecycle_command of this CreateLifecycleHookRequest.  # noqa: E501
        :rtype: LifecycleCommandForCreateLifecycleHookInput
        r   r'   s    r"   r
   z,CreateLifecycleHookRequest.lifecycle_commande   s     &&r$   c                     || _         dS )zSets the lifecycle_command of this CreateLifecycleHookRequest.


        :param lifecycle_command: The lifecycle_command of this CreateLifecycleHookRequest.  # noqa: E501
        :type: LifecycleCommandForCreateLifecycleHookInput
        Nr*   )r!   r
   s     r"   r
   z,CreateLifecycleHookRequest.lifecycle_commando   s     #4r$   c                     | j         S )zGets the lifecycle_hook_name of this CreateLifecycleHookRequest.  # noqa: E501


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


        :param lifecycle_hook_name: The lifecycle_hook_name of this CreateLifecycleHookRequest.  # noqa: E501
        :type: str
        Nz;Invalid value for `lifecycle_hook_name`, must not be `None`)r   client_side_validation
ValueErrorr   )r!   r   s     r"   r   z.CreateLifecycleHookRequest.lifecycle_hook_name   6     5 	\:M:UZ[[[$7!!!r$   c                     | j         S )zGets the lifecycle_hook_policy of this CreateLifecycleHookRequest.  # noqa: E501


        :return: The lifecycle_hook_policy of this CreateLifecycleHookRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r"   r   z0CreateLifecycleHookRequest.lifecycle_hook_policy   s     **r$   c                 N    | j         j        r|t          d          || _        dS )zSets the lifecycle_hook_policy of this CreateLifecycleHookRequest.


        :param lifecycle_hook_policy: The lifecycle_hook_policy of this CreateLifecycleHookRequest.  # noqa: E501
        :type: str
        Nz=Invalid value for `lifecycle_hook_policy`, must not be `None`)r   r/   r0   r   )r!   r   s     r"   r   z0CreateLifecycleHookRequest.lifecycle_hook_policy   s6     5 	^:O:W\]]]&;###r$   c                     | j         S )zGets the lifecycle_hook_timeout of this CreateLifecycleHookRequest.  # noqa: E501


        :return: The lifecycle_hook_timeout of this CreateLifecycleHookRequest.  # noqa: E501
        :rtype: int
        )r   r'   s    r"   r   z1CreateLifecycleHookRequest.lifecycle_hook_timeout   s     ++r$   c                 N    | j         j        r|t          d          || _        dS )zSets the lifecycle_hook_timeout of this CreateLifecycleHookRequest.


        :param lifecycle_hook_timeout: The lifecycle_hook_timeout of this CreateLifecycleHookRequest.  # noqa: E501
        :type: int
        Nz>Invalid value for `lifecycle_hook_timeout`, must not be `None`)r   r/   r0   r   )r!   r   s     r"   r   z1CreateLifecycleHookRequest.lifecycle_hook_timeout   s6     5 	_:P:X]^^^'=$$$r$   c                     | j         S )zGets the lifecycle_hook_type of this CreateLifecycleHookRequest.  # noqa: E501


        :return: The lifecycle_hook_type of this CreateLifecycleHookRequest.  # noqa: E501
        :rtype: str
        )r   r'   s    r"   r   z.CreateLifecycleHookRequest.lifecycle_hook_type   r-   r$   c                 N    | j         j        r|t          d          || _        dS )zSets the lifecycle_hook_type of this CreateLifecycleHookRequest.


        :param lifecycle_hook_type: The lifecycle_hook_type of this CreateLifecycleHookRequest.  # noqa: E501
        :type: str
        Nz;Invalid value for `lifecycle_hook_type`, must not be `None`)r   r/   r0   r   )r!   r   s     r"   r   z.CreateLifecycleHookRequest.lifecycle_hook_type   r1   r$   c                     | j         S )zGets the scaling_group_id of this CreateLifecycleHookRequest.  # noqa: E501


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


        :param scaling_group_id: The scaling_group_id of this CreateLifecycleHookRequest.  # noqa: E501
        :type: str
        Nz8Invalid value for `scaling_group_id`, must not be `None`)r   r/   r0   r   )r!   r   s     r"   r   z+CreateLifecycleHookRequest.scaling_group_id   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>z4CreateLifecycleHookRequest.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@   z4CreateLifecycleHookRequest.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"CreateLifecycleHookRequest.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pformatr<   r'   s    r"   to_strz!CreateLifecycleHookRequest.to_str  s    ~dllnn---r$   c                 *    |                                  S )zFor `print` and `pprint`)rV   r'   s    r"   __repr__z#CreateLifecycleHookRequest.__repr__  s    {{}}r$   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrH   r   r<   r!   others     r"   __eq__z!CreateLifecycleHookRequest.__eq__  s5    %!;<< 	5||~~00r$   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrZ   r[   s     r"   __ne__z!CreateLifecycleHookRequest.__ne__  s5    %!;<< 	4||~~00r$   )NNNNNNNN)__name__
__module____qualname____doc__rF   attribute_mapr#   propertyr	   setterr
   r   r   r   r   r   r<   rV   rX   r]   r_    r$   r"   r   r      s^        
 J$!&"'$! M &/2!6"82, M1 1 1 12 " " X" * * * ' ' X' 4 4 4 ) ) X) 
8 
8  
8 + + X+ !
< 
< "!
< , , X, "
> 
> #"
> ) ) X) 
8 
8  
8 & & X& 
2 
2 
2  6. . .  1 1 11 1 1 1 1r$   r   )rc   rT   rerD   volcenginesdkcore.configurationr   objectr   rg   r$   r"   <module>rk      s|      				 



 9 9 9 9 9 9F1 F1 F1 F1 F1 F1 F1 F1 F1 F1r$   