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

    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dZ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d Zd  Zd! Zd" Zd# ZdS )%ModifyInstancePlacementRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strbool)affinityclient_tokendedicated_host_iddry_runinstance_idinstance_type_idmigration_typetenancyAffinityClientTokenDedicatedHostIdDryRun
InstanceIdInstanceTypeIdMigrationTypeTenancyNc
                 B   |	t                      }	|	| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        ||| _        ||| _        ||| _        ||| _        || _        ||| _        ||| _        |	|| _        dS dS )z;ModifyInstancePlacementRequest - a model defined in SwaggerN)r   _configuration	_affinity_client_token_dedicated_host_id_dry_run_instance_id_instance_type_id_migration_type_tenancydiscriminatorr   r	   r
   r   r   r   r   r   )
selfr   r	   r
   r   r   r   r   r   r   s
             /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkecs/models/modify_instance_placement_request.py__init__z'ModifyInstancePlacementRequest.__init__9   s    !*__N,!"& !%#!$DM# ,D(%6D""DL&'$4D!%"0D"DLLL     c                     | j         S )zGets the affinity of this ModifyInstancePlacementRequest.  # noqa: E501


        :return: The affinity of this ModifyInstancePlacementRequest.  # noqa: E501
        :rtype: str
        r   r#   s    r$   r   z'ModifyInstancePlacementRequest.affinityY   s     ~r&   c                     || _         dS )zSets the affinity of this ModifyInstancePlacementRequest.


        :param affinity: The affinity of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: str
        Nr(   )r#   r   s     r$   r   z'ModifyInstancePlacementRequest.affinityc   s     "r&   c                     | j         S )zGets the client_token of this ModifyInstancePlacementRequest.  # noqa: E501


        :return: The client_token of this ModifyInstancePlacementRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r$   r	   z+ModifyInstancePlacementRequest.client_tokenn   s     !!r&   c                     || _         dS )zSets the client_token of this ModifyInstancePlacementRequest.


        :param client_token: The client_token of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: str
        Nr,   )r#   r	   s     r$   r	   z+ModifyInstancePlacementRequest.client_tokenx   s     *r&   c                     | j         S )zGets the dedicated_host_id of this ModifyInstancePlacementRequest.  # noqa: E501


        :return: The dedicated_host_id of this ModifyInstancePlacementRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r$   r
   z0ModifyInstancePlacementRequest.dedicated_host_id   s     &&r&   c                     || _         dS )zSets the dedicated_host_id of this ModifyInstancePlacementRequest.


        :param dedicated_host_id: The dedicated_host_id of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: str
        Nr/   )r#   r
   s     r$   r
   z0ModifyInstancePlacementRequest.dedicated_host_id   s     #4r&   c                     | j         S )zGets the dry_run of this ModifyInstancePlacementRequest.  # noqa: E501


        :return: The dry_run of this ModifyInstancePlacementRequest.  # noqa: E501
        :rtype: bool
        r   r)   s    r$   r   z&ModifyInstancePlacementRequest.dry_run        }r&   c                     || _         dS )zSets the dry_run of this ModifyInstancePlacementRequest.


        :param dry_run: The dry_run of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: bool
        Nr2   )r#   r   s     r$   r   z&ModifyInstancePlacementRequest.dry_run         r&   c                     | j         S )zGets the instance_id of this ModifyInstancePlacementRequest.  # noqa: E501


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


        :param instance_id: The instance_id of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `instance_id`, must not be `None`)r   client_side_validation
ValueErrorr   )r#   r   s     r$   r   z*ModifyInstancePlacementRequest.instance_id   s5     5 	T+:MRSSS'r&   c                     | j         S )zGets the instance_type_id of this ModifyInstancePlacementRequest.  # noqa: E501


        :return: The instance_type_id of this ModifyInstancePlacementRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r$   r   z/ModifyInstancePlacementRequest.instance_type_id   s     %%r&   c                     || _         dS )zSets the instance_type_id of this ModifyInstancePlacementRequest.


        :param instance_type_id: The instance_type_id of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: str
        Nr;   )r#   r   s     r$   r   z/ModifyInstancePlacementRequest.instance_type_id   s     "2r&   c                     | j         S )zGets the migration_type of this ModifyInstancePlacementRequest.  # noqa: E501


        :return: The migration_type of this ModifyInstancePlacementRequest.  # noqa: E501
        :rtype: str
        r    r)   s    r$   r   z-ModifyInstancePlacementRequest.migration_type   s     ##r&   c                     || _         dS )zSets the migration_type of this ModifyInstancePlacementRequest.


        :param migration_type: The migration_type of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: str
        Nr>   )r#   r   s     r$   r   z-ModifyInstancePlacementRequest.migration_type   s      .r&   c                     | j         S )zGets the tenancy of this ModifyInstancePlacementRequest.  # noqa: E501


        :return: The tenancy of this ModifyInstancePlacementRequest.  # noqa: E501
        :rtype: str
        r!   r)   s    r$   r   z&ModifyInstancePlacementRequest.tenancy   r3   r&   c                     || _         dS )zSets the tenancy of this ModifyInstancePlacementRequest.


        :param tenancy: The tenancy of this ModifyInstancePlacementRequest.  # noqa: E501
        :type: str
        NrA   )r#   r   s     r$   r   z&ModifyInstancePlacementRequest.tenancy   r5   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hasattrrE   )xs    r$   <lambda>z8ModifyInstancePlacementRequest.to_dict.<locals>.<lambda>  s!    WQ	-B-BIaiikkk r&   rE   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rE   r   rF   )items    r$   rI   z8ModifyInstancePlacementRequest.to_dict.<locals>.<lambda>  s<    tAw	22"=$q'47??+<+<!=!=8< r&   )six	iteritemsswagger_typesgetattr
isinstancelistmaprG   rE   dictitems
issubclassr   )r#   resultattr_valuekeys         r$   rE   z&ModifyInstancePlacementRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t4d;; 	$"jjll $ $
U#sr&   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrE   r)   s    r$   to_strz%ModifyInstancePlacementRequest.to_str  s    ~dllnn---r&   c                 *    |                                  S )zFor `print` and `pprint`)r_   r)   s    r$   __repr__z'ModifyInstancePlacementRequest.__repr__"  s    {{}}r&   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrQ   r   rE   r#   others     r$   __eq__z%ModifyInstancePlacementRequest.__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%ModifyInstancePlacementRequest.__ne__-  s5    %!?@@ 	4||~~00r&   )	NNNNNNNNN)__name__
__module____qualname____doc__rO   attribute_mapr%   propertyr   setterr	   r
   r   r   r   r   r   rE   r_   ra   rf   rh    r&   r$   r   r      s        
 "!	 	M %.#,)	 	M# # # #@   X _" " _" " " X" * * * ' ' X' 4 4 4   X ^    ^  ! ! X! 
( 
( 
( & & X& 2 2 2 $ $ X$ . . .   X ^    ^   6. . .  1 1 11 1 1 1 1r&   r   )rl   r]   rerM   volcenginesdkcore.configurationr   objectr   rp   r&   r$   <module>rt      s|      				 



 9 9 9 9 9 9\1 \1 \1 \1 \1V \1 \1 \1 \1 \1r&   