
    ~i                     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 )a  
    cloud_detect20251031

    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S )CLOUDDETECT20251031ApizNOTE: 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     /root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkclouddetect20251031/api/cloud_detect20251031_api.py__init__zCLOUDDETECT20251031Api.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_task  # 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_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateTaskRequest body: (required)
        :return: CreateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)getcreate_task_with_http_infor   bodykwargsdatas       r   create_taskz"CLOUDDETECT20251031Api.create_task$   ]     ,0'(::k"" 	2424BB6BBB4T4TDDVDDT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_task  # 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_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateTaskRequest body: (required)
        :return: CreateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   z=Got an unexpected keyword argument '%s' to method create_taskNz@Missing the required parameter `body` when calling `create_task`application/jsonAcceptContent-TypevolcengineSignz:/CreateTask/2025-10-31/cloud_detect/post/application_json/POSTCreateTaskResponseT
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   z1CLOUDDETECT20251031Api.create_task_with_http_info9       X
+&&&2333,---,---fX&677 	 	HC*$$-/23   F3KK8?1 	avV7K7K7=f~7M_```V .K"&/"F"F #" #"h )-(R(R )" )"n% **''H&#!.'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_task  # 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_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteTaskRequest body: (required)
        :return: DeleteTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   delete_task_with_http_infor   s       r   delete_taskz"CLOUDDETECT20251031Api.delete_task   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_task  # 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_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteTaskRequest body: (required)
        :return: DeleteTaskResponse
                 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_taskNz@Missing the required parameter `body` when calling `delete_task`r   r   r   r    z:/DeleteTask/2025-10-31/cloud_detect/post/application_json/r!   DeleteTaskResponseTr#   r)   r4   s                  r   rA   z1CLOUDDETECT20251031Api.delete_task_with_http_info   r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  get_task  # noqa: E501

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

        :param async_req bool
        :param GetTaskRequest body: (required)
        :return: GetTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   get_task_with_http_infor   s       r   get_taskzCLOUDDETECT20251031Api.get_task   s]     ,0'(::k"" 	/4/?????1T1$AA&AAT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  get_task  # noqa: E501

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

        :param async_req bool
        :param GetTaskRequest body: (required)
        :return: GetTaskResponse
                 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 get_taskNz=Missing the required parameter `body` when calling `get_task`r   r   r   r    z7/GetTask/2025-10-31/cloud_detect/post/application_json/r!   GetTaskResponseTr#   r)   r4   s                  r   rF   z.CLOUDDETECT20251031Api.get_task_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$*,/0   F3KK8?1 	^vV7K7K7=f~7M\]]]V .K"&/"F"F #" #"h )-(R(R )" )"n% **''Ev#!+'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  get_task_result  # noqa: E501

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

        :param async_req bool
        :param GetTaskResultRequest body: (required)
        :return: GetTaskResultResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   get_task_result_with_http_infor   s       r   get_task_resultz&CLOUDDETECT20251031Api.get_task_resultG  s]     ,0'(::k"" 	646tFFvFFF8T8HHHHT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  get_task_result  # noqa: E501

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

        :param async_req bool
        :param GetTaskResultRequest body: (required)
        :return: GetTaskResultResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zAGot an unexpected keyword argument '%s' to method get_task_resultNzDMissing the required parameter `body` when calling `get_task_result`r   r   r   r    z=/GetTaskResult/2025-10-31/cloud_detect/post/application_json/r!   GetTaskResultResponseTr#   r)   r4   s                  r   rK   z5CLOUDDETECT20251031Api.get_task_result_with_http_info\  s    X
+&&&2333,---,---fX&677 	 	HC*$$1367   F3KK8?1 	evV7K7K7=f~7McdddV .K"&/"F"F #" #"h )-(R(R )" )"n% **''KV#!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  list_nodes  # 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_nodes(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListNodesRequest body: (required)
        :return: ListNodesResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_nodes_with_http_infor   s       r   
list_nodesz!CLOUDDETECT20251031Api.list_nodes  s]     ,0'(::k"" 	141$AA&AAA3T3DCCFCCT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_nodes  # 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_nodes_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListNodesRequest body: (required)
        :return: ListNodesResponse
                 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_nodesNz?Missing the required parameter `body` when calling `list_nodes`r   r   r   r    z9/ListNodes/2025-10-31/cloud_detect/post/application_json/r!   ListNodesResponseTr#   r)   r4   s                  r   rP   z0CLOUDDETECT20251031Api.list_nodes_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$,.12   F3KK8?1 	`vV7K7K7=f~7M^___V .K"&/"F"F #" #"h )-(R(R )" )"n% **''G#!-'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_task  # 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_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListTaskRequest body: (required)
        :return: ListTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   list_task_with_http_infor   s       r   	list_taskz CLOUDDETECT20251031Api.list_task	  ]     ,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_task  # 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_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListTaskRequest body: (required)
        :return: ListTaskResponse
                 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_taskNz>Missing the required parameter `body` when calling `list_task`r   r   r   r    z8/ListTask/2025-10-31/cloud_detect/post/application_json/r!   ListTaskResponseTr#   r)   r4   s                  r   rU   z/CLOUDDETECT20251031Api.list_task_with_http_info      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 )" )"n% **''F#!,'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  restart_task  # noqa: E501

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

        :param async_req bool
        :param RestartTaskRequest body: (required)
        :return: RestartTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   restart_task_with_http_infor   s       r   restart_taskz#CLOUDDETECT20251031Api.restart_taskj  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  restart_task  # noqa: E501

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

        :param async_req bool
        :param RestartTaskRequest body: (required)
        :return: RestartTaskResponse
                 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 restart_taskNzAMissing the required parameter `body` when calling `restart_task`r   r   r   r    z;/RestartTask/2025-10-31/cloud_detect/post/application_json/r!   RestartTaskResponseTr#   r)   r4   s                  r   r\   z2CLOUDDETECT20251031Api.restart_task_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% **''I6#!/'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_task  # 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_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StopTaskRequest body: (required)
        :return: StopTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   stop_task_with_http_infor   s       r   	stop_taskz CLOUDDETECT20251031Api.stop_task  rW   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_task  # 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_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StopTaskRequest body: (required)
        :return: StopTaskResponse
                 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 stop_taskNz>Missing the required parameter `body` when calling `stop_task`r   r   r   r    z8/StopTask/2025-10-31/cloud_detect/post/application_json/r!   StopTaskResponseTr#   r)   r4   s                  r   ra   z/CLOUDDETECT20251031Api.stop_task_with_http_info  rZ   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  update_task  # 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_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateTaskRequest body: (required)
        :return: UpdateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   update_task_with_http_infor   s       r   update_taskz"CLOUDDETECT20251031Api.update_task,  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  update_task  # 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_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param UpdateTaskRequest body: (required)
        :return: UpdateTaskResponse
                 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_taskNz@Missing the required parameter `body` when calling `update_task`r   r   r   r    z:/UpdateTask/2025-10-31/cloud_detect/post/application_json/r!   UpdateTaskResponseTr#   r)   r4   s                  r   rf   z1CLOUDDETECT20251031Api.update_task_with_http_infoA  r?   r   r   )__name__
__module____qualname____doc__r   r   r   rB   rA   rG   rF   rL   rK   rQ   rP   rV   rU   r]   r\   rb   ra   rg   rf    r   r   r   r      se        % % % %
  *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   )rm   
__future__r   rer,   r   objectr   rn   r   r   <module>rr      s     ' & & & & & 				 


    s3 s3 s3 s3 s3V s3 s3 s3 s3 s3r   