@@ -450,6 +450,64 @@ def __init__(self, api_client=None):
450450 },
451451 api_client = api_client
452452 )
453+ self .document_move_to_folder_endpoint = _Endpoint (
454+ settings = {
455+ 'response_type' : None ,
456+ 'auth' : [
457+ 'apiKey' ,
458+ 'oauth2'
459+ ],
460+ 'endpoint_path' : '/public/v1/documents/{id}/move-to-folder/{folder_id}' ,
461+ 'operation_id' : 'document_move_to_folder' ,
462+ 'http_method' : 'DELETE' ,
463+ 'servers' : None ,
464+ },
465+ params_map = {
466+ 'all' : [
467+ 'id' ,
468+ 'folder_id' ,
469+ ],
470+ 'required' : [
471+ 'id' ,
472+ 'folder_id' ,
473+ ],
474+ 'nullable' : [
475+ ],
476+ 'enum' : [
477+ ],
478+ 'validation' : [
479+ ]
480+ },
481+ root_map = {
482+ 'validations' : {
483+ },
484+ 'allowed_values' : {
485+ },
486+ 'openapi_types' : {
487+ 'id' :
488+ (str ,),
489+ 'folder_id' :
490+ (str ,),
491+ },
492+ 'attribute_map' : {
493+ 'id' : 'id' ,
494+ 'folder_id' : 'folder_id' ,
495+ },
496+ 'location_map' : {
497+ 'id' : 'path' ,
498+ 'folder_id' : 'path' ,
499+ },
500+ 'collection_format_map' : {
501+ }
502+ },
503+ headers_map = {
504+ 'accept' : [
505+ 'application/json'
506+ ],
507+ 'content_type' : [],
508+ },
509+ api_client = api_client
510+ )
453511 self .download_document_endpoint = _Endpoint (
454512 settings = {
455513 'response_type' : (file_type ,),
@@ -1633,6 +1691,87 @@ def details_document(
16331691 id
16341692 return self .details_document_endpoint .call_with_http_info (** kwargs )
16351693
1694+ def document_move_to_folder (
1695+ self ,
1696+ id ,
1697+ folder_id ,
1698+ ** kwargs
1699+ ):
1700+ """Document move to folder # noqa: E501
1701+
1702+ This method makes a synchronous HTTP request by default. To make an
1703+ asynchronous HTTP request, please pass async_req=True
1704+
1705+ >>> thread = api.document_move_to_folder(id, folder_id, async_req=True)
1706+ >>> result = thread.get()
1707+
1708+ Args:
1709+ id (str): Specify document ID.
1710+ folder_id (str): Specify folder ID.
1711+
1712+ Keyword Args:
1713+ _return_http_data_only (bool): response data without head status
1714+ code and headers. Default is True.
1715+ _preload_content (bool): if False, the urllib3.HTTPResponse object
1716+ will be returned without reading/decoding response data.
1717+ Default is True.
1718+ _request_timeout (int/float/tuple): timeout setting for this request. If
1719+ one number provided, it will be total request timeout. It can also
1720+ be a pair (tuple) of (connection, read) timeouts.
1721+ Default is None.
1722+ _check_input_type (bool): specifies if type checking
1723+ should be done one the data sent to the server.
1724+ Default is True.
1725+ _check_return_type (bool): specifies if type checking
1726+ should be done one the data received from the server.
1727+ Default is True.
1728+ _spec_property_naming (bool): True if the variable names in the input data
1729+ are serialized names, as specified in the OpenAPI document.
1730+ False if the variable names in the input data
1731+ are pythonic names, e.g. snake case (default)
1732+ _content_type (str/None): force body content-type.
1733+ Default is None and content-type will be predicted by allowed
1734+ content-types and body.
1735+ _host_index (int/None): specifies the index of the server
1736+ that we want to use.
1737+ Default is read from the configuration.
1738+ async_req (bool): execute request asynchronously
1739+
1740+ Returns:
1741+ None
1742+ If the method is called asynchronously, returns the request
1743+ thread.
1744+ """
1745+ kwargs ['async_req' ] = kwargs .get (
1746+ 'async_req' , False
1747+ )
1748+ kwargs ['_return_http_data_only' ] = kwargs .get (
1749+ '_return_http_data_only' , True
1750+ )
1751+ kwargs ['_preload_content' ] = kwargs .get (
1752+ '_preload_content' , True
1753+ )
1754+ kwargs ['_request_timeout' ] = kwargs .get (
1755+ '_request_timeout' , None
1756+ )
1757+ kwargs ['_check_input_type' ] = kwargs .get (
1758+ '_check_input_type' , True
1759+ )
1760+ kwargs ['_check_return_type' ] = kwargs .get (
1761+ '_check_return_type' , True
1762+ )
1763+ kwargs ['_spec_property_naming' ] = kwargs .get (
1764+ '_spec_property_naming' , False
1765+ )
1766+ kwargs ['_content_type' ] = kwargs .get (
1767+ '_content_type' )
1768+ kwargs ['_host_index' ] = kwargs .get ('_host_index' )
1769+ kwargs ['id' ] = \
1770+ id
1771+ kwargs ['folder_id' ] = \
1772+ folder_id
1773+ return self .document_move_to_folder_endpoint .call_with_http_info (** kwargs )
1774+
16361775 def download_document (
16371776 self ,
16381777 id ,
0 commit comments