
    ~i0>                    J    d Z ddlmZ ddlZddlZddlZ G d de          ZdS )z
    spark

    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
    )absolute_importNc                      e Zd ZdZd.dZd Zd Zd Zd Zd Z	d	 Z
d
 Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Zd Z d  Z!d! Z"d" Z#d# Z$d$ Z%d% Z&d& Z'd' Z(d( Z)d) Z*d* Z+d+ Z,d, Z-d- Z.dS )/SPARKApizNOTE: This class is auto generated by the swagger code generator program.

    Do not edit the class manually.
    Ref: https://github.com/swagger-api/swagger-codegen
    Nc                 >    |t          j                    }|| _        d S N)volcenginesdkcore	ApiClient
api_client)selfr
   s     i/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkspark/api/spark_api.py__init__zSPARKApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_application(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateApplicationRequest body: (required)
        :return: CreateApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get!create_application_with_http_infor   bodykwargsdatas       r   create_applicationzSPARKApi.create_application$   ]     ,0'(::k"" 	949$II&III;T;DKKFKKTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  create_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_application_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateApplicationRequest body: (required)
        :return: CreateApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zDGot an unexpected keyword argument '%s' to method create_applicationNzGMissing the required parameter `body` when calling `create_application`application/jsonAcceptContent-TypevolcengineSignz:/createApplication/2021-06-01/spark/post/application_json/POSTCreateApplicationResponseT
r   post_paramsfilesresponse_typeauth_settingsr   r   r   r   collection_formatsappendlocalssix	iteritems	TypeErrorr
   client_side_validation
ValueErrorselect_header_acceptselect_header_content_typecall_apir   r   r   r   
all_paramsparamskeyvalr(   path_paramsquery_paramsheader_paramsform_paramslocal_var_filesbody_paramsr'   s                  r   r   z*SPARKApi.create_application_with_http_info9       X
+&&&2333,---,---fX&677 	 	HC*$$469:   F3KK8?1 	hvV7K7K7=f~7MfgggV .K"&/"F"F #" #"h )-(R(R )" )"n% **''H&#!5'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateProjectRequest body: (required)
        :return: CreateProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   create_project_with_http_infor   s       r   create_projectzSPARKApi.create_project   ]     ,0'(::k"" 	545dEEfEEE7T7GGGGTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a   create_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateProjectRequest body: (required)
        :return: CreateProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z@Got an unexpected keyword argument '%s' to method create_projectNzCMissing the required parameter `body` when calling `create_project`r   r   r   r    z6/createProject/2021-06-01/spark/post/application_json/r!   CreateProjectResponseTr#   r)   r4   s                  r   rA   z&SPARKApi.create_project_with_http_info       X
+&&&2333,---,---fX&677 	 	HC*$$0256   F3KK8?1 	dvV7K7K7=f~7MbcccV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Df#!1'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_resource_pool(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateResourcePoolRequest body: (required)
        :return: CreateResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #create_resource_pool_with_http_infor   s       r   create_resource_poolzSPARKApi.create_resource_pool   ]     ,0'(::k"" 	;4;DKKFKKK=T=dMMfMMTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  create_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.create_resource_pool_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateResourcePoolRequest body: (required)
        :return: CreateResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method create_resource_poolNzIMissing the required parameter `body` when calling `create_resource_pool`r   r   r   r    z;/createResourcePool/2021-06-01/spark/post/application_json/r!   CreateResourcePoolResponseTr#   r)   r4   s                  r   rH   z,SPARKApi.create_resource_pool_with_http_info       X
+&&&2333,---,---fX&677 	 	HC*$$68;<   F3KK8?1 	jvV7K7K7=f~7MhiiiV .K"&/"F"F #" #"h )-(R(R )" )"n% **''I6#!6'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  delete_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_application(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteApplicationRequest body: (required)
        :return: DeleteApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   !delete_application_with_http_infor   s       r   delete_applicationzSPARKApi.delete_applicationG  r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  delete_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_application_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteApplicationRequest body: (required)
        :return: DeleteApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zDGot an unexpected keyword argument '%s' to method delete_applicationNzGMissing the required parameter `body` when calling `delete_application`r   r   r   r    z:/deleteApplication/2021-06-01/spark/post/application_json/r!   DeleteApplicationResponseTr#   r)   r4   s                  r   rO   z*SPARKApi.delete_application_with_http_info\  r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  delete_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteProjectRequest body: (required)
        :return: DeleteProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_project_with_http_infor   s       r   delete_projectzSPARKApi.delete_project  rC   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a   delete_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteProjectRequest body: (required)
        :return: DeleteProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z@Got an unexpected keyword argument '%s' to method delete_projectNzCMissing the required parameter `body` when calling `delete_project`r   r   r   r    z6/deleteProject/2021-06-01/spark/post/application_json/r!   DeleteProjectResponseTr#   r)   r4   s                  r   rT   z&SPARKApi.delete_project_with_http_info  rF   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  delete_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_resource_pool(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteResourcePoolRequest body: (required)
        :return: DeleteResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #delete_resource_pool_with_http_infor   s       r   delete_resource_poolzSPARKApi.delete_resource_pool	  rJ   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  delete_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.delete_resource_pool_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteResourcePoolRequest body: (required)
        :return: DeleteResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method delete_resource_poolNzIMissing the required parameter `body` when calling `delete_resource_pool`r   r   r   r    z;/deleteResourcePool/2021-06-01/spark/post/application_json/r!   DeleteResourcePoolResponseTr#   r)   r4   s                  r   rY   z,SPARKApi.delete_resource_pool_with_http_info  rM   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a	  describe_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_application(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeApplicationRequest body: (required)
        :return: DescribeApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   #describe_application_with_http_infor   s       r   describe_applicationzSPARKApi.describe_applicationj  rJ   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  describe_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_application_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeApplicationRequest body: (required)
        :return: DescribeApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zFGot an unexpected keyword argument '%s' to method describe_applicationNzIMissing the required parameter `body` when calling `describe_application`r   r   r   r    z</describeApplication/2021-06-01/spark/post/application_json/r!   DescribeApplicationResponseTr#   r)   r4   s                  r   r^   z,SPARKApi.describe_application_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$68;<   F3KK8?1 	jvV7K7K7=f~7MhiiiV .K"&/"F"F #" #"h )-(R(R )" )"n% **''JF#!7'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a+  describe_application_instance  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_application_instance(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeApplicationInstanceRequest body: (required)
        :return: DescribeApplicationInstanceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   ,describe_application_instance_with_http_infor   s       r   describe_application_instancez&SPARKApi.describe_application_instance  s]     ,0'(::k"" 	D4DTTTVTTTFTFtVVvVVTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a:  describe_application_instance  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_application_instance_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeApplicationInstanceRequest body: (required)
        :return: DescribeApplicationInstanceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zOGot an unexpected keyword argument '%s' to method describe_application_instanceNzRMissing the required parameter `body` when calling `describe_application_instance`r   r   r   r    zD/describeApplicationInstance/2021-06-01/spark/post/application_json/r!   #DescribeApplicationInstanceResponseTr#   r)   r4   s                  r   rc   z5SPARKApi.describe_application_instance_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$?ADE   F3KK8?1 	svV7K7K7=f~7MqrrrV .K"&/"F"F #" #"h )-(R(R )" )"n% **''RTZ#!?'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  describe_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeProjectRequest body: (required)
        :return: DescribeProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   describe_project_with_http_infor   s       r   describe_projectzSPARKApi.describe_project,  ]     ,0'(::k"" 	747GGGGG9T9$II&IITKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  describe_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeProjectRequest body: (required)
        :return: DescribeProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method describe_projectNzEMissing the required parameter `body` when calling `describe_project`r   r   r   r    z8/describeProject/2021-06-01/spark/post/application_json/r!   DescribeProjectResponseTr#   r)   r4   s                  r   rh   z(SPARKApi.describe_project_with_http_infoA      X
+&&&2333,---,---fX&677 	 	HC*$$2478   F3KK8?1 	fvV7K7K7=f~7MdeeeV .K"&/"F"F #" #"h )-(R(R )" )"n% **''F#!3'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  describe_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_resource_pool(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeResourcePoolRequest body: (required)
        :return: DescribeResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   %describe_resource_pool_with_http_infor   s       r   describe_resource_poolzSPARKApi.describe_resource_pool  s]     ,0'(::k"" 	=4=dMMfMMM?T?OOOOTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  describe_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.describe_resource_pool_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DescribeResourcePoolRequest body: (required)
        :return: DescribeResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zHGot an unexpected keyword argument '%s' to method describe_resource_poolNzKMissing the required parameter `body` when calling `describe_resource_pool`r   r   r   r    z=/describeResourcePool/2021-06-01/spark/post/application_json/r!   DescribeResourcePoolResponseTr#   r)   r4   s                  r   ro   z.SPARKApi.describe_resource_pool_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$8:=>   F3KK8?1 	lvV7K7K7=f~7MjkkkV .K"&/"F"F #" #"h )-(R(R )" )"n% **''KV#!8'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  exist_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.exist_resource_pool(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ExistResourcePoolRequest body: (required)
        :return: ExistResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   "exist_resource_pool_with_http_infor   s       r   exist_resource_poolzSPARKApi.exist_resource_pool  s]     ,0'(::k"" 	:4:4JJ6JJJ<T<TLLVLLTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  exist_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.exist_resource_pool_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ExistResourcePoolRequest body: (required)
        :return: ExistResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zEGot an unexpected keyword argument '%s' to method exist_resource_poolNzHMissing the required parameter `body` when calling `exist_resource_pool`r   r   r   r    z:/existResourcePool/2021-06-01/spark/post/application_json/r!   ExistResourcePoolResponseTr#   r)   r4   s                  r   rt   z+SPARKApi.exist_resource_pool_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$57:;   F3KK8?1 	ivV7K7K7=f~7MghhhV .K"&/"F"F #" #"h )-(R(R )" )"n% **''H&#!5'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_app_instance  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_app_instance(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListAppInstanceRequest body: (required)
        :return: ListAppInstanceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r    list_app_instance_with_http_infor   s       r   list_app_instancezSPARKApi.list_app_instanceO  ]     ,0'(::k"" 	848HHHHH:T:4JJ6JJTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a
  list_app_instance  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_app_instance_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListAppInstanceRequest body: (required)
        :return: ListAppInstanceResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zCGot an unexpected keyword argument '%s' to method list_app_instanceNzFMissing the required parameter `body` when calling `list_app_instance`r   r   r   r    z8/listAppInstance/2021-06-01/spark/post/application_json/r!   ListAppInstanceResponseTr#   r)   r4   s                  r   ry   z)SPARKApi.list_app_instance_with_http_infod  s    X
+&&&2333,---,---fX&677 	 	HC*$$3589   F3KK8?1 	gvV7K7K7=f~7MefffV .K"&/"F"F #" #"h )-(R(R )" )"n% **''F#!3'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_application(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListApplicationRequest body: (required)
        :return: ListApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_application_with_http_infor   s       r   list_applicationzSPARKApi.list_application  rj   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  list_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_application_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListApplicationRequest body: (required)
        :return: ListApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method list_applicationNzEMissing the required parameter `body` when calling `list_application`r   r   r   r    z8/listApplication/2021-06-01/spark/post/application_json/r!   ListApplicationResponseTr#   r)   r4   s                  r   r   z(SPARKApi.list_application_with_http_info  rm   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_application_history  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_application_history(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListApplicationHistoryRequest body: (required)
        :return: ListApplicationHistoryResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'list_application_history_with_http_infor   s       r   list_application_historyz!SPARKApi.list_application_history  s]     ,0'(::k"" 	?4?OOOOOATA$QQ&QQTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a&  list_application_history  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_application_history_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListApplicationHistoryRequest body: (required)
        :return: ListApplicationHistoryResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method list_application_historyNzMMissing the required parameter `body` when calling `list_application_history`r   r   r   r    z?/listApplicationHistory/2021-06-01/spark/post/application_json/r!   ListApplicationHistoryResponseTr#   r)   r4   s                  r   r   z0SPARKApi.list_application_history_with_http_info&  s    X
+&&&2333,---,---fX&677 	 	HC*$$:<?@   F3KK8?1 	nvV7K7K7=f~7MlmmmV .K"&/"F"F #" #"h )-(R(R )" )"n% **''Mv#!:'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectRequest body: (required)
        :return: ListProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_project_with_http_infor   s       r   list_projectzSPARKApi.list_projectr  s]     ,0'(::k"" 	343DCCFCCC5T5dEEfEETKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  list_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListProjectRequest body: (required)
        :return: ListProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z>Got an unexpected keyword argument '%s' to method list_projectNzAMissing the required parameter `body` when calling `list_project`r   r   r   r    z4/listProject/2021-06-01/spark/post/application_json/r!   ListProjectResponseTr#   r)   r4   s                  r   r   z$SPARKApi.list_project_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$.034   F3KK8?1 	bvV7K7K7=f~7M`aaaV .K"&/"F"F #" #"h )-(R(R )" )"n% **''BF#!/'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_resource_pool(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListResourcePoolRequest body: (required)
        :return: ListResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   !list_resource_pool_with_http_infor   s       r   list_resource_poolzSPARKApi.list_resource_pool  r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  list_resource_pool  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_resource_pool_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListResourcePoolRequest body: (required)
        :return: ListResourcePoolResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zDGot an unexpected keyword argument '%s' to method list_resource_poolNzGMissing the required parameter `body` when calling `list_resource_pool`r   r   r   r    z9/listResourcePool/2021-06-01/spark/post/application_json/r!   ListResourcePoolResponseTr#   r)   r4   s                  r   r   z*SPARKApi.list_resource_pool_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$469:   F3KK8?1 	hvV7K7K7=f~7MfgggV .K"&/"F"F #" #"h )-(R(R )" )"n% **''G#!4'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_zone  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_zone(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListZoneRequest body: (required)
        :return: ListZoneResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_zone_with_http_infor   s       r   	list_zonezSPARKApi.list_zone4  s]     ,0'(::k"" 	040@@@@@2T24BB6BBTKr   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    dg          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  list_zone  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.list_zone_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListZoneRequest body: (required)
        :return: ListZoneResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z;Got an unexpected keyword argument '%s' to method list_zoneNz>Missing the required parameter `body` when calling `list_zone`r   r   z!application/x-www-form-urlencodedr   r    zB/listZone/2021-06-01/spark/post/application_x-www-form-urlencoded/r!   ListZoneResponseTr#   r)   r4   s                  r   r   z!SPARKApi.list_zone_with_http_infoI  s    X
+&&&2333,---,---fX&677 	 	HC*$$+-01   F3KK8?1 	_vV7K7K7=f~7M]^^^V .K"&/"F"F #" #"h )-(R(R01)3 )3n% **''PRX#!,'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  modify_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.modify_application(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ModifyApplicationRequest body: (required)
        :return: ModifyApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   !modify_application_with_http_infor   s       r   modify_applicationzSPARKApi.modify_application  r   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  modify_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.modify_application_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ModifyApplicationRequest body: (required)
        :return: ModifyApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zDGot an unexpected keyword argument '%s' to method modify_applicationNzGMissing the required parameter `body` when calling `modify_application`r   r   r   r    z:/modifyApplication/2021-06-01/spark/post/application_json/r!   ModifyApplicationResponseTr#   r)   r4   s                  r   r   z*SPARKApi.modify_application_with_http_info  r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  start_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.start_application(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StartApplicationRequest body: (required)
        :return: StartApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r    start_application_with_http_infor   s       r   start_applicationzSPARKApi.start_application  r{   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  start_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.start_application_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StartApplicationRequest body: (required)
        :return: StartApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zCGot an unexpected keyword argument '%s' to method start_applicationNzFMissing the required parameter `body` when calling `start_application`r   r   r   r    z9/startApplication/2021-06-01/spark/post/application_json/r!   StartApplicationResponseTr#   r)   r4   s                  r   r   z)SPARKApi.start_application_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$3589   F3KK8?1 	gvV7K7K7=f~7MefffV .K"&/"F"F #" #"h )-(R(R )" )"n% **''G#!4'jj--#)::.F#G#G#ZZ(:DAA#ZZ(:;;1 ( 3 3 	3r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  stop_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.stop_application(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StopApplicationRequest body: (required)
        :return: StopApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   stop_application_with_http_infor   s       r   stop_applicationzSPARKApi.stop_applicationW  rj   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a  stop_application  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.stop_application_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StopApplicationRequest body: (required)
        :return: StopApplicationResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zBGot an unexpected keyword argument '%s' to method stop_applicationNzEMissing the required parameter `body` when calling `stop_application`r   r   r   r    z8/stopApplication/2021-06-01/spark/post/application_json/r!   StopApplicationResponseTr#   r)   r4   s                  r   r   z(SPARKApi.stop_application_with_http_infol  rm   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  update_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_project(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateProjectRequest body: (required)
        :return: UpdateProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   update_project_with_http_infor   s       r   update_projectzSPARKApi.update_project  rC   r   c                 4   dg}|                     d           |                     d           |                     d           |                     d           t                      }t          j        |d                   D ] \  }}||vrt	          d|z            |||<   !|d= | j        j        rd|vs|d         t          d	          i }i }g }	i }
g }i }d}d|v r|d         }| j                            d
g          |
d<   | j        	                    d
g          |
d<   dg}| j        
                    dd||	|
|||d||                    d          |                    d          |                    dd          |                    d          |          S )a   update_project  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.update_project_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateProjectRequest body: (required)
        :return: UpdateProjectResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   z@Got an unexpected keyword argument '%s' to method update_projectNzCMissing the required parameter `body` when calling `update_project`r   r   r   r    z6/updateProject/2021-06-01/spark/post/application_json/r!   UpdateProjectResponseTr#   r)   r4   s                  r   r   z&SPARKApi.update_project_with_http_info  rF   r   r   )/__name__
__module____qualname____doc__r   r   r   rB   rA   rI   rH   rP   rO   rU   rT   rZ   rY   r_   r^   rd   rc   ri   rh   rp   ro   ru   rt   rz   ry   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r   r   r   r      s        % % % %
  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3X  *J3 J3 J3 J3 J3r   r   )r   
__future__r   rer,   r   objectr   r   r   r   <module>r      s     ' & & & & & 				 


    3 3 3 3 3v 3 3 3 3 3r   