
    ~i7                     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
    vefaas

    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                   r   e Zd ZdZ	 dddddddddd	ddddd
Zdddd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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d7 Zd8 Zd9 Zd: Zd; ZdS )=CreateSandboxRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    boolintzlist[EnvForCreateSandboxInput]str&InstanceImageInfoForCreateSandboxInput+InstanceNasMountConfigForCreateSandboxInput+InstanceTosMountConfigForCreateSandboxInputzdict(str, str))_async	cpu_millienvsfunction_idinstance_image_infoinstance_nas_mount_configinstance_tos_mount_configmax_concurrency	memory_mbmetadatarequest_timeout
session_idtimeouttimeout_unitAsyncCpuMilliEnvs
FunctionIdInstanceImageInfoInstanceNasMountConfigInstanceTosMountConfigMaxConcurrencyMemoryMBMetadataRequestTimeout	SessionIdTimeoutTimeoutUnitNc                    |t                      }|| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        || _        ||| _        ||| _        ||| _        ||| _        |	|	| _        |
|
| _        ||| _        ||| _        ||| _        |	|| _        dS dS )z1CreateSandboxRequest - a model defined in SwaggerN)r   _configuration_CreateSandboxRequest__async
_cpu_milli_envs_function_id_instance_image_info_instance_nas_mount_config_instance_tos_mount_config_max_concurrency
_memory_mb	_metadata_request_timeout_session_id_timeout_timeout_unitdiscriminatorr   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)   s                   z/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvefaas/models/create_sandbox_request.py__init__zCreateSandboxRequest.__init__E   sP   !*__N,
 $(!*.'*.' $ $!! DK &DNDI&*':D$$0-FD*$0-FD*&#2D  &DN$DM&#2D !(DO"DL# ,D $#    c                     | j         S )zGets the _async of this CreateSandboxRequest.  # noqa: E501


        :return: The _async of this CreateSandboxRequest.  # noqa: E501
        :rtype: bool
        r*   r9   s    r:   r   zCreateSandboxRequest._asyncw   s     |r<   c                     || _         dS )zSets the _async of this CreateSandboxRequest.


        :param _async: The _async of this CreateSandboxRequest.  # noqa: E501
        :type: bool
        Nr>   )r9   r   s     r:   r   zCreateSandboxRequest._async   s     r<   c                     | j         S )zGets the cpu_milli of this CreateSandboxRequest.  # noqa: E501


        :return: The cpu_milli of this CreateSandboxRequest.  # noqa: E501
        :rtype: int
        r+   r?   s    r:   r   zCreateSandboxRequest.cpu_milli        r<   c                     || _         dS )zSets the cpu_milli of this CreateSandboxRequest.


        :param cpu_milli: The cpu_milli of this CreateSandboxRequest.  # noqa: E501
        :type: int
        NrB   )r9   r   s     r:   r   zCreateSandboxRequest.cpu_milli        $r<   c                     | j         S )zGets the envs of this CreateSandboxRequest.  # noqa: E501


        :return: The envs of this CreateSandboxRequest.  # noqa: E501
        :rtype: list[EnvForCreateSandboxInput]
        r,   r?   s    r:   r   zCreateSandboxRequest.envs   s     zr<   c                     || _         dS )zSets the envs of this CreateSandboxRequest.


        :param envs: The envs of this CreateSandboxRequest.  # noqa: E501
        :type: list[EnvForCreateSandboxInput]
        NrG   )r9   r   s     r:   r   zCreateSandboxRequest.envs   s     


r<   c                     | j         S )zGets the function_id of this CreateSandboxRequest.  # noqa: E501


        :return: The function_id of this CreateSandboxRequest.  # noqa: E501
        :rtype: str
        )r-   r?   s    r:   r   z CreateSandboxRequest.function_id   s       r<   c                 N    | j         j        r|t          d          || _        dS )zSets the function_id of this CreateSandboxRequest.


        :param function_id: The function_id of this CreateSandboxRequest.  # noqa: E501
        :type: str
        Nz3Invalid value for `function_id`, must not be `None`)r)   client_side_validation
ValueErrorr-   )r9   r   s     r:   r   z CreateSandboxRequest.function_id   s5     5 	T+:MRSSS'r<   c                     | j         S )zGets the instance_image_info of this CreateSandboxRequest.  # noqa: E501


        :return: The instance_image_info of this CreateSandboxRequest.  # noqa: E501
        :rtype: InstanceImageInfoForCreateSandboxInput
        r.   r?   s    r:   r   z(CreateSandboxRequest.instance_image_info   s     ((r<   c                     || _         dS )zSets the instance_image_info of this CreateSandboxRequest.


        :param instance_image_info: The instance_image_info of this CreateSandboxRequest.  # noqa: E501
        :type: InstanceImageInfoForCreateSandboxInput
        NrN   )r9   r   s     r:   r   z(CreateSandboxRequest.instance_image_info   s     %8!!!r<   c                     | j         S )zGets the instance_nas_mount_config of this CreateSandboxRequest.  # noqa: E501


        :return: The instance_nas_mount_config of this CreateSandboxRequest.  # noqa: E501
        :rtype: InstanceNasMountConfigForCreateSandboxInput
        r/   r?   s    r:   r   z.CreateSandboxRequest.instance_nas_mount_config        ..r<   c                     || _         dS )zSets the instance_nas_mount_config of this CreateSandboxRequest.


        :param instance_nas_mount_config: The instance_nas_mount_config of this CreateSandboxRequest.  # noqa: E501
        :type: InstanceNasMountConfigForCreateSandboxInput
        NrQ   )r9   r   s     r:   r   z.CreateSandboxRequest.instance_nas_mount_config        +D'''r<   c                     | j         S )zGets the instance_tos_mount_config of this CreateSandboxRequest.  # noqa: E501


        :return: The instance_tos_mount_config of this CreateSandboxRequest.  # noqa: E501
        :rtype: InstanceTosMountConfigForCreateSandboxInput
        r0   r?   s    r:   r   z.CreateSandboxRequest.instance_tos_mount_config   rR   r<   c                     || _         dS )zSets the instance_tos_mount_config of this CreateSandboxRequest.


        :param instance_tos_mount_config: The instance_tos_mount_config of this CreateSandboxRequest.  # noqa: E501
        :type: InstanceTosMountConfigForCreateSandboxInput
        NrV   )r9   r   s     r:   r   z.CreateSandboxRequest.instance_tos_mount_config  rT   r<   c                     | j         S )zGets the max_concurrency of this CreateSandboxRequest.  # noqa: E501


        :return: The max_concurrency of this CreateSandboxRequest.  # noqa: E501
        :rtype: int
        r1   r?   s    r:   r   z$CreateSandboxRequest.max_concurrency       $$r<   c                     || _         dS )zSets the max_concurrency of this CreateSandboxRequest.


        :param max_concurrency: The max_concurrency of this CreateSandboxRequest.  # noqa: E501
        :type: int
        NrY   )r9   r   s     r:   r   z$CreateSandboxRequest.max_concurrency       !0r<   c                     | j         S )zGets the memory_mb of this CreateSandboxRequest.  # noqa: E501


        :return: The memory_mb of this CreateSandboxRequest.  # noqa: E501
        :rtype: int
        r2   r?   s    r:   r   zCreateSandboxRequest.memory_mb!  rC   r<   c                     || _         dS )zSets the memory_mb of this CreateSandboxRequest.


        :param memory_mb: The memory_mb of this CreateSandboxRequest.  # noqa: E501
        :type: int
        Nr^   )r9   r   s     r:   r   zCreateSandboxRequest.memory_mb+  rE   r<   c                     | j         S )zGets the metadata of this CreateSandboxRequest.  # noqa: E501


        :return: The metadata of this CreateSandboxRequest.  # noqa: E501
        :rtype: dict(str, str)
        r3   r?   s    r:   r   zCreateSandboxRequest.metadata6  s     ~r<   c                     || _         dS )zSets the metadata of this CreateSandboxRequest.


        :param metadata: The metadata of this CreateSandboxRequest.  # noqa: E501
        :type: dict(str, str)
        Nra   )r9   r   s     r:   r   zCreateSandboxRequest.metadata@  s     "r<   c                     | j         S )zGets the request_timeout of this CreateSandboxRequest.  # noqa: E501


        :return: The request_timeout of this CreateSandboxRequest.  # noqa: E501
        :rtype: int
        r4   r?   s    r:   r   z$CreateSandboxRequest.request_timeoutK  rZ   r<   c                     || _         dS )zSets the request_timeout of this CreateSandboxRequest.


        :param request_timeout: The request_timeout of this CreateSandboxRequest.  # noqa: E501
        :type: int
        Nrd   )r9   r   s     r:   r   z$CreateSandboxRequest.request_timeoutU  r\   r<   c                     | j         S )zGets the session_id of this CreateSandboxRequest.  # noqa: E501


        :return: The session_id of this CreateSandboxRequest.  # noqa: E501
        :rtype: str
        r5   r?   s    r:   r   zCreateSandboxRequest.session_id`  s     r<   c                     || _         dS )zSets the session_id of this CreateSandboxRequest.


        :param session_id: The session_id of this CreateSandboxRequest.  # noqa: E501
        :type: str
        Nrg   )r9   r   s     r:   r   zCreateSandboxRequest.session_idj  s     &r<   c                     | j         S )zGets the timeout of this CreateSandboxRequest.  # noqa: E501


        :return: The timeout of this CreateSandboxRequest.  # noqa: E501
        :rtype: int
        r6   r?   s    r:   r   zCreateSandboxRequest.timeoutu  s     }r<   c                     || _         dS )zSets the timeout of this CreateSandboxRequest.


        :param timeout: The timeout of this CreateSandboxRequest.  # noqa: E501
        :type: int
        Nrj   )r9   r   s     r:   r   zCreateSandboxRequest.timeout  s      r<   c                     | j         S )zGets the timeout_unit of this CreateSandboxRequest.  # noqa: E501


        :return: The timeout_unit of this CreateSandboxRequest.  # noqa: E501
        :rtype: str
        r7   r?   s    r:   r   z!CreateSandboxRequest.timeout_unit  s     !!r<   c                     || _         dS )zSets the timeout_unit of this CreateSandboxRequest.


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



 9 9 9 9 9 9x1 x1 x1 x1 x16 x1 x1 x1 x1 x1r<   