
    ~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dd
Zdd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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 )+ReplaceSystemVolumeRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    strbool)
client_tokendry_runimage_idimage_release_versioninstance_idkeep_image_credentialkey_pair_namepasswordsize	user_dataClientTokenDryRunImageIdImageReleaseVersion
InstanceIdKeepImageCredentialKeyPairNamePasswordSizeUserDataNc                 ~   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        ||| _        ||| _        || _        ||| _        || _        ||| _        ||| _        ||| _        |	|	| _        |
	|
| _        dS dS )z7ReplaceSystemVolumeRequest - a model defined in SwaggerN)r   _configuration_client_token_dry_run	_image_id_image_release_version_instance_id_keep_image_credential_key_pair_name	_password_size
_user_datadiscriminatorr   r	   r
   r   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   r   s               ~/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkecs/models/replace_system_volume_request.py__init__z#ReplaceSystemVolumeRequest.__init__=   s    !*__N,!&*# &*#"
!# ,D"DL  ,)>D&& ,)>D&$!.D$DMDI &DNNN !     c                     | j         S )zGets the client_token of this ReplaceSystemVolumeRequest.  # noqa: E501


        :return: The client_token of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: str
        r   r)   s    r*   r   z'ReplaceSystemVolumeRequest.client_tokenb   s     !!r,   c                     || _         dS )zSets the client_token of this ReplaceSystemVolumeRequest.


        :param client_token: The client_token of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: str
        Nr.   )r)   r   s     r*   r   z'ReplaceSystemVolumeRequest.client_tokenl   s     *r,   c                     | j         S )zGets the dry_run of this ReplaceSystemVolumeRequest.  # noqa: E501


        :return: The dry_run of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: bool
        r   r/   s    r*   r	   z"ReplaceSystemVolumeRequest.dry_runw   s     }r,   c                     || _         dS )zSets the dry_run of this ReplaceSystemVolumeRequest.


        :param dry_run: The dry_run of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: bool
        Nr2   )r)   r	   s     r*   r	   z"ReplaceSystemVolumeRequest.dry_run   s      r,   c                     | j         S )zGets the image_id of this ReplaceSystemVolumeRequest.  # noqa: E501


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


        :param image_id: The image_id of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: str
        Nz0Invalid value for `image_id`, must not be `None`)r   client_side_validation
ValueErrorr    )r)   r
   s     r*   r
   z#ReplaceSystemVolumeRequest.image_id   s2     5 	Q(:JOPPP!r,   c                     | j         S )zGets the image_release_version of this ReplaceSystemVolumeRequest.  # noqa: E501


        :return: The image_release_version of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: str
        r!   r/   s    r*   r   z0ReplaceSystemVolumeRequest.image_release_version        **r,   c                     || _         dS )zSets the image_release_version of this ReplaceSystemVolumeRequest.


        :param image_release_version: The image_release_version of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: str
        Nr:   )r)   r   s     r*   r   z0ReplaceSystemVolumeRequest.image_release_version        '<###r,   c                     | j         S )zGets the instance_id of this ReplaceSystemVolumeRequest.  # noqa: E501


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


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


        :return: The keep_image_credential of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: bool
        r#   r/   s    r*   r   z0ReplaceSystemVolumeRequest.keep_image_credential   r;   r,   c                     || _         dS )zSets the keep_image_credential of this ReplaceSystemVolumeRequest.


        :param keep_image_credential: The keep_image_credential of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: bool
        NrA   )r)   r   s     r*   r   z0ReplaceSystemVolumeRequest.keep_image_credential   r=   r,   c                     | j         S )zGets the key_pair_name of this ReplaceSystemVolumeRequest.  # noqa: E501


        :return: The key_pair_name of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: str
        r$   r/   s    r*   r   z(ReplaceSystemVolumeRequest.key_pair_name   s     ""r,   c                     || _         dS )zSets the key_pair_name of this ReplaceSystemVolumeRequest.


        :param key_pair_name: The key_pair_name of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: str
        NrD   )r)   r   s     r*   r   z(ReplaceSystemVolumeRequest.key_pair_name   s     ,r,   c                     | j         S )zGets the password of this ReplaceSystemVolumeRequest.  # noqa: E501


        :return: The password of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: str
        r%   r/   s    r*   r   z#ReplaceSystemVolumeRequest.password   r5   r,   c                     || _         dS )zSets the password of this ReplaceSystemVolumeRequest.


        :param password: The password of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: str
        NrG   )r)   r   s     r*   r   z#ReplaceSystemVolumeRequest.password  s     "r,   c                     | j         S )zGets the size of this ReplaceSystemVolumeRequest.  # noqa: E501


        :return: The size of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: str
        r&   r/   s    r*   r   zReplaceSystemVolumeRequest.size  s     zr,   c                     || _         dS )zSets the size of this ReplaceSystemVolumeRequest.


        :param size: The size of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: str
        NrJ   )r)   r   s     r*   r   zReplaceSystemVolumeRequest.size  s     


r,   c                     | j         S )zGets the user_data of this ReplaceSystemVolumeRequest.  # noqa: E501


        :return: The user_data of this ReplaceSystemVolumeRequest.  # noqa: E501
        :rtype: str
        r'   r/   s    r*   r   z$ReplaceSystemVolumeRequest.user_data#  s     r,   c                     || _         dS )zSets the user_data of this ReplaceSystemVolumeRequest.


        :param user_data: The user_data of this ReplaceSystemVolumeRequest.  # noqa: E501
        :type: str
        NrM   )r)   r   s     r*   r   z$ReplaceSystemVolumeRequest.user_data-  s     $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hasattrrQ   )xs    r*   <lambda>z4ReplaceSystemVolumeRequest.to_dict.<locals>.<lambda>@  s!    WQ	-B-BIaiikkk r,   rQ   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rQ   r   rR   )items    r*   rU   z4ReplaceSystemVolumeRequest.to_dict.<locals>.<lambda>G  s<    tAw	22"=$q'47??+<+<!=!=8< r,   )six	iteritemsswagger_typesgetattr
isinstancelistmaprS   rQ   dictitems
issubclassr   )r)   resultattr_valuekeys         r*   rQ   z"ReplaceSystemVolumeRequest.to_dict8  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pformatrQ   r/   s    r*   to_strz!ReplaceSystemVolumeRequest.to_strS  s    ~dllnn---r,   c                 *    |                                  S )zFor `print` and `pprint`)rk   r/   s    r*   __repr__z#ReplaceSystemVolumeRequest.__repr__W  s    {{}}r,   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr]   r   rQ   r)   others     r*   __eq__z!ReplaceSystemVolumeRequest.__eq__[  s5    %!;<< 	5||~~00r,   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTro   rp   s     r*   __ne__z!ReplaceSystemVolumeRequest.__ne__b  s5    %!;<< 	4||~~00r,   )NNNNNNNNNNN)__name__
__module____qualname____doc__r[   attribute_mapr+   propertyr   setterr	   r
   r   r   r   r   r   r   r   rQ   rk   rm   rr   rt    r,   r*   r   r      s        
 !&!' M &!6#!6& M#' #' #' #'J " " X" * * *   X ^    ^    X _
" 
" _
" + + X+ !< < "!< ! ! X! 
( 
( 
( + + X+ !< < "!< # # X# , , ,   X _" " _"   X 
[  [   X $ $ $  6. . .  1 1 11 1 1 1 1r,   r   )rx   ri   rerY   volcenginesdkcore.configurationr   objectr   r|   r,   r*   <module>r      s|      				 



 9 9 9 9 9 9Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1 Q1r,   