
    ~in                     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
    dms

    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                   n    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S )DMSApizNOTE: 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     e/root/.openclaw/workspace/.venvs/ark-sdk/lib/python3.11/site-packages/volcenginesdkdms/api/dms_api.py__init__zDMSApi.__init__   s!    *466J$    c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  create_data_migrate_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_data_migrate_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateDataMigrateTaskRequest body: (required)
        :return: CreateDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        T_return_http_data_only	async_req)get'create_data_migrate_task_with_http_infor   bodykwargsdatas       r   create_data_migrate_taskzDMSApi.create_data_migrate_task$   ]     ,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$  create_data_migrate_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_data_migrate_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateDataMigrateTaskRequest body: (required)
        :return: CreateDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   _preload_content_request_timeoutr   zJGot an unexpected keyword argument '%s' to method create_data_migrate_taskNzMMissing the required parameter `body` when calling `create_data_migrate_task`application/jsonAcceptContent-TypevolcengineSignz</CreateDataMigrateTask/2018-01-01/dms/post/application_json/POSTCreateDataMigrateTaskResponseT
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.DMSApi.create_data_migrate_task_with_http_info9       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% **''JF#!9'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 )a3  create_failure_data_migrate_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_failure_data_migrate_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateFailureDataMigrateTaskRequest body: (required)
        :return: CreateFailureDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   /create_failure_data_migrate_task_with_http_infor   s       r    create_failure_data_migrate_taskz'DMSApi.create_failure_data_migrate_task   s_     ,0'(::k"" 	G4GWWPVWWWITI$YYRXYYT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 )aB  create_failure_data_migrate_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_failure_data_migrate_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateFailureDataMigrateTaskRequest body: (required)
        :return: CreateFailureDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zRGot an unexpected keyword argument '%s' to method create_failure_data_migrate_taskNzUMissing the required parameter `body` when calling `create_failure_data_migrate_task`r   r   r   r    zC/CreateFailureDataMigrateTask/2018-01-01/dms/post/application_json/r!   $CreateFailureDataMigrateTaskResponseTr#   r)   r4   s                  r   rA   z6DMSApi.create_failure_data_migrate_task_with_http_info   s    X
+&&&2333,---,---fX&677 	 	HC*$$BDGH   F3KK8?1 	vvV7K7K7=f~7MtuuuV .K"&/"F"F #" #"h )-(R(R )" )"n% **''QSY#!@'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_data_migrate_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_data_migrate_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteDataMigrateTaskRequest body: (required)
        :return: DeleteDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'delete_data_migrate_task_with_http_infor   s       r   delete_data_migrate_taskzDMSApi.delete_data_migrate_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_data_migrate_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_data_migrate_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteDataMigrateTaskRequest body: (required)
        :return: DeleteDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method delete_data_migrate_taskNzMMissing the required parameter `body` when calling `delete_data_migrate_task`r   r   r   r    z</DeleteDataMigrateTask/2018-01-01/dms/post/application_json/r!   DeleteDataMigrateTaskResponseTr#   r)   r4   s                  r   rF   z.DMSApi.delete_data_migrate_task_with_http_info   r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  list_data_migrate_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_data_migrate_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListDataMigrateTaskRequest body: (required)
        :return: ListDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   %list_data_migrate_task_with_http_infor   s       r   list_data_migrate_taskzDMSApi.list_data_migrate_taskG  ]     ,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  list_data_migrate_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_data_migrate_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ListDataMigrateTaskRequest body: (required)
        :return: ListDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zHGot an unexpected keyword argument '%s' to method list_data_migrate_taskNzKMissing the required parameter `body` when calling `list_data_migrate_task`r   r   r   r    z:/ListDataMigrateTask/2018-01-01/dms/post/application_json/r!   ListDataMigrateTaskResponseTr#   r)   r4   s                  r   rK   z,DMSApi.list_data_migrate_task_with_http_info\      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% **''H&#!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  query_data_migrate_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.query_data_migrate_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param QueryDataMigrateTaskRequest body: (required)
        :return: QueryDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   &query_data_migrate_task_with_http_infor   s       r   query_data_migrate_taskzDMSApi.query_data_migrate_task  s]     ,0'(::k"" 	>4>tNNvNNN@T@PPPPT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   query_data_migrate_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.query_data_migrate_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param QueryDataMigrateTaskRequest body: (required)
        :return: QueryDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zIGot an unexpected keyword argument '%s' to method query_data_migrate_taskNzLMissing the required parameter `body` when calling `query_data_migrate_task`r   r   r   r    z;/QueryDataMigrateTask/2018-01-01/dms/post/application_json/r!   QueryDataMigrateTaskResponseTr#   r)   r4   s                  r   rR   z-DMSApi.query_data_migrate_task_with_http_info  s    X
+&&&2333,---,---fX&677 	 	HC*$$9;>?   F3KK8?1 	mvV7K7K7=f~7MklllV .K"&/"F"F #" #"h )-(R(R )" )"n% **''I6#!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  resume_data_migrate_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.resume_data_migrate_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ResumeDataMigrateTaskRequest body: (required)
        :return: ResumeDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   'resume_data_migrate_task_with_http_infor   s       r   resume_data_migrate_taskzDMSApi.resume_data_migrate_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$  resume_data_migrate_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.resume_data_migrate_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param ResumeDataMigrateTaskRequest body: (required)
        :return: ResumeDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zJGot an unexpected keyword argument '%s' to method resume_data_migrate_taskNzMMissing the required parameter `body` when calling `resume_data_migrate_task`r   r   r   r    z</ResumeDataMigrateTask/2018-01-01/dms/post/application_json/r!   ResumeDataMigrateTaskResponseTr#   r)   r4   s                  r   rW   z.DMSApi.resume_data_migrate_task_with_http_info  r?   r   c                 r    d|d<   |                     d          r | j        |fi |S  | j        |fi |}|S )a  stop_data_migrate_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_data_migrate_task(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StopDataMigrateTaskRequest body: (required)
        :return: StopDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        Tr   r   )r   %stop_data_migrate_task_with_http_infor   s       r   stop_data_migrate_taskzDMSApi.stop_data_migrate_taskj  rM   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_data_migrate_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_data_migrate_task_with_http_info(body, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param StopDataMigrateTaskRequest body: (required)
        :return: StopDataMigrateTaskResponse
                 If the method is called asynchronously,
                 returns the request thread.
        r   r   r   r   r   r   zHGot an unexpected keyword argument '%s' to method stop_data_migrate_taskNzKMissing the required parameter `body` when calling `stop_data_migrate_task`r   r   r   r    z:/StopDataMigrateTask/2018-01-01/dms/post/application_json/r!   StopDataMigrateTaskResponseTr#   r)   r4   s                  r   r\   z,DMSApi.stop_data_migrate_task_with_http_info  rP   r   r   )__name__
__module____qualname____doc__r   r   r   rB   rA   rG   rF   rL   rK   rS   rR   rX   rW   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3 J3 J3r   r   )rc   
__future__r   rer,   r   objectr   rd   r   r   <module>rh      s     ' & & & & & 				 


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