
    ~id&                     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            
       P   e Zd ZdZ	 dddddddddd	Z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d# Zd$ Zd% Zd& Zd' ZdS ))CreateImageRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    boolstrzlist[TagForCreateImageInput])	create_whole_imagedescription
image_nameinstance_idneed_detectionproject_namesnapshot_group_idsnapshot_idtagsCreateWholeImageDescription	ImageName
InstanceIdNeedDetectionProjectNameSnapshotGroupId
SnapshotIdTagsNc                 b   |
t                      }
|
| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        ||| _        ||| _        |		|	| _        dS dS )z/CreateImageRequest - a model defined in SwaggerN)r   _configuration_create_whole_image_description_image_name_instance_id_need_detection_project_name_snapshot_group_id_snapshot_id_tagsdiscriminatorr   r	   r
   r   r   r   r   r   r   )selfr   r	   r
   r   r   r   r   r   r   r   s              u/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkecs/models/create_image_request.py__init__zCreateImageRequest.__init__;   s    !*__N,#'   #!"& 
!)&8D#"*D$"*D%"0D# ,D(%6D""*DDIII     c                     | j         S )zGets the create_whole_image of this CreateImageRequest.  # noqa: E501


        :return: The create_whole_image of this CreateImageRequest.  # noqa: E501
        :rtype: bool
        r   r&   s    r'   r   z%CreateImageRequest.create_whole_image^   s     ''r)   c                     || _         dS )zSets the create_whole_image of this CreateImageRequest.


        :param create_whole_image: The create_whole_image of this CreateImageRequest.  # noqa: E501
        :type: bool
        Nr+   )r&   r   s     r'   r   z%CreateImageRequest.create_whole_imageh   s     $6   r)   c                     | j         S )zGets the description of this CreateImageRequest.  # noqa: E501


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


        :param description: The description of this CreateImageRequest.  # noqa: E501
        :type: str
        Nr/   )r&   r	   s     r'   r	   zCreateImageRequest.description}        (r)   c                     | j         S )zGets the image_name of this CreateImageRequest.  # noqa: E501


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


        :param image_name: The image_name of this CreateImageRequest.  # noqa: E501
        :type: str
        Nz2Invalid value for `image_name`, must not be `None`)r   client_side_validation
ValueErrorr   )r&   r
   s     r'   r
   zCreateImageRequest.image_name   s5     5 	S*:LQRRR%r)   c                     | j         S )zGets the instance_id of this CreateImageRequest.  # noqa: E501


        :return: The instance_id of this CreateImageRequest.  # noqa: E501
        :rtype: str
        r   r,   s    r'   r   zCreateImageRequest.instance_id   r0   r)   c                     || _         dS )zSets the instance_id of this CreateImageRequest.


        :param instance_id: The instance_id of this CreateImageRequest.  # noqa: E501
        :type: str
        Nr8   )r&   r   s     r'   r   zCreateImageRequest.instance_id   r2   r)   c                     | j         S )zGets the need_detection of this CreateImageRequest.  # noqa: E501


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


        :param need_detection: The need_detection of this CreateImageRequest.  # noqa: E501
        :type: bool
        Nr;   )r&   r   s     r'   r   z!CreateImageRequest.need_detection   s      .r)   c                     | j         S )zGets the project_name of this CreateImageRequest.  # noqa: E501


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


        :param project_name: The project_name of this CreateImageRequest.  # noqa: E501
        :type: str
        Nr>   )r&   r   s     r'   r   zCreateImageRequest.project_name   s     *r)   c                     | j         S )zGets the snapshot_group_id of this CreateImageRequest.  # noqa: E501


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


        :param snapshot_group_id: The snapshot_group_id of this CreateImageRequest.  # noqa: E501
        :type: str
        NrA   )r&   r   s     r'   r   z$CreateImageRequest.snapshot_group_id   s     #4r)   c                     | j         S )zGets the snapshot_id of this CreateImageRequest.  # noqa: E501


        :return: The snapshot_id of this CreateImageRequest.  # noqa: E501
        :rtype: str
        r#   r,   s    r'   r   zCreateImageRequest.snapshot_id   r0   r)   c                     || _         dS )zSets the snapshot_id of this CreateImageRequest.


        :param snapshot_id: The snapshot_id of this CreateImageRequest.  # noqa: E501
        :type: str
        NrD   )r&   r   s     r'   r   zCreateImageRequest.snapshot_id   r2   r)   c                     | j         S )zGets the tags of this CreateImageRequest.  # noqa: E501


        :return: The tags of this CreateImageRequest.  # noqa: E501
        :rtype: list[TagForCreateImageInput]
        r$   r,   s    r'   r   zCreateImageRequest.tags  s     zr)   c                     || _         dS )zSets the tags of this CreateImageRequest.


        :param tags: The tags of this CreateImageRequest.  # noqa: E501
        :type: list[TagForCreateImageInput]
        NrG   )r&   r   s     r'   r   zCreateImageRequest.tags  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hasattrrK   )xs    r'   <lambda>z,CreateImageRequest.to_dict.<locals>.<lambda>%  s!    WQ	-B-BIaiikkk r)   rK   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   rK   r   rL   )items    r'   rO   z,CreateImageRequest.to_dict.<locals>.<lambda>,  s<    tAw	22"=$q'47??+<+<!=!=8< r)   )six	iteritemsswagger_typesgetattr
isinstancelistmaprM   rK   dictitems
issubclassr   )r&   resultattr_valuekeys         r'   rK   zCreateImageRequest.to_dict  s,   }T%788 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %t($// 	$"jjll $ $
U#sr)   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatrK   r,   s    r'   to_strzCreateImageRequest.to_str8  s    ~dllnn---r)   c                 *    |                                  S )zFor `print` and `pprint`)re   r,   s    r'   __repr__zCreateImageRequest.__repr__<  s    {{}}r)   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFrW   r   rK   r&   others     r'   __eq__zCreateImageRequest.__eq__@  s5    %!344 	5||~~00r)   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTri   rj   s     r'   __ne__zCreateImageRequest.__ne__G  s5    %!344 	4||~~00r)   )
NNNNNNNNNN)__name__
__module____qualname____doc__rU   attribute_mapr(   propertyr   setterr	   r
   r   r   r   r   r   r   rK   re   rg   rl   rn    r)   r'   r   r      s        
 % ".
 
M 1$!#)%.#
 
M! ! ! !F ( ( X( 6 6 6 ! ! X! ( ( (     X  
& 
& 
& ! ! X! ( ( ( $ $ X$ . . . " " X" * * * ' ' X' 4 4 4 ! ! X! ( ( (   X 
[  [  6. . .  1 1 11 1 1 1 1r)   r   )rr   rc   rerS   volcenginesdkcore.configurationr   objectr   rv   r)   r'   <module>rz      s|      				 



 9 9 9 9 9 9v1 v1 v1 v1 v1 v1 v1 v1 v1 v1r)   