cloudmersive_convert_api_client/api/edit_document_api.py
def edit_document_xlsx_delete_worksheet_with_http_info(self, req_config, **kwargs):  # noqa: E501
        """Delete, remove worksheet from an Excel XLSX spreadsheet document  # noqa: E501

        Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab).  Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_xlsx_delete_worksheet_with_http_info(req_config, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RemoveXlsxWorksheetRequest req_config: Spreadsheet input request (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        """

        all_params = ['req_config']  # 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 edit_document_xlsx_delete_worksheet" % key
                )
            params[key] = val
        del params['kwargs']
        # verify the required parameter 'req_config' is set
        if ('req_config' not in params or
                params['req_config'] is None):
            raise ValueError("Missing the required parameter `req_config` when calling `edit_document_xlsx_delete_worksheet`")  # noqa: E501

        collection_formats = {}

        path_params = {}

        query_params = []

        header_params = {}

        form_params = []
        local_var_files = {}

        body_params = None
        if 'req_config' in params:
            body_params = params['req_config']
        # HTTP header `Accept`
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/octet-stream'])  # noqa: E501

        # HTTP header `Content-Type`
        header_params['Content-Type'] = self.api_client.select_header_content_type(  # noqa: E501
            ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])  # noqa: E501

        # Authentication setting
        auth_settings = ['Apikey']  # noqa: E501

        return self.api_client.call_api(
            '/convert/edit/xlsx/delete-worksheet', 'POST',
            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)
Delete, remove worksheet from an Excel XLSX spreadsheet document  # noqa: E501

        Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab).  Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_xlsx_delete_worksheet_with_http_info(req_config, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RemoveXlsxWorksheetRequest req_config: Spreadsheet input request (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        
Delete, remove worksheet from an Excel XLSX spreadsheet document  # noqa: E501
Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab).  Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.  # noqa: E501
This method makes a synchronous HTTP request by default.


Delete remove worksheet from an Excel XLSX spreadsheet document # noqa : E501 Edits the input Excel XLSX spreadsheet document to remove the specified worksheet ( tab ) . Use the Get Worksheets API to enumerate available worksheets in a spreadsheet . # noqa : E501 This method makes a synchronous HTTP request by default .
def edit_document_xlsx_delete_worksheet_with_http_info(self, req_config, **kwargs):  
        """Delete, remove worksheet from an Excel XLSX spreadsheet document  
        Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab).  Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.  
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_xlsx_delete_worksheet_with_http_info(req_config, async_req=True)
        >>> result = thread.get()
        :param async_req bool
        :param RemoveXlsxWorksheetRequest req_config: Spreadsheet input request (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        """
        all_params = ['req_config']  
        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 edit_document_xlsx_delete_worksheet" % key
                )
            params[key] = val
        del params['kwargs']
        if ('req_config' not in params or
                params['req_config'] is None):
            raise ValueError("Missing the required parameter `req_config` when calling `edit_document_xlsx_delete_worksheet`")  
        collection_formats = {}
        path_params = {}
        query_params = []
        header_params = {}
        form_params = []
        local_var_files = {}
        body_params = None
        if 'req_config' in params:
            body_params = params['req_config']
        header_params['Accept'] = self.api_client.select_header_accept(
            ['application/octet-stream'])  
        header_params['Content-Type'] = self.api_client.select_header_content_type(  
            ['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])  
        auth_settings = ['Apikey']  
        return self.api_client.call_api(
            '/convert/edit/xlsx/delete-worksheet', 'POST',
            path_params,
            query_params,
            header_params,
            body=body_params,
            post_params=form_params,
            files=local_var_files,
            response_type='str',  
            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 edit_document_xlsx_delete_worksheet_with_http_info ( self , req_config , ** kwargs ) : all_params = [ 'req_config' ] 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 edit_document_xlsx_delete_worksheet" % key ) params [ key ] = val del params [ 'kwargs' ] if ( 'req_config' not in params or params [ 'req_config' ] is None ) : raise ValueError ( "Missing the required parameter `req_config` when calling `edit_document_xlsx_delete_worksheet`" ) collection_formats = { } path_params = { } query_params = [ ] header_params = { } form_params = [ ] local_var_files = { } body_params = None if 'req_config' in params : body_params = params [ 'req_config' ] header_params [ 'Accept' ] = self . api_client . select_header_accept ( [ 'application/octet-stream' ] ) header_params [ 'Content-Type' ] = self . api_client . select_header_content_type ( [ 'application/json' , 'text/json' , 'application/xml' , 'text/xml' , 'application/x-www-form-urlencoded' ] ) auth_settings = [ 'Apikey' ] return self . api_client . call_api ( '/convert/edit/xlsx/delete-worksheet' , 'POST' , path_params , query_params , header_params , body = body_params , post_params = form_params , files = local_var_files , response_type = 'str' , 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 )
Delete, remove worksheet from an Excel XLSX spreadsheet document  # noqa: E501
Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab).
Delete remove worksheet from an Excel XLSX spreadsheet document # noqa : E501 Edits the input Excel XLSX spreadsheet document to remove the specified worksheet ( tab ) .
# noqa: E501 """Delete, remove worksheet from an Excel XLSX spreadsheet document  # noqa: E501

        Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab).  Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.  # noqa: E501
        This method makes a synchronous HTTP request by default. To make an
        asynchronous HTTP request, please pass async_req=True
        >>> thread = api.edit_document_xlsx_delete_worksheet_with_http_info(req_config, async_req=True)
        >>> result = thread.get()

        :param async_req bool
        :param RemoveXlsxWorksheetRequest req_config: Spreadsheet input request (required)
        :return: str
                 If the method is called asynchronously,
                 returns the request thread.
        """ # noqa: E501 # verify the required parameter 'req_config' is set # noqa: E501 # HTTP header `Accept` # noqa: E501 # HTTP header `Content-Type` # noqa: E501 # noqa: E501 # Authentication setting # noqa: E501 # noqa: E501
self
req_config