
    ~iGA                     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
    storage_ebs

    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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&ZdPd(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	        d0             Zed1             Zej	        d2             Zed3             Zej	        d4             Zed5             Zej	        d6             Zed7             Zej	        d8             Zed9             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dA             Zej	        dB             ZedC             Zej	        dD             ZedE             Zej	        dF             ZedG             Zej	        dH             ZedI             Zej	        dJ             ZdK ZdL ZdM ZdN ZdO Zd'S )QCreateVolumeRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    client_tokenstrdescriptionextra_performance_iopsintextra_performance_throughput_mbextra_performance_type_idinstance_idkindplacement_group_idproject_namesizesnapshot_idsubgroup_numbertagszlist[TagForCreateVolumeInput]volume_charge_typevolume_namevolume_typezone_idClientTokenDescriptionExtraPerformanceIOPSExtraPerformanceThroughputMBExtraPerformanceTypeId
InstanceIdKindPlacementGroupIdProjectNameSize
SnapshotIdSubgroupNumberTagsVolumeChargeType
VolumeName
VolumeTypeZoneIdNc                 Z   |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
| _        ||| _        ||| _        ||| _         ||| _!        || _"        || _#        |	|| _$        dS dS )z0CreateVolumeRequest - a model defined in SwaggerN)%r   _configuration_client_token_description_extra_performance_iops _extra_performance_throughput_mb_extra_performance_type_id_instance_id_kind_placement_group_id_project_name_size_snapshot_id_subgroup_number_tags_volume_charge_type_volume_name_volume_type_zone_iddiscriminatorr   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+   s                      }/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkstorageebs/models/create_volume_request.py__init__zCreateVolumeRequest.__init__K   s   !*__N,! '+$04-*.' 
#' !
  $
#'   !# ,D"*D!-*@D'*63RD0$0-FD*"*DDI)&8D## ,D	"*D&#2D DI)&8D#&&"DLLL     c                     | j         S )zGets the client_token of this CreateVolumeRequest.  # noqa: E501


        :return: The client_token of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r,   r>   s    r?   r   z CreateVolumeRequest.client_token        !!rA   c                     || _         dS )zSets the client_token of this CreateVolumeRequest.


        :param client_token: The client_token of this CreateVolumeRequest.  # noqa: E501
        :type: str
        NrC   )r>   r   s     r?   r   z CreateVolumeRequest.client_token        *rA   c                     | j         S )zGets the description of this CreateVolumeRequest.  # noqa: E501


        :return: The description of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r-   rD   s    r?   r   zCreateVolumeRequest.description          rA   c                     || _         dS )zSets the description of this CreateVolumeRequest.


        :param description: The description of this CreateVolumeRequest.  # noqa: E501
        :type: str
        NrI   )r>   r   s     r?   r   zCreateVolumeRequest.description        (rA   c                     | j         S )zGets the extra_performance_iops of this CreateVolumeRequest.  # noqa: E501


        :return: The extra_performance_iops of this CreateVolumeRequest.  # noqa: E501
        :rtype: int
        r.   rD   s    r?   r	   z*CreateVolumeRequest.extra_performance_iops   s     ++rA   c                     || _         dS )zSets the extra_performance_iops of this CreateVolumeRequest.


        :param extra_performance_iops: The extra_performance_iops of this CreateVolumeRequest.  # noqa: E501
        :type: int
        NrN   )r>   r	   s     r?   r	   z*CreateVolumeRequest.extra_performance_iops   s     (>$$$rA   c                     | j         S )zGets the extra_performance_throughput_mb of this CreateVolumeRequest.  # noqa: E501


        :return: The extra_performance_throughput_mb of this CreateVolumeRequest.  # noqa: E501
        :rtype: int
        r/   rD   s    r?   r   z3CreateVolumeRequest.extra_performance_throughput_mb   s     44rA   c                     || _         dS )zSets the extra_performance_throughput_mb of this CreateVolumeRequest.


        :param extra_performance_throughput_mb: The extra_performance_throughput_mb of this CreateVolumeRequest.  # noqa: E501
        :type: int
        NrQ   )r>   r   s     r?   r   z3CreateVolumeRequest.extra_performance_throughput_mb   s     1P---rA   c                     | j         S )zGets the extra_performance_type_id of this CreateVolumeRequest.  # noqa: E501


        :return: The extra_performance_type_id of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r0   rD   s    r?   r   z-CreateVolumeRequest.extra_performance_type_id   s     ..rA   c                     || _         dS )zSets the extra_performance_type_id of this CreateVolumeRequest.


        :param extra_performance_type_id: The extra_performance_type_id of this CreateVolumeRequest.  # noqa: E501
        :type: str
        NrT   )r>   r   s     r?   r   z-CreateVolumeRequest.extra_performance_type_id   s     +D'''rA   c                     | j         S )zGets the instance_id of this CreateVolumeRequest.  # noqa: E501


        :return: The instance_id of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r1   rD   s    r?   r   zCreateVolumeRequest.instance_id   rJ   rA   c                     || _         dS )zSets the instance_id of this CreateVolumeRequest.


        :param instance_id: The instance_id of this CreateVolumeRequest.  # noqa: E501
        :type: str
        NrW   )r>   r   s     r?   r   zCreateVolumeRequest.instance_id   rL   rA   c                     | j         S )zGets the kind of this CreateVolumeRequest.  # noqa: E501


        :return: The kind of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r2   rD   s    r?   r   zCreateVolumeRequest.kind       zrA   c                     || _         dS )zSets the kind of this CreateVolumeRequest.


        :param kind: The kind of this CreateVolumeRequest.  # noqa: E501
        :type: str
        NrZ   )r>   r   s     r?   r   zCreateVolumeRequest.kind       


rA   c                     | j         S )zGets the placement_group_id of this CreateVolumeRequest.  # noqa: E501


        :return: The placement_group_id of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r3   rD   s    r?   r   z&CreateVolumeRequest.placement_group_id       ''rA   c                     || _         dS )zSets the placement_group_id of this CreateVolumeRequest.


        :param placement_group_id: The placement_group_id of this CreateVolumeRequest.  # noqa: E501
        :type: str
        Nr_   )r>   r   s     r?   r   z&CreateVolumeRequest.placement_group_id!       $6   rA   c                     | j         S )zGets the project_name of this CreateVolumeRequest.  # noqa: E501


        :return: The project_name of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r4   rD   s    r?   r   z CreateVolumeRequest.project_name,  rE   rA   c                     || _         dS )zSets the project_name of this CreateVolumeRequest.


        :param project_name: The project_name of this CreateVolumeRequest.  # noqa: E501
        :type: str
        Nrd   )r>   r   s     r?   r   z CreateVolumeRequest.project_name6  rG   rA   c                     | j         S )zGets the size of this CreateVolumeRequest.  # noqa: E501


        :return: The size of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        )r5   rD   s    r?   r   zCreateVolumeRequest.sizeA  r[   rA   c                 N    | j         j        r|t          d          || _        dS )zSets the size of this CreateVolumeRequest.


        :param size: The size of this CreateVolumeRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `size`, must not be `None`)r+   client_side_validation
ValueErrorr5   )r>   r   s     r?   r   zCreateVolumeRequest.sizeK  s1     5 	M$,KLLL


rA   c                     | j         S )zGets the snapshot_id of this CreateVolumeRequest.  # noqa: E501


        :return: The snapshot_id of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r6   rD   s    r?   r   zCreateVolumeRequest.snapshot_idX  rJ   rA   c                     || _         dS )zSets the snapshot_id of this CreateVolumeRequest.


        :param snapshot_id: The snapshot_id of this CreateVolumeRequest.  # noqa: E501
        :type: str
        Nrk   )r>   r   s     r?   r   zCreateVolumeRequest.snapshot_idb  rL   rA   c                     | j         S )zGets the subgroup_number of this CreateVolumeRequest.  # noqa: E501


        :return: The subgroup_number of this CreateVolumeRequest.  # noqa: E501
        :rtype: int
        r7   rD   s    r?   r   z#CreateVolumeRequest.subgroup_numberm  s     $$rA   c                     || _         dS )zSets the subgroup_number of this CreateVolumeRequest.


        :param subgroup_number: The subgroup_number of this CreateVolumeRequest.  # noqa: E501
        :type: int
        Nrn   )r>   r   s     r?   r   z#CreateVolumeRequest.subgroup_numberw  s     !0rA   c                     | j         S )zGets the tags of this CreateVolumeRequest.  # noqa: E501


        :return: The tags of this CreateVolumeRequest.  # noqa: E501
        :rtype: list[TagForCreateVolumeInput]
        r8   rD   s    r?   r   zCreateVolumeRequest.tags  r[   rA   c                     || _         dS )zSets the tags of this CreateVolumeRequest.


        :param tags: The tags of this CreateVolumeRequest.  # noqa: E501
        :type: list[TagForCreateVolumeInput]
        Nrq   )r>   r   s     r?   r   zCreateVolumeRequest.tags  r]   rA   c                     | j         S )zGets the volume_charge_type of this CreateVolumeRequest.  # noqa: E501


        :return: The volume_charge_type of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r9   rD   s    r?   r   z&CreateVolumeRequest.volume_charge_type  r`   rA   c                     || _         dS )zSets the volume_charge_type of this CreateVolumeRequest.


        :param volume_charge_type: The volume_charge_type of this CreateVolumeRequest.  # noqa: E501
        :type: str
        Nrt   )r>   r   s     r?   r   z&CreateVolumeRequest.volume_charge_type  rb   rA   c                     | j         S )zGets the volume_name of this CreateVolumeRequest.  # noqa: E501


        :return: The volume_name of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        )r:   rD   s    r?   r   zCreateVolumeRequest.volume_name  rJ   rA   c                 N    | j         j        r|t          d          || _        dS )zSets the volume_name of this CreateVolumeRequest.


        :param volume_name: The volume_name of this CreateVolumeRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `volume_name`, must not be `None`)r+   rh   ri   r:   )r>   r   s     r?   r   zCreateVolumeRequest.volume_name  5     5 	T+:MRSSS'rA   c                     | j         S )zGets the volume_type of this CreateVolumeRequest.  # noqa: E501


        :return: The volume_type of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        )r;   rD   s    r?   r   zCreateVolumeRequest.volume_type  rJ   rA   c                 N    | j         j        r|t          d          || _        dS )zSets the volume_type of this CreateVolumeRequest.


        :param volume_type: The volume_type of this CreateVolumeRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `volume_type`, must not be `None`)r+   rh   ri   r;   )r>   r   s     r?   r   zCreateVolumeRequest.volume_type  rx   rA   c                     | j         S )zGets the zone_id of this CreateVolumeRequest.  # noqa: E501


        :return: The zone_id of this CreateVolumeRequest.  # noqa: E501
        :rtype: str
        r<   rD   s    r?   r   zCreateVolumeRequest.zone_id  s     }rA   c                     || _         dS )zSets the zone_id of this CreateVolumeRequest.


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