
    ~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
    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                      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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/d0d1d2d3d4d5d6d7d8d9d
Zdwd;Zed<             Zej	        d=             Zed>             Z
e
j	        d?             Z
ed@             Zej	        dA             ZedB             Zej	        dC             ZedD             Zej	        dE             ZedF             Zej	        dG             ZedH             Zej	        dI             ZedJ             Zej	        dK             ZedL             Zej	        dM             ZedN             Zej	        dO             ZedP             Zej	        dQ             ZedR             Zej	        dS             ZedT             Zej	        dU             ZedV             Zej	        dW             ZedX             Zej	        dY             ZedZ             Zej	        d[             Zed\             Zej	        d]             Zed^             Zej	        d_             Zed`             Zej	        da             Zedb             Zej	        dc             Zedd             Zej	        de             Zedf             Zej	        dg             Zedh             Zej	        di             Zedj             Z e j	        dk             Z edl             Z!e!j	        dm             Z!edn             Z"e"j	        do             Z"edp             Z#e#j	        dq             Z#dr Z$ds Z%dt Z&du Z'dv Z(d:S )xCreateFunctionRequestzsNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    async_task_config%AsyncTaskConfigForCreateFunctionInputcellstrcommand	cpu_milliintcpu_strategydescriptionenable_apmplusboolenvszlist[EnvForCreateFunctionInput]exclusive_modeinitializer_secinstance_typemax_concurrency	memory_mbnamenas_storage NasStorageForCreateFunctionInputportproject_name(SourceAccessConfigForCreateFunctionInputzlist[TagForCreateFunctionInput]TlsConfigForCreateFunctionInput$TosMountConfigForCreateFunctionInputVpcConfigForCreateFunctionInput)
request_timeoutroleruntimesourcesource_access_configsource_typetags
tls_configtos_mount_config
vpc_configAsyncTaskConfigCellCommandCpuMilliCpuStrategyDescriptionEnableApmplusEnvsExclusiveModeInitializerSecInstanceTypeMaxConcurrencyMemoryMBName
NasStoragePortProjectNameRequestTimeoutRoleRuntimeSourceSourceAccessConfig
SourceTypeTags	TlsConfigTosMountConfig	VpcConfigNc                    |t                      }|| _        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| _        ||| _        ||| _        ||| _         ||| _!        ||| _"        ||| _#        ||| _$        ||| _%        |	|	| _&        |
|
| _'        ||| _(        ||| _)        ||| _*        || _+        ||| _,        ||| _-        ||| _.        ||| _/        ||| _0        || _1        ||| _2        ||| _3        ||| _4        ||| _5        ||| _6        ||| _7        |	|| _8        dS dS )z2CreateFunctionRequest - a model defined in SwaggerN)9r   _configuration_async_task_config_cell_command
_cpu_milli_cpu_strategy_description_enable_apmplus_envs_exclusive_mode_initializer_sec_instance_type_max_concurrency
_memory_mb_name_nas_storage_port_project_name_request_timeout_role_runtime_source_source_access_config_source_type_tags_tls_config_tos_mount_config_vpc_configdiscriminatorr   r   r
   r   r   r   r   r   r   r   r   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    r!   r"   r#   r$   r%   r&   r'   r(   r)   rF   s                                {/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkvefaas/models/create_function_request.py__init__zCreateFunctionRequest.__init___   s[   !*__N,"&
! #
# $" $
 
! $
%)" 
!%!(%6D"DI"DL &DN# ,D"*D%"0DDI%"0D&#2D $!.D&#2D  &DN	"*DDI# ,D&#2D DI DK+(<D%"*DDI!(DO'$4D!!(DOOO "!    c                     | j         S )zGets the async_task_config of this CreateFunctionRequest.  # noqa: E501


        :return: The async_task_config of this CreateFunctionRequest.  # noqa: E501
        :rtype: AsyncTaskConfigForCreateFunctionInput
        rG   rc   s    rd   r   z'CreateFunctionRequest.async_task_config   s     &&rf   c                     || _         dS )zSets the async_task_config of this CreateFunctionRequest.


        :param async_task_config: The async_task_config of this CreateFunctionRequest.  # noqa: E501
        :type: AsyncTaskConfigForCreateFunctionInput
        Nrh   )rc   r   s     rd   r   z'CreateFunctionRequest.async_task_config   s     #4rf   c                     | j         S )zGets the cell of this CreateFunctionRequest.  # noqa: E501


        :return: The cell of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        rH   ri   s    rd   r   zCreateFunctionRequest.cell        zrf   c                     || _         dS )zSets the cell of this CreateFunctionRequest.


        :param cell: The cell of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nrl   )rc   r   s     rd   r   zCreateFunctionRequest.cell        


rf   c                     | j         S )zGets the command of this CreateFunctionRequest.  # noqa: E501


        :return: The command of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        rI   ri   s    rd   r
   zCreateFunctionRequest.command        }rf   c                     || _         dS )zSets the command of this CreateFunctionRequest.


        :param command: The command of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nrq   )rc   r
   s     rd   r
   zCreateFunctionRequest.command   s      rf   c                     | j         S )zGets the cpu_milli of this CreateFunctionRequest.  # noqa: E501


        :return: The cpu_milli of this CreateFunctionRequest.  # noqa: E501
        :rtype: int
        rJ   ri   s    rd   r   zCreateFunctionRequest.cpu_milli        rf   c                     || _         dS )zSets the cpu_milli of this CreateFunctionRequest.


        :param cpu_milli: The cpu_milli of this CreateFunctionRequest.  # noqa: E501
        :type: int
        Nru   )rc   r   s     rd   r   zCreateFunctionRequest.cpu_milli        $rf   c                     | j         S )zGets the cpu_strategy of this CreateFunctionRequest.  # noqa: E501


        :return: The cpu_strategy of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        rK   ri   s    rd   r   z"CreateFunctionRequest.cpu_strategy       !!rf   c                     || _         dS )zSets the cpu_strategy of this CreateFunctionRequest.


        :param cpu_strategy: The cpu_strategy of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nrz   )rc   r   s     rd   r   z"CreateFunctionRequest.cpu_strategy       *rf   c                     | j         S )zGets the description of this CreateFunctionRequest.  # noqa: E501


        :return: The description of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        rL   ri   s    rd   r   z!CreateFunctionRequest.description          rf   c                     || _         dS )zSets the description of this CreateFunctionRequest.


        :param description: The description of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nr   )rc   r   s     rd   r   z!CreateFunctionRequest.description*       (rf   c                     | j         S )zGets the enable_apmplus of this CreateFunctionRequest.  # noqa: E501


        :return: The enable_apmplus of this CreateFunctionRequest.  # noqa: E501
        :rtype: bool
        rM   ri   s    rd   r   z$CreateFunctionRequest.enable_apmplus5       ##rf   c                     || _         dS )zSets the enable_apmplus of this CreateFunctionRequest.


        :param enable_apmplus: The enable_apmplus of this CreateFunctionRequest.  # noqa: E501
        :type: bool
        Nr   )rc   r   s     rd   r   z$CreateFunctionRequest.enable_apmplus?        .rf   c                     | j         S )zGets the envs of this CreateFunctionRequest.  # noqa: E501


        :return: The envs of this CreateFunctionRequest.  # noqa: E501
        :rtype: list[EnvForCreateFunctionInput]
        rN   ri   s    rd   r   zCreateFunctionRequest.envsJ  rm   rf   c                     || _         dS )zSets the envs of this CreateFunctionRequest.


        :param envs: The envs of this CreateFunctionRequest.  # noqa: E501
        :type: list[EnvForCreateFunctionInput]
        Nr   )rc   r   s     rd   r   zCreateFunctionRequest.envsT  ro   rf   c                     | j         S )zGets the exclusive_mode of this CreateFunctionRequest.  # noqa: E501


        :return: The exclusive_mode of this CreateFunctionRequest.  # noqa: E501
        :rtype: bool
        rO   ri   s    rd   r   z$CreateFunctionRequest.exclusive_mode_  r   rf   c                     || _         dS )zSets the exclusive_mode of this CreateFunctionRequest.


        :param exclusive_mode: The exclusive_mode of this CreateFunctionRequest.  # noqa: E501
        :type: bool
        Nr   )rc   r   s     rd   r   z$CreateFunctionRequest.exclusive_modei  r   rf   c                     | j         S )zGets the initializer_sec of this CreateFunctionRequest.  # noqa: E501


        :return: The initializer_sec of this CreateFunctionRequest.  # noqa: E501
        :rtype: int
        rP   ri   s    rd   r   z%CreateFunctionRequest.initializer_sect       $$rf   c                     || _         dS )zSets the initializer_sec of this CreateFunctionRequest.


        :param initializer_sec: The initializer_sec of this CreateFunctionRequest.  # noqa: E501
        :type: int
        Nr   )rc   r   s     rd   r   z%CreateFunctionRequest.initializer_sec~       !0rf   c                     | j         S )zGets the instance_type of this CreateFunctionRequest.  # noqa: E501


        :return: The instance_type of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        rQ   ri   s    rd   r   z#CreateFunctionRequest.instance_type  s     ""rf   c                     || _         dS )zSets the instance_type of this CreateFunctionRequest.


        :param instance_type: The instance_type of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nr   )rc   r   s     rd   r   z#CreateFunctionRequest.instance_type  s     ,rf   c                     | j         S )zGets the max_concurrency of this CreateFunctionRequest.  # noqa: E501


        :return: The max_concurrency of this CreateFunctionRequest.  # noqa: E501
        :rtype: int
        rR   ri   s    rd   r   z%CreateFunctionRequest.max_concurrency  r   rf   c                     || _         dS )zSets the max_concurrency of this CreateFunctionRequest.


        :param max_concurrency: The max_concurrency of this CreateFunctionRequest.  # noqa: E501
        :type: int
        Nr   )rc   r   s     rd   r   z%CreateFunctionRequest.max_concurrency  r   rf   c                     | j         S )zGets the memory_mb of this CreateFunctionRequest.  # noqa: E501


        :return: The memory_mb of this CreateFunctionRequest.  # noqa: E501
        :rtype: int
        rS   ri   s    rd   r   zCreateFunctionRequest.memory_mb  rv   rf   c                     || _         dS )zSets the memory_mb of this CreateFunctionRequest.


        :param memory_mb: The memory_mb of this CreateFunctionRequest.  # noqa: E501
        :type: int
        Nr   )rc   r   s     rd   r   zCreateFunctionRequest.memory_mb  rx   rf   c                     | j         S )zGets the name of this CreateFunctionRequest.  # noqa: E501


        :return: The name of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        )rT   ri   s    rd   r   zCreateFunctionRequest.name  rm   rf   c                 N    | j         j        r|t          d          || _        dS )zSets the name of this CreateFunctionRequest.


        :param name: The name of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nz,Invalid value for `name`, must not be `None`)rF   client_side_validation
ValueErrorrT   )rc   r   s     rd   r   zCreateFunctionRequest.name  s1     5 	M$,KLLL


rf   c                     | j         S )zGets the nas_storage of this CreateFunctionRequest.  # noqa: E501


        :return: The nas_storage of this CreateFunctionRequest.  # noqa: E501
        :rtype: NasStorageForCreateFunctionInput
        rU   ri   s    rd   r   z!CreateFunctionRequest.nas_storage  r   rf   c                     || _         dS )zSets the nas_storage of this CreateFunctionRequest.


        :param nas_storage: The nas_storage of this CreateFunctionRequest.  # noqa: E501
        :type: NasStorageForCreateFunctionInput
        Nr   )rc   r   s     rd   r   z!CreateFunctionRequest.nas_storage  r   rf   c                     | j         S )zGets the port of this CreateFunctionRequest.  # noqa: E501


        :return: The port of this CreateFunctionRequest.  # noqa: E501
        :rtype: int
        rV   ri   s    rd   r   zCreateFunctionRequest.port  rm   rf   c                     || _         dS )zSets the port of this CreateFunctionRequest.


        :param port: The port of this CreateFunctionRequest.  # noqa: E501
        :type: int
        Nr   )rc   r   s     rd   r   zCreateFunctionRequest.port  ro   rf   c                     | j         S )zGets the project_name of this CreateFunctionRequest.  # noqa: E501


        :return: The project_name of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        rW   ri   s    rd   r   z"CreateFunctionRequest.project_name	  r{   rf   c                     || _         dS )zSets the project_name of this CreateFunctionRequest.


        :param project_name: The project_name of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nr   )rc   r   s     rd   r   z"CreateFunctionRequest.project_name  r}   rf   c                     | j         S )zGets the request_timeout of this CreateFunctionRequest.  # noqa: E501


        :return: The request_timeout of this CreateFunctionRequest.  # noqa: E501
        :rtype: int
        rX   ri   s    rd   r    z%CreateFunctionRequest.request_timeout  r   rf   c                     || _         dS )zSets the request_timeout of this CreateFunctionRequest.


        :param request_timeout: The request_timeout of this CreateFunctionRequest.  # noqa: E501
        :type: int
        Nr   )rc   r    s     rd   r    z%CreateFunctionRequest.request_timeout(  r   rf   c                     | j         S )zGets the role of this CreateFunctionRequest.  # noqa: E501


        :return: The role of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        rY   ri   s    rd   r!   zCreateFunctionRequest.role3  rm   rf   c                     || _         dS )zSets the role of this CreateFunctionRequest.


        :param role: The role of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nr   )rc   r!   s     rd   r!   zCreateFunctionRequest.role=  ro   rf   c                     | j         S )zGets the runtime of this CreateFunctionRequest.  # noqa: E501


        :return: The runtime of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        )rZ   ri   s    rd   r"   zCreateFunctionRequest.runtimeH  rr   rf   c                 N    | j         j        r|t          d          || _        dS )zSets the runtime of this CreateFunctionRequest.


        :param runtime: The runtime of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nz/Invalid value for `runtime`, must not be `None`)rF   r   r   rZ   )rc   r"   s     rd   r"   zCreateFunctionRequest.runtimeR  s1     5 	P'/NOOOrf   c                     | j         S )zGets the source of this CreateFunctionRequest.  # noqa: E501


        :return: The source of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        r[   ri   s    rd   r#   zCreateFunctionRequest.source_  s     |rf   c                     || _         dS )zSets the source of this CreateFunctionRequest.


        :param source: The source of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nr   )rc   r#   s     rd   r#   zCreateFunctionRequest.sourcei  s     rf   c                     | j         S )zGets the source_access_config of this CreateFunctionRequest.  # noqa: E501


        :return: The source_access_config of this CreateFunctionRequest.  # noqa: E501
        :rtype: SourceAccessConfigForCreateFunctionInput
        r\   ri   s    rd   r$   z*CreateFunctionRequest.source_access_configt  s     ))rf   c                     || _         dS )zSets the source_access_config of this CreateFunctionRequest.


        :param source_access_config: The source_access_config of this CreateFunctionRequest.  # noqa: E501
        :type: SourceAccessConfigForCreateFunctionInput
        Nr   )rc   r$   s     rd   r$   z*CreateFunctionRequest.source_access_config~  s     &:"""rf   c                     | j         S )zGets the source_type of this CreateFunctionRequest.  # noqa: E501


        :return: The source_type of this CreateFunctionRequest.  # noqa: E501
        :rtype: str
        r]   ri   s    rd   r%   z!CreateFunctionRequest.source_type  r   rf   c                     || _         dS )zSets the source_type of this CreateFunctionRequest.


        :param source_type: The source_type of this CreateFunctionRequest.  # noqa: E501
        :type: str
        Nr   )rc   r%   s     rd   r%   z!CreateFunctionRequest.source_type  r   rf   c                     | j         S )zGets the tags of this CreateFunctionRequest.  # noqa: E501


        :return: The tags of this CreateFunctionRequest.  # noqa: E501
        :rtype: list[TagForCreateFunctionInput]
        r^   ri   s    rd   r&   zCreateFunctionRequest.tags  rm   rf   c                     || _         dS )zSets the tags of this CreateFunctionRequest.


        :param tags: The tags of this CreateFunctionRequest.  # noqa: E501
        :type: list[TagForCreateFunctionInput]
        Nr   )rc   r&   s     rd   r&   zCreateFunctionRequest.tags  ro   rf   c                     | j         S )zGets the tls_config of this CreateFunctionRequest.  # noqa: E501


        :return: The tls_config of this CreateFunctionRequest.  # noqa: E501
        :rtype: TlsConfigForCreateFunctionInput
        r_   ri   s    rd   r'   z CreateFunctionRequest.tls_config       rf   c                     || _         dS )zSets the tls_config of this CreateFunctionRequest.


        :param tls_config: The tls_config of this CreateFunctionRequest.  # noqa: E501
        :type: TlsConfigForCreateFunctionInput
        Nr   )rc   r'   s     rd   r'   z CreateFunctionRequest.tls_config       &rf   c                     | j         S )zGets the tos_mount_config of this CreateFunctionRequest.  # noqa: E501


        :return: The tos_mount_config of this CreateFunctionRequest.  # noqa: E501
        :rtype: TosMountConfigForCreateFunctionInput
        r`   ri   s    rd   r(   z&CreateFunctionRequest.tos_mount_config  s     %%rf   c                     || _         dS )zSets the tos_mount_config of this CreateFunctionRequest.


        :param tos_mount_config: The tos_mount_config of this CreateFunctionRequest.  # noqa: E501
        :type: TosMountConfigForCreateFunctionInput
        Nr   )rc   r(   s     rd   r(   z&CreateFunctionRequest.tos_mount_config  s     "2rf   c                     | j         S )zGets the vpc_config of this CreateFunctionRequest.  # noqa: E501


        :return: The vpc_config of this CreateFunctionRequest.  # noqa: E501
        :rtype: VpcConfigForCreateFunctionInput
        ra   ri   s    rd   r)   z CreateFunctionRequest.vpc_config  r   rf   c                     || _         dS )zSets the vpc_config of this CreateFunctionRequest.


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



 9 9 9 9 9 9K1 K1 K1 K1 K1F K1 K1 K1 K1 K1rf   