Top

lentiq.api.object_browser_public_api_controller_api module

# coding: utf-8

"""
    
    
        
    """

from __future__ import absolute_import

import re  # noqa: F401

# python 2 and python 3 compatibility library
import six

from lentiq.api_client import ApiClient


class ObjectBrowserPublicApiControllerApi(object):
    """
        Ref: 
    """

    def __init__(self, api_client=None):
        if api_client is None:
            api_client = ApiClient()
        self.api_client = api_client

    def append(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Appends a small amount of text content to the end of a file.  # noqa: E501

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

        :param async_req bool
        :param AppendForm body: appendForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.append_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.append_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def append_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Appends a small amount of text content to the end of a file.  # noqa: E501

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

        :param async_req bool
        :param AppendForm body: appendForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method append" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `append`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `append`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `append`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/append/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def compose(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy all files in a directory to one output file (merge).  # noqa: E501

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

        :param async_req bool
        :param ComposeForm body: composeForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
            return data

    def compose_with_http_info(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy all files in a directory to one output file (merge).  # noqa: E501

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

        :param async_req bool
        :param ComposeForm body: composeForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'destination_bucket_name', 'source_bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method compose" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `compose`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `compose`")  # noqa: E501
        # verify the required parameter 'destination_bucket_name' is set
        if ('destination_bucket_name' not in params or
                params['destination_bucket_name'] is None):
            raise ValueError("Missing the required parameter `destination_bucket_name` when calling `compose`")  # noqa: E501
        # verify the required parameter 'source_bucket_name' is set
        if ('source_bucket_name' not in params or
                params['source_bucket_name'] is None):
            raise ValueError("Missing the required parameter `source_bucket_name` when calling `compose`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'destination_bucket_name' in params:
            path_params['destinationBucketName'] = params['destination_bucket_name']  # noqa: E501
        if 'source_bucket_name' in params:
            path_params['sourceBucketName'] = params['source_bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/composeFrom/b/{sourceBucketName}/to/b/{destinationBucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def copy(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy files between FileSystems.  # noqa: E501

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

        :param async_req bool
        :param CopyForm body: copyForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
            return data

    def copy_with_http_info(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy files between FileSystems.  # noqa: E501

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

        :param async_req bool
        :param CopyForm body: copyForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'destination_bucket_name', 'source_bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method copy" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `copy`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `copy`")  # noqa: E501
        # verify the required parameter 'destination_bucket_name' is set
        if ('destination_bucket_name' not in params or
                params['destination_bucket_name'] is None):
            raise ValueError("Missing the required parameter `destination_bucket_name` when calling `copy`")  # noqa: E501
        # verify the required parameter 'source_bucket_name' is set
        if ('source_bucket_name' not in params or
                params['source_bucket_name'] is None):
            raise ValueError("Missing the required parameter `source_bucket_name` when calling `copy`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'destination_bucket_name' in params:
            path_params['destinationBucketName'] = params['destination_bucket_name']  # noqa: E501
        if 'source_bucket_name' in params:
            path_params['sourceBucketName'] = params['source_bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/copyFrom/b/{sourceBucketName}/to/b/{destinationBucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def create(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Create a file or directory with default permissions and parameters.  # 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(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateForm body: createForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.create_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.create_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def create_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Create a file or directory with default permissions and parameters.  # 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_with_http_info(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateForm body: createForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `create`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `create`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `create`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/create/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def delete(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Deletes the object at the given path from the bucket.  # 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(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteForm body: deleteForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.delete_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.delete_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def delete_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Deletes the object at the given path from the bucket.  # 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_with_http_info(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteForm body: deleteForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `delete`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `delete`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `delete`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/delete/b/{bucketName}', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='bool',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def download(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Downloads file from the given absolute path.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.download_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        else:
            (data) = self.download_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
            return data

    def download_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Downloads file from the given absolute path.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method download" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `download`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `download`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `download`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/download/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def get_description(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Return the description for the object at the specified path.  # 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_description(authorization, bucket_name, object_path, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.get_description_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        else:
            (data) = self.get_description_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
            return data

    def get_description_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Return the description for the object at the specified path.  # 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_description_with_http_info(authorization, bucket_name, object_path, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_description" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `get_description`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `get_description`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `get_description`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/description/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='str',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Returns a FileStatus object that represents the path with information about it.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.info_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        else:
            (data) = self.info_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
            return data

    def info_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Returns a FileStatus object that represents the path with information about it.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method info" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `info`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `info`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `info`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/info/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def list(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the paths of the files in the given path.  # 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(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[str]
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.list_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
        else:
            (data) = self.list_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
            return data

    def list_with_http_info(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the paths of the files in the given path.  # 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_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[str]
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path', 'recursive']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method list" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `list`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `list`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `list`")  # noqa: E501
        # verify the required parameter 'recursive' is set
        if ('recursive' not in params or
                params['recursive'] is None):
            raise ValueError("Missing the required parameter `recursive` when calling `list`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501
        if 'recursive' in params:
            query_params.append(('recursive', params['recursive']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/list/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[str]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def list_status(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the statuses and block locations of the files in the given path.  # 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_status(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[FileStatus]
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.list_status_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
        else:
            (data) = self.list_status_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
            return data

    def list_status_with_http_info(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the statuses and block locations of the files in the given path.  # 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_status_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[FileStatus]
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path', 'recursive']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method list_status" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `list_status`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `list_status`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `list_status`")  # noqa: E501
        # verify the required parameter 'recursive' is set
        if ('recursive' not in params or
                params['recursive'] is None):
            raise ValueError("Missing the required parameter `recursive` when calling `list_status`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501
        if 'recursive' in params:
            query_params.append(('recursive', params['recursive']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/listStatus/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[FileStatus]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def move(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket.  # noqa: E501

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

        :param async_req bool
        :param MoveForm body: moveForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.move_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.move_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def move_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket.  # noqa: E501

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

        :param async_req bool
        :param MoveForm body: moveForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method move" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `move`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `move`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `move`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/move/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def set_description(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Sets the description for the object at the specified path.  # noqa: E501

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

        :param async_req bool
        :param DescriptionForm body: descriptionForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.set_description_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.set_description_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def set_description_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Sets the description for the object at the specified path.  # noqa: E501

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

        :param async_req bool
        :param DescriptionForm body: descriptionForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method set_description" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `set_description`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `set_description`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `set_description`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/description/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='bool',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def upload(self, local_file, authorization, x_destination_path, bucket_name, **kwargs):  # noqa: E501
        """Uploads a single file from local filesystem to given path in a bucket.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.upload(local_file, authorization, x_destination_path, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file local_file: (required)
        :param str authorization: Authorization (required)
        :param str x_destination_path: X-DestinationPath (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, **kwargs)  # noqa: E501
            return data

    def upload_with_http_info(self, local_file, authorization, x_destination_path, bucket_name, **kwargs):  # noqa: E501
        """Uploads a single file from local filesystem to given path in a bucket.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file local_file: (required)
        :param str authorization: Authorization (required)
        :param str x_destination_path: X-DestinationPath (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['local_file', 'authorization', 'x_destination_path', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method upload" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'local_file' is set
        if ('local_file' not in params or
                params['local_file'] is None):
            raise ValueError("Missing the required parameter `local_file` when calling `upload`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `upload`")  # noqa: E501
        # verify the required parameter 'x_destination_path' is set
        if ('x_destination_path' not in params or
                params['x_destination_path'] is None):
            raise ValueError("Missing the required parameter `x_destination_path` when calling `upload`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `upload`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501
        if 'x_destination_path' in params:
            header_params['X-DestinationPath'] = params['x_destination_path']  # noqa: E501

        form_params = []
        local_var_files = {}
        if 'local_file' in params:
            local_var_files['localFile'] = params['local_file']  # noqa: E501

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['multipart/form-data'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/upload/b/{bucketName}', 'PUT',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

Classes

class ObjectBrowserPublicApiControllerApi

Ref:

class ObjectBrowserPublicApiControllerApi(object):
    """
        Ref: 
    """

    def __init__(self, api_client=None):
        if api_client is None:
            api_client = ApiClient()
        self.api_client = api_client

    def append(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Appends a small amount of text content to the end of a file.  # noqa: E501

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

        :param async_req bool
        :param AppendForm body: appendForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.append_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.append_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def append_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Appends a small amount of text content to the end of a file.  # noqa: E501

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

        :param async_req bool
        :param AppendForm body: appendForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method append" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `append`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `append`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `append`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/append/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def compose(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy all files in a directory to one output file (merge).  # noqa: E501

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

        :param async_req bool
        :param ComposeForm body: composeForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
            return data

    def compose_with_http_info(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy all files in a directory to one output file (merge).  # noqa: E501

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

        :param async_req bool
        :param ComposeForm body: composeForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'destination_bucket_name', 'source_bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method compose" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `compose`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `compose`")  # noqa: E501
        # verify the required parameter 'destination_bucket_name' is set
        if ('destination_bucket_name' not in params or
                params['destination_bucket_name'] is None):
            raise ValueError("Missing the required parameter `destination_bucket_name` when calling `compose`")  # noqa: E501
        # verify the required parameter 'source_bucket_name' is set
        if ('source_bucket_name' not in params or
                params['source_bucket_name'] is None):
            raise ValueError("Missing the required parameter `source_bucket_name` when calling `compose`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'destination_bucket_name' in params:
            path_params['destinationBucketName'] = params['destination_bucket_name']  # noqa: E501
        if 'source_bucket_name' in params:
            path_params['sourceBucketName'] = params['source_bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/composeFrom/b/{sourceBucketName}/to/b/{destinationBucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def copy(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy files between FileSystems.  # noqa: E501

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

        :param async_req bool
        :param CopyForm body: copyForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
            return data

    def copy_with_http_info(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
        """Copy files between FileSystems.  # noqa: E501

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

        :param async_req bool
        :param CopyForm body: copyForm (required)
        :param str authorization: Authorization (required)
        :param str destination_bucket_name: destinationBucketName (required)
        :param str source_bucket_name: sourceBucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'destination_bucket_name', 'source_bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method copy" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `copy`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `copy`")  # noqa: E501
        # verify the required parameter 'destination_bucket_name' is set
        if ('destination_bucket_name' not in params or
                params['destination_bucket_name'] is None):
            raise ValueError("Missing the required parameter `destination_bucket_name` when calling `copy`")  # noqa: E501
        # verify the required parameter 'source_bucket_name' is set
        if ('source_bucket_name' not in params or
                params['source_bucket_name'] is None):
            raise ValueError("Missing the required parameter `source_bucket_name` when calling `copy`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'destination_bucket_name' in params:
            path_params['destinationBucketName'] = params['destination_bucket_name']  # noqa: E501
        if 'source_bucket_name' in params:
            path_params['sourceBucketName'] = params['source_bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/copyFrom/b/{sourceBucketName}/to/b/{destinationBucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def create(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Create a file or directory with default permissions and parameters.  # 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(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateForm body: createForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.create_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.create_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def create_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Create a file or directory with default permissions and parameters.  # 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_with_http_info(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param CreateForm body: createForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method create" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `create`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `create`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `create`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/create/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def delete(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Deletes the object at the given path from the bucket.  # 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(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteForm body: deleteForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.delete_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.delete_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def delete_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Deletes the object at the given path from the bucket.  # 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_with_http_info(body, authorization, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param DeleteForm body: deleteForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method delete" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `delete`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `delete`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `delete`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/delete/b/{bucketName}', 'DELETE',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='bool',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def download(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Downloads file from the given absolute path.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.download_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        else:
            (data) = self.download_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
            return data

    def download_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Downloads file from the given absolute path.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: None
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method download" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `download`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `download`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `download`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/download/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type=None,  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def get_description(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Return the description for the object at the specified path.  # 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_description(authorization, bucket_name, object_path, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.get_description_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        else:
            (data) = self.get_description_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
            return data

    def get_description_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Return the description for the object at the specified path.  # 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_description_with_http_info(authorization, bucket_name, object_path, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method get_description" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `get_description`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `get_description`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `get_description`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/description/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='str',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Returns a FileStatus object that represents the path with information about it.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.info_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        else:
            (data) = self.info_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
            return data

    def info_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
        """Returns a FileStatus object that represents the path with information about it.  # noqa: E501

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

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method info" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `info`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `info`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `info`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/info/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def list(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the paths of the files in the given path.  # 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(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[str]
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.list_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
        else:
            (data) = self.list_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
            return data

    def list_with_http_info(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the paths of the files in the given path.  # 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_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[str]
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path', 'recursive']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method list" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `list`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `list`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `list`")  # noqa: E501
        # verify the required parameter 'recursive' is set
        if ('recursive' not in params or
                params['recursive'] is None):
            raise ValueError("Missing the required parameter `recursive` when calling `list`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501
        if 'recursive' in params:
            query_params.append(('recursive', params['recursive']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/list/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[str]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def list_status(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the statuses and block locations of the files in the given path.  # 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_status(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[FileStatus]
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.list_status_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
        else:
            (data) = self.list_status_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
            return data

    def list_status_with_http_info(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
        """List the statuses and block locations of the files in the given path.  # 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_status_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :param str object_path: objectPath (required)
        :param bool recursive: recursive (required)
        :return: list[FileStatus]
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['authorization', 'bucket_name', 'object_path', 'recursive']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method list_status" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `list_status`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `list_status`")  # noqa: E501
        # verify the required parameter 'object_path' is set
        if ('object_path' not in params or
                params['object_path'] is None):
            raise ValueError("Missing the required parameter `object_path` when calling `list_status`")  # noqa: E501
        # verify the required parameter 'recursive' is set
        if ('recursive' not in params or
                params['recursive'] is None):
            raise ValueError("Missing the required parameter `recursive` when calling `list_status`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []
        if 'object_path' in params:
            query_params.append(('objectPath', params['object_path']))  # noqa: E501
        if 'recursive' in params:
            query_params.append(('recursive', params['recursive']))  # noqa: E501

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/listStatus/b/{bucketName}', 'GET',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='list[FileStatus]',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def move(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket.  # noqa: E501

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

        :param async_req bool
        :param MoveForm body: moveForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.move_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.move_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def move_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket.  # noqa: E501

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

        :param async_req bool
        :param MoveForm body: moveForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method move" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `move`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `move`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `move`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/move/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def set_description(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Sets the description for the object at the specified path.  # noqa: E501

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

        :param async_req bool
        :param DescriptionForm body: descriptionForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.set_description_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.set_description_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
            return data

    def set_description_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
        """Sets the description for the object at the specified path.  # noqa: E501

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

        :param async_req bool
        :param DescriptionForm body: descriptionForm (required)
        :param str authorization: Authorization (required)
        :param str bucket_name: bucketName (required)
        :return: bool
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method set_description" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'body' is set
        if ('body' not in params or
                params['body'] is None):
            raise ValueError("Missing the required parameter `body` when calling `set_description`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `set_description`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `set_description`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501

        form_params = []
        local_var_files = {}

        body_params = None
        if 'body' in params:
            body_params = params['body']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/description/b/{bucketName}', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='bool',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

    def upload(self, local_file, authorization, x_destination_path, bucket_name, **kwargs):  # noqa: E501
        """Uploads a single file from local filesystem to given path in a bucket.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.upload(local_file, authorization, x_destination_path, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file local_file: (required)
        :param str authorization: Authorization (required)
        :param str x_destination_path: X-DestinationPath (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """
        kwargs['_return_http_data_only'] = True
        if kwargs.get('async_req'):
            return self.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, **kwargs)  # noqa: E501
        else:
            (data) = self.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, **kwargs)  # noqa: E501
            return data

    def upload_with_http_info(self, local_file, authorization, x_destination_path, bucket_name, **kwargs):  # noqa: E501
        """Uploads a single file from local filesystem to given path in a bucket.  # noqa: E501

        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param file local_file: (required)
        :param str authorization: Authorization (required)
        :param str x_destination_path: X-DestinationPath (required)
        :param str bucket_name: bucketName (required)
        :return: FileStatus
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['local_file', 'authorization', 'x_destination_path', 'bucket_name']  # noqa: E501
        all_params.append('async_req')
        all_params.append('_return_http_data_only')
        all_params.append('_preload_content')
        all_params.append('_request_timeout')

        params = locals()
        for key, val in six.iteritems(params['kwargs']):
            if key not in all_params:
                raise TypeError(
                    "Got an unexpected keyword argument '%s'"
                    " to method upload" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'local_file' is set
        if ('local_file' not in params or
                params['local_file'] is None):
            raise ValueError("Missing the required parameter `local_file` when calling `upload`")  # noqa: E501
        # verify the required parameter 'authorization' is set
        if ('authorization' not in params or
                params['authorization'] is None):
            raise ValueError("Missing the required parameter `authorization` when calling `upload`")  # noqa: E501
        # verify the required parameter 'x_destination_path' is set
        if ('x_destination_path' not in params or
                params['x_destination_path'] is None):
            raise ValueError("Missing the required parameter `x_destination_path` when calling `upload`")  # noqa: E501
        # verify the required parameter 'bucket_name' is set
        if ('bucket_name' not in params or
                params['bucket_name'] is None):
            raise ValueError("Missing the required parameter `bucket_name` when calling `upload`")  # noqa: E501

        collection_formats = {}

        path_params = {}
        if 'bucket_name' in params:
            path_params['bucketName'] = params['bucket_name']  # noqa: E501

        query_params = []

        header_params = {}
        if 'authorization' in params:
            header_params['Authorization'] = params['authorization']  # noqa: E501
        if 'x_destination_path' in params:
            header_params['X-DestinationPath'] = params['x_destination_path']  # noqa: E501

        form_params = []
        local_var_files = {}
        if 'local_file' in params:
            local_var_files['localFile'] = params['local_file']  # noqa: E501

        body_params = None
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['*/*'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['multipart/form-data'])  # noqa: E501

        # Authentication setting
        auth_settings = []  # noqa: E501

        return self.api_client.call_api(
            '/api/v1/datamanagement/obj/upload/b/{bucketName}', 'PUT',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='FileStatus',  # noqa: E501
            auth_settings=auth_settings,
            async_req=params.get('async_req'),
            _return_http_data_only=params.get('_return_http_data_only'),
            _preload_content=params.get('_preload_content', True),
            _request_timeout=params.get('_request_timeout'),
            collection_formats=collection_formats)

Ancestors (in MRO)

Static methods

def __init__(

self, api_client=None)

Initialize self. See help(type(self)) for accurate signature.

def __init__(self, api_client=None):
    if api_client is None:
        api_client = ApiClient()
    self.api_client = api_client

def append(

self, body, authorization, bucket_name, **kwargs)

Appends a small amount of text content to the end of a file. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.append(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param AppendForm body: appendForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def append(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Appends a small amount of text content to the end of a file.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.append(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param AppendForm body: appendForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.append_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.append_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        return data

def append_with_http_info(

self, body, authorization, bucket_name, **kwargs)

Appends a small amount of text content to the end of a file. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.append_with_http_info(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param AppendForm body: appendForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def append_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Appends a small amount of text content to the end of a file.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.append_with_http_info(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param AppendForm body: appendForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method append" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'body' is set
    if ('body' not in params or
            params['body'] is None):
        raise ValueError("Missing the required parameter `body` when calling `append`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `append`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `append`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    if 'body' in params:
        body_params = params['body']
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['application/json'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/append/b/{bucketName}', 'POST',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='FileStatus',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def compose(

self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs)

Copy all files in a directory to one output file (merge). # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.compose(body, authorization, destination_bucket_name, source_bucket_name, async_req=True) result = thread.get()

:param async_req bool :param ComposeForm body: composeForm (required) :param str authorization: Authorization (required) :param str destination_bucket_name: destinationBucketName (required) :param str source_bucket_name: sourceBucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def compose(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
    """Copy all files in a directory to one output file (merge).  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.compose(body, authorization, destination_bucket_name, source_bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param ComposeForm body: composeForm (required)
    :param str authorization: Authorization (required)
    :param str destination_bucket_name: destinationBucketName (required)
    :param str source_bucket_name: sourceBucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
        return data

def compose_with_http_info(

self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs)

Copy all files in a directory to one output file (merge). # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, async_req=True) result = thread.get()

:param async_req bool :param ComposeForm body: composeForm (required) :param str authorization: Authorization (required) :param str destination_bucket_name: destinationBucketName (required) :param str source_bucket_name: sourceBucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def compose_with_http_info(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
    """Copy all files in a directory to one output file (merge).  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.compose_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param ComposeForm body: composeForm (required)
    :param str authorization: Authorization (required)
    :param str destination_bucket_name: destinationBucketName (required)
    :param str source_bucket_name: sourceBucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['body', 'authorization', 'destination_bucket_name', 'source_bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method compose" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'body' is set
    if ('body' not in params or
            params['body'] is None):
        raise ValueError("Missing the required parameter `body` when calling `compose`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `compose`")  # noqa: E501
    # verify the required parameter 'destination_bucket_name' is set
    if ('destination_bucket_name' not in params or
            params['destination_bucket_name'] is None):
        raise ValueError("Missing the required parameter `destination_bucket_name` when calling `compose`")  # noqa: E501
    # verify the required parameter 'source_bucket_name' is set
    if ('source_bucket_name' not in params or
            params['source_bucket_name'] is None):
        raise ValueError("Missing the required parameter `source_bucket_name` when calling `compose`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'destination_bucket_name' in params:
        path_params['destinationBucketName'] = params['destination_bucket_name']  # noqa: E501
    if 'source_bucket_name' in params:
        path_params['sourceBucketName'] = params['source_bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    if 'body' in params:
        body_params = params['body']
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['application/json'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/composeFrom/b/{sourceBucketName}/to/b/{destinationBucketName}', 'POST',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='FileStatus',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def copy(

self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs)

Copy files between FileSystems. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.copy(body, authorization, destination_bucket_name, source_bucket_name, async_req=True) result = thread.get()

:param async_req bool :param CopyForm body: copyForm (required) :param str authorization: Authorization (required) :param str destination_bucket_name: destinationBucketName (required) :param str source_bucket_name: sourceBucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def copy(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
    """Copy files between FileSystems.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.copy(body, authorization, destination_bucket_name, source_bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param CopyForm body: copyForm (required)
    :param str authorization: Authorization (required)
    :param str destination_bucket_name: destinationBucketName (required)
    :param str source_bucket_name: sourceBucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, **kwargs)  # noqa: E501
        return data

def copy_with_http_info(

self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs)

Copy files between FileSystems. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, async_req=True) result = thread.get()

:param async_req bool :param CopyForm body: copyForm (required) :param str authorization: Authorization (required) :param str destination_bucket_name: destinationBucketName (required) :param str source_bucket_name: sourceBucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def copy_with_http_info(self, body, authorization, destination_bucket_name, source_bucket_name, **kwargs):  # noqa: E501
    """Copy files between FileSystems.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.copy_with_http_info(body, authorization, destination_bucket_name, source_bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param CopyForm body: copyForm (required)
    :param str authorization: Authorization (required)
    :param str destination_bucket_name: destinationBucketName (required)
    :param str source_bucket_name: sourceBucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['body', 'authorization', 'destination_bucket_name', 'source_bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method copy" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'body' is set
    if ('body' not in params or
            params['body'] is None):
        raise ValueError("Missing the required parameter `body` when calling `copy`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `copy`")  # noqa: E501
    # verify the required parameter 'destination_bucket_name' is set
    if ('destination_bucket_name' not in params or
            params['destination_bucket_name'] is None):
        raise ValueError("Missing the required parameter `destination_bucket_name` when calling `copy`")  # noqa: E501
    # verify the required parameter 'source_bucket_name' is set
    if ('source_bucket_name' not in params or
            params['source_bucket_name'] is None):
        raise ValueError("Missing the required parameter `source_bucket_name` when calling `copy`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'destination_bucket_name' in params:
        path_params['destinationBucketName'] = params['destination_bucket_name']  # noqa: E501
    if 'source_bucket_name' in params:
        path_params['sourceBucketName'] = params['source_bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    if 'body' in params:
        body_params = params['body']
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['application/json'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/copyFrom/b/{sourceBucketName}/to/b/{destinationBucketName}', 'POST',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='FileStatus',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def create(

self, body, authorization, bucket_name, **kwargs)

Create a file or directory with default permissions and parameters. # 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(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param CreateForm body: createForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def create(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Create a file or directory with default permissions and parameters.  # 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(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param CreateForm body: createForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.create_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.create_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        return data

def create_with_http_info(

self, body, authorization, bucket_name, **kwargs)

Create a file or directory with default permissions and parameters. # 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_with_http_info(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param CreateForm body: createForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def create_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Create a file or directory with default permissions and parameters.  # 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_with_http_info(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param CreateForm body: createForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method create" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'body' is set
    if ('body' not in params or
            params['body'] is None):
        raise ValueError("Missing the required parameter `body` when calling `create`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `create`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `create`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    if 'body' in params:
        body_params = params['body']
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['application/json'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/create/b/{bucketName}', 'POST',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='FileStatus',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def delete(

self, body, authorization, bucket_name, **kwargs)

Deletes the object at the given path from the bucket. # 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(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param DeleteForm body: deleteForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: bool If the method is called asynchronously, returns the request thread.

def delete(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Deletes the object at the given path from the bucket.  # 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(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param DeleteForm body: deleteForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: bool
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.delete_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.delete_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        return data

def delete_with_http_info(

self, body, authorization, bucket_name, **kwargs)

Deletes the object at the given path from the bucket. # 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_with_http_info(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param DeleteForm body: deleteForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: bool If the method is called asynchronously, returns the request thread.

def delete_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Deletes the object at the given path from the bucket.  # 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_with_http_info(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param DeleteForm body: deleteForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: bool
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method delete" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'body' is set
    if ('body' not in params or
            params['body'] is None):
        raise ValueError("Missing the required parameter `body` when calling `delete`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `delete`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `delete`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    if 'body' in params:
        body_params = params['body']
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['*/*'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/delete/b/{bucketName}', 'DELETE',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='bool',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def download(

self, authorization, bucket_name, object_path, **kwargs)

Downloads file from the given absolute path. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.download(authorization, bucket_name, object_path, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :return: None If the method is called asynchronously, returns the request thread.

def download(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
    """Downloads file from the given absolute path.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.download(authorization, bucket_name, object_path, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :return: None
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.download_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
    else:
        (data) = self.download_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        return data

def download_with_http_info(

self, authorization, bucket_name, object_path, **kwargs)

Downloads file from the given absolute path. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.download_with_http_info(authorization, bucket_name, object_path, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :return: None If the method is called asynchronously, returns the request thread.

def download_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
    """Downloads file from the given absolute path.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.download_with_http_info(authorization, bucket_name, object_path, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :return: None
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method download" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `download`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `download`")  # noqa: E501
    # verify the required parameter 'object_path' is set
    if ('object_path' not in params or
            params['object_path'] is None):
        raise ValueError("Missing the required parameter `object_path` when calling `download`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    if 'object_path' in params:
        query_params.append(('objectPath', params['object_path']))  # noqa: E501
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/download/b/{bucketName}', 'GET',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type=None,  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def get_description(

self, authorization, bucket_name, object_path, **kwargs)

Return the description for the object at the specified path. # 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_description(authorization, bucket_name, object_path, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :return: str If the method is called asynchronously, returns the request thread.

def get_description(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
    """Return the description for the object at the specified path.  # 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_description(authorization, bucket_name, object_path, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :return: str
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.get_description_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
    else:
        (data) = self.get_description_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        return data

def get_description_with_http_info(

self, authorization, bucket_name, object_path, **kwargs)

Return the description for the object at the specified path. # 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_description_with_http_info(authorization, bucket_name, object_path, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :return: str If the method is called asynchronously, returns the request thread.

def get_description_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
    """Return the description for the object at the specified path.  # 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_description_with_http_info(authorization, bucket_name, object_path, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :return: str
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method get_description" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `get_description`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `get_description`")  # noqa: E501
    # verify the required parameter 'object_path' is set
    if ('object_path' not in params or
            params['object_path'] is None):
        raise ValueError("Missing the required parameter `object_path` when calling `get_description`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    if 'object_path' in params:
        query_params.append(('objectPath', params['object_path']))  # noqa: E501
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/description/b/{bucketName}', 'GET',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='str',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def info(

self, authorization, bucket_name, object_path, **kwargs)

Returns a FileStatus object that represents the path with information about it. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.info(authorization, bucket_name, object_path, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
    """Returns a FileStatus object that represents the path with information about it.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.info(authorization, bucket_name, object_path, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.info_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
    else:
        (data) = self.info_with_http_info(authorization, bucket_name, object_path, **kwargs)  # noqa: E501
        return data

def info_with_http_info(

self, authorization, bucket_name, object_path, **kwargs)

Returns a FileStatus object that represents the path with information about it. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.info_with_http_info(authorization, bucket_name, object_path, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def info_with_http_info(self, authorization, bucket_name, object_path, **kwargs):  # noqa: E501
    """Returns a FileStatus object that represents the path with information about it.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.info_with_http_info(authorization, bucket_name, object_path, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['authorization', 'bucket_name', 'object_path']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method info" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `info`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `info`")  # noqa: E501
    # verify the required parameter 'object_path' is set
    if ('object_path' not in params or
            params['object_path'] is None):
        raise ValueError("Missing the required parameter `object_path` when calling `info`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    if 'object_path' in params:
        query_params.append(('objectPath', params['object_path']))  # noqa: E501
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/info/b/{bucketName}', 'GET',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='FileStatus',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def list(

self, authorization, bucket_name, object_path, recursive, **kwargs)

List the paths of the files in the given path. # 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(authorization, bucket_name, object_path, recursive, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :param bool recursive: recursive (required) :return: list[str] If the method is called asynchronously, returns the request thread.

def list(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
    """List the paths of the files in the given path.  # 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(authorization, bucket_name, object_path, recursive, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :param bool recursive: recursive (required)
    :return: list[str]
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.list_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
    else:
        (data) = self.list_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
        return data

def list_status(

self, authorization, bucket_name, object_path, recursive, **kwargs)

List the statuses and block locations of the files in the given path. # 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_status(authorization, bucket_name, object_path, recursive, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :param bool recursive: recursive (required) :return: list[FileStatus] If the method is called asynchronously, returns the request thread.

def list_status(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
    """List the statuses and block locations of the files in the given path.  # 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_status(authorization, bucket_name, object_path, recursive, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :param bool recursive: recursive (required)
    :return: list[FileStatus]
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.list_status_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
    else:
        (data) = self.list_status_with_http_info(authorization, bucket_name, object_path, recursive, **kwargs)  # noqa: E501
        return data

def list_status_with_http_info(

self, authorization, bucket_name, object_path, recursive, **kwargs)

List the statuses and block locations of the files in the given path. # 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_status_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :param bool recursive: recursive (required) :return: list[FileStatus] If the method is called asynchronously, returns the request thread.

def list_status_with_http_info(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
    """List the statuses and block locations of the files in the given path.  # 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_status_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :param bool recursive: recursive (required)
    :return: list[FileStatus]
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['authorization', 'bucket_name', 'object_path', 'recursive']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method list_status" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `list_status`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `list_status`")  # noqa: E501
    # verify the required parameter 'object_path' is set
    if ('object_path' not in params or
            params['object_path'] is None):
        raise ValueError("Missing the required parameter `object_path` when calling `list_status`")  # noqa: E501
    # verify the required parameter 'recursive' is set
    if ('recursive' not in params or
            params['recursive'] is None):
        raise ValueError("Missing the required parameter `recursive` when calling `list_status`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    if 'object_path' in params:
        query_params.append(('objectPath', params['object_path']))  # noqa: E501
    if 'recursive' in params:
        query_params.append(('recursive', params['recursive']))  # noqa: E501
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/listStatus/b/{bucketName}', 'GET',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='list[FileStatus]',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def list_with_http_info(

self, authorization, bucket_name, object_path, recursive, **kwargs)

List the paths of the files in the given path. # 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_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True) result = thread.get()

:param async_req bool :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :param str object_path: objectPath (required) :param bool recursive: recursive (required) :return: list[str] If the method is called asynchronously, returns the request thread.

def list_with_http_info(self, authorization, bucket_name, object_path, recursive, **kwargs):  # noqa: E501
    """List the paths of the files in the given path.  # 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_with_http_info(authorization, bucket_name, object_path, recursive, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :param str object_path: objectPath (required)
    :param bool recursive: recursive (required)
    :return: list[str]
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['authorization', 'bucket_name', 'object_path', 'recursive']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method list" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `list`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `list`")  # noqa: E501
    # verify the required parameter 'object_path' is set
    if ('object_path' not in params or
            params['object_path'] is None):
        raise ValueError("Missing the required parameter `object_path` when calling `list`")  # noqa: E501
    # verify the required parameter 'recursive' is set
    if ('recursive' not in params or
            params['recursive'] is None):
        raise ValueError("Missing the required parameter `recursive` when calling `list`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    if 'object_path' in params:
        query_params.append(('objectPath', params['object_path']))  # noqa: E501
    if 'recursive' in params:
        query_params.append(('recursive', params['recursive']))  # noqa: E501
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/list/b/{bucketName}', 'GET',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='list[str]',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def move(

self, body, authorization, bucket_name, **kwargs)

Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.move(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param MoveForm body: moveForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def move(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.move(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param MoveForm body: moveForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.move_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.move_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        return data

def move_with_http_info(

self, body, authorization, bucket_name, **kwargs)

Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.move_with_http_info(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param MoveForm body: moveForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def move_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Renames source object to destination object. It moves an object from source to destination path using the same file system in the same bucket.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.move_with_http_info(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param MoveForm body: moveForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method move" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'body' is set
    if ('body' not in params or
            params['body'] is None):
        raise ValueError("Missing the required parameter `body` when calling `move`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `move`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `move`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    if 'body' in params:
        body_params = params['body']
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['application/json'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/move/b/{bucketName}', 'POST',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='FileStatus',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def set_description(

self, body, authorization, bucket_name, **kwargs)

Sets the description for the object at the specified path. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.set_description(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param DescriptionForm body: descriptionForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: bool If the method is called asynchronously, returns the request thread.

def set_description(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Sets the description for the object at the specified path.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.set_description(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param DescriptionForm body: descriptionForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: bool
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.set_description_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.set_description_with_http_info(body, authorization, bucket_name, **kwargs)  # noqa: E501
        return data

def set_description_with_http_info(

self, body, authorization, bucket_name, **kwargs)

Sets the description for the object at the specified path. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.set_description_with_http_info(body, authorization, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param DescriptionForm body: descriptionForm (required) :param str authorization: Authorization (required) :param str bucket_name: bucketName (required) :return: bool If the method is called asynchronously, returns the request thread.

def set_description_with_http_info(self, body, authorization, bucket_name, **kwargs):  # noqa: E501
    """Sets the description for the object at the specified path.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.set_description_with_http_info(body, authorization, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param DescriptionForm body: descriptionForm (required)
    :param str authorization: Authorization (required)
    :param str bucket_name: bucketName (required)
    :return: bool
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['body', 'authorization', 'bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method set_description" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'body' is set
    if ('body' not in params or
            params['body'] is None):
        raise ValueError("Missing the required parameter `body` when calling `set_description`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `set_description`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `set_description`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    form_params = []
    local_var_files = {}
    body_params = None
    if 'body' in params:
        body_params = params['body']
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['application/json'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/description/b/{bucketName}', 'POST',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='bool',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

def upload(

self, local_file, authorization, x_destination_path, bucket_name, **kwargs)

Uploads a single file from local filesystem to given path in a bucket. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.upload(local_file, authorization, x_destination_path, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param file local_file: (required) :param str authorization: Authorization (required) :param str x_destination_path: X-DestinationPath (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def upload(self, local_file, authorization, x_destination_path, bucket_name, **kwargs):  # noqa: E501
    """Uploads a single file from local filesystem to given path in a bucket.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.upload(local_file, authorization, x_destination_path, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param file local_file: (required)
    :param str authorization: Authorization (required)
    :param str x_destination_path: X-DestinationPath (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    kwargs['_return_http_data_only'] = True
    if kwargs.get('async_req'):
        return self.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, **kwargs)  # noqa: E501
    else:
        (data) = self.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, **kwargs)  # noqa: E501
        return data

def upload_with_http_info(

self, local_file, authorization, x_destination_path, bucket_name, **kwargs)

Uploads a single file from local filesystem to given path in a bucket. # noqa: E501

This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True

thread = api.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, async_req=True) result = thread.get()

:param async_req bool :param file local_file: (required) :param str authorization: Authorization (required) :param str x_destination_path: X-DestinationPath (required) :param str bucket_name: bucketName (required) :return: FileStatus If the method is called asynchronously, returns the request thread.

def upload_with_http_info(self, local_file, authorization, x_destination_path, bucket_name, **kwargs):  # noqa: E501
    """Uploads a single file from local filesystem to given path in a bucket.  # noqa: E501
    This method makes a synchronous HTTP request by default. To make an
    asynchronous HTTP request, please pass async_req=True
    >>> thread = api.upload_with_http_info(local_file, authorization, x_destination_path, bucket_name, async_req=True)
    >>> result = thread.get()
    :param async_req bool
    :param file local_file: (required)
    :param str authorization: Authorization (required)
    :param str x_destination_path: X-DestinationPath (required)
    :param str bucket_name: bucketName (required)
    :return: FileStatus
             If the method is called asynchronously,
             returns the request thread.
    """
    all_params = ['local_file', 'authorization', 'x_destination_path', 'bucket_name']  # noqa: E501
    all_params.append('async_req')
    all_params.append('_return_http_data_only')
    all_params.append('_preload_content')
    all_params.append('_request_timeout')
    params = locals()
    for key, val in six.iteritems(params['kwargs']):
        if key not in all_params:
            raise TypeError(
                "Got an unexpected keyword argument '%s'"
                " to method upload" % key
            )
        params[key] = val
    del params['kwargs']
    # verify the required parameter 'local_file' is set
    if ('local_file' not in params or
            params['local_file'] is None):
        raise ValueError("Missing the required parameter `local_file` when calling `upload`")  # noqa: E501
    # verify the required parameter 'authorization' is set
    if ('authorization' not in params or
            params['authorization'] is None):
        raise ValueError("Missing the required parameter `authorization` when calling `upload`")  # noqa: E501
    # verify the required parameter 'x_destination_path' is set
    if ('x_destination_path' not in params or
            params['x_destination_path'] is None):
        raise ValueError("Missing the required parameter `x_destination_path` when calling `upload`")  # noqa: E501
    # verify the required parameter 'bucket_name' is set
    if ('bucket_name' not in params or
            params['bucket_name'] is None):
        raise ValueError("Missing the required parameter `bucket_name` when calling `upload`")  # noqa: E501
    collection_formats = {}
    path_params = {}
    if 'bucket_name' in params:
        path_params['bucketName'] = params['bucket_name']  # noqa: E501
    query_params = []
    header_params = {}
    if 'authorization' in params:
        header_params['Authorization'] = params['authorization']  # noqa: E501
    if 'x_destination_path' in params:
        header_params['X-DestinationPath'] = params['x_destination_path']  # noqa: E501
    form_params = []
    local_var_files = {}
    if 'local_file' in params:
        local_var_files['localFile'] = params['local_file']  # noqa: E501
    body_params = None
    # HTTP header `Accept`
    header_params['Accept'] = self.api_client.select_header_accept(
        ['*/*'])  # noqa: E501
    # HTTP header `Content-Type`
    header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
        ['multipart/form-data'])  # noqa: E501
    # Authentication setting
    auth_settings = []  # noqa: E501
    return self.api_client.call_api(
        '/api/v1/datamanagement/obj/upload/b/{bucketName}', 'PUT',
        path_params,
        query_params,
        header_params,
        body=body_params,
        post_params=form_params,
        files=local_var_files,
        response_type='FileStatus',  # noqa: E501
        auth_settings=auth_settings,
        async_req=params.get('async_req'),
        _return_http_data_only=params.get('_return_http_data_only'),
        _preload_content=params.get('_preload_content', True),
        _request_timeout=params.get('_request_timeout'),
        collection_formats=collection_formats)

Instance variables

var api_client