From 2284b78c382a93e4e7d0b6947d9d7c939998a458 Mon Sep 17 00:00:00 2001 From: Cloudmersive <35204726+Cloudmersive@users.noreply.github.com> Date: Sat, 8 Feb 2020 21:32:46 -0800 Subject: [PATCH] 2.3.9 --- README.md | 5 +- cloudmersive_convert_api_client/__init__.py | 2 + .../api/edit_document_api.py | 99 ++++++++++++ cloudmersive_convert_api_client/api_client.py | 2 +- .../configuration.py | 2 +- .../models/__init__.py | 2 + .../models/enable_shared_workbook_request.py | 147 ++++++++++++++++++ .../models/enable_shared_workbook_response.py | 145 +++++++++++++++++ docs/EditDocumentApi.md | 55 +++++++ docs/EnableSharedWorkbookRequest.md | 11 ++ docs/EnableSharedWorkbookResponse.md | 11 ++ packageconfig.json | 2 +- setup.py | 2 +- test/test_enable_shared_workbook_request.py | 40 +++++ test/test_enable_shared_workbook_response.py | 40 +++++ 15 files changed, 560 insertions(+), 5 deletions(-) create mode 100644 cloudmersive_convert_api_client/models/enable_shared_workbook_request.py create mode 100644 cloudmersive_convert_api_client/models/enable_shared_workbook_response.py create mode 100644 docs/EnableSharedWorkbookRequest.md create mode 100644 docs/EnableSharedWorkbookResponse.md create mode 100644 test/test_enable_shared_workbook_request.py create mode 100644 test/test_enable_shared_workbook_response.py diff --git a/README.md b/README.md index 1d067d8..33808e4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Convert API lets you effortlessly convert file formats and types. This Python package provides a native API client for [Cloudmersive Document Conversion](https://www.cloudmersive.com/convert-api) - API version: v1 -- Package version: 2.3.8 +- Package version: 2.3.9 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. @@ -173,6 +173,7 @@ Class | Method | HTTP request | Description *EditDocumentApi* | [**edit_document_xlsx_create_blank_spreadsheet**](docs/EditDocumentApi.md#edit_document_xlsx_create_blank_spreadsheet) | **POST** /convert/edit/xlsx/create/blank | Create a blank Excel XLSX spreadsheet *EditDocumentApi* | [**edit_document_xlsx_create_spreadsheet_from_data**](docs/EditDocumentApi.md#edit_document_xlsx_create_spreadsheet_from_data) | **POST** /convert/edit/xlsx/create/from/data | Create a new Excel XLSX spreadsheet from column and row data *EditDocumentApi* | [**edit_document_xlsx_delete_worksheet**](docs/EditDocumentApi.md#edit_document_xlsx_delete_worksheet) | **POST** /convert/edit/xlsx/delete-worksheet | Delete, remove worksheet from an Excel XLSX spreadsheet document +*EditDocumentApi* | [**edit_document_xlsx_enable_shared_workbook**](docs/EditDocumentApi.md#edit_document_xlsx_enable_shared_workbook) | **POST** /convert/edit/xlsx/configuration/enable-shared-workbook | Enable Shared Workbook (legacy) in Excel XLSX spreadsheet *EditDocumentApi* | [**edit_document_xlsx_get_cell_by_identifier**](docs/EditDocumentApi.md#edit_document_xlsx_get_cell_by_identifier) | **POST** /convert/edit/xlsx/get-cell/by-identifier | Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier *EditDocumentApi* | [**edit_document_xlsx_get_cell_by_index**](docs/EditDocumentApi.md#edit_document_xlsx_get_cell_by_index) | **POST** /convert/edit/xlsx/get-cell/by-index | Get cell from an Excel XLSX spreadsheet, worksheet by index *EditDocumentApi* | [**edit_document_xlsx_get_columns**](docs/EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get columns from a Excel XLSX spreadsheet, worksheet @@ -304,6 +305,8 @@ Class | Method | HTTP request | Description - [DocxTemplateOperation](docs/DocxTemplateOperation.md) - [DocxText](docs/DocxText.md) - [DocxTopLevelComment](docs/DocxTopLevelComment.md) + - [EnableSharedWorkbookRequest](docs/EnableSharedWorkbookRequest.md) + - [EnableSharedWorkbookResponse](docs/EnableSharedWorkbookResponse.md) - [ExifValue](docs/ExifValue.md) - [FindRegexMatch](docs/FindRegexMatch.md) - [FindStringMatch](docs/FindStringMatch.md) diff --git a/cloudmersive_convert_api_client/__init__.py b/cloudmersive_convert_api_client/__init__.py index 8b5694c..f32d16b 100644 --- a/cloudmersive_convert_api_client/__init__.py +++ b/cloudmersive_convert_api_client/__init__.py @@ -92,6 +92,8 @@ from cloudmersive_convert_api_client.models.docx_template_operation import DocxTemplateOperation from cloudmersive_convert_api_client.models.docx_text import DocxText from cloudmersive_convert_api_client.models.docx_top_level_comment import DocxTopLevelComment +from cloudmersive_convert_api_client.models.enable_shared_workbook_request import EnableSharedWorkbookRequest +from cloudmersive_convert_api_client.models.enable_shared_workbook_response import EnableSharedWorkbookResponse from cloudmersive_convert_api_client.models.exif_value import ExifValue from cloudmersive_convert_api_client.models.find_regex_match import FindRegexMatch from cloudmersive_convert_api_client.models.find_string_match import FindStringMatch diff --git a/cloudmersive_convert_api_client/api/edit_document_api.py b/cloudmersive_convert_api_client/api/edit_document_api.py index d333919..4682540 100644 --- a/cloudmersive_convert_api_client/api/edit_document_api.py +++ b/cloudmersive_convert_api_client/api/edit_document_api.py @@ -3597,6 +3597,105 @@ def edit_document_xlsx_delete_worksheet_with_http_info(self, req_config, **kwarg _request_timeout=params.get('_request_timeout'), collection_formats=collection_formats) + def edit_document_xlsx_enable_shared_workbook(self, input, **kwargs): # noqa: E501 + """Enable Shared Workbook (legacy) in Excel XLSX spreadsheet # noqa: E501 + + Enables the Shared Workbook (legacy) mode in an Excel XLSX 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_enable_shared_workbook(input, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EnableSharedWorkbookRequest input: Document input request (required) + :return: EnableSharedWorkbookResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.edit_document_xlsx_enable_shared_workbook_with_http_info(input, **kwargs) # noqa: E501 + else: + (data) = self.edit_document_xlsx_enable_shared_workbook_with_http_info(input, **kwargs) # noqa: E501 + return data + + def edit_document_xlsx_enable_shared_workbook_with_http_info(self, input, **kwargs): # noqa: E501 + """Enable Shared Workbook (legacy) in Excel XLSX spreadsheet # noqa: E501 + + Enables the Shared Workbook (legacy) mode in an Excel XLSX 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_enable_shared_workbook_with_http_info(input, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param EnableSharedWorkbookRequest input: Document input request (required) + :return: EnableSharedWorkbookResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['input'] # 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_enable_shared_workbook" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'input' is set + if ('input' not in params or + params['input'] is None): + raise ValueError("Missing the required parameter `input` when calling `edit_document_xlsx_enable_shared_workbook`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'input' in params: + body_params = params['input'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', 'text/json', 'application/xml', 'text/xml']) # 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/configuration/enable-shared-workbook', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='EnableSharedWorkbookResponse', # 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 edit_document_xlsx_get_cell_by_identifier(self, input, **kwargs): # noqa: E501 """Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier # noqa: E501 diff --git a/cloudmersive_convert_api_client/api_client.py b/cloudmersive_convert_api_client/api_client.py index e17b9b0..4bf1add 100644 --- a/cloudmersive_convert_api_client/api_client.py +++ b/cloudmersive_convert_api_client/api_client.py @@ -74,7 +74,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/2.3.8/python' + self.user_agent = 'Swagger-Codegen/2.3.9/python' def __del__(self): if self._pool is not None: diff --git a/cloudmersive_convert_api_client/configuration.py b/cloudmersive_convert_api_client/configuration.py index b1106b7..2d52e3b 100644 --- a/cloudmersive_convert_api_client/configuration.py +++ b/cloudmersive_convert_api_client/configuration.py @@ -240,5 +240,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1\n"\ - "SDK Package Version: 2.3.8".\ + "SDK Package Version: 2.3.9".\ format(env=sys.platform, pyversion=sys.version) diff --git a/cloudmersive_convert_api_client/models/__init__.py b/cloudmersive_convert_api_client/models/__init__.py index 3cea2a4..0c69578 100644 --- a/cloudmersive_convert_api_client/models/__init__.py +++ b/cloudmersive_convert_api_client/models/__init__.py @@ -72,6 +72,8 @@ from cloudmersive_convert_api_client.models.docx_template_operation import DocxTemplateOperation from cloudmersive_convert_api_client.models.docx_text import DocxText from cloudmersive_convert_api_client.models.docx_top_level_comment import DocxTopLevelComment +from cloudmersive_convert_api_client.models.enable_shared_workbook_request import EnableSharedWorkbookRequest +from cloudmersive_convert_api_client.models.enable_shared_workbook_response import EnableSharedWorkbookResponse from cloudmersive_convert_api_client.models.exif_value import ExifValue from cloudmersive_convert_api_client.models.find_regex_match import FindRegexMatch from cloudmersive_convert_api_client.models.find_string_match import FindStringMatch diff --git a/cloudmersive_convert_api_client/models/enable_shared_workbook_request.py b/cloudmersive_convert_api_client/models/enable_shared_workbook_request.py new file mode 100644 index 0000000..f94fe2e --- /dev/null +++ b/cloudmersive_convert_api_client/models/enable_shared_workbook_request.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + convertapi + + Convert API lets you effortlessly convert file formats and types. # noqa: E501 + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class EnableSharedWorkbookRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'input_file_bytes': 'str', + 'input_file_url': 'str' + } + + attribute_map = { + 'input_file_bytes': 'InputFileBytes', + 'input_file_url': 'InputFileUrl' + } + + def __init__(self, input_file_bytes=None, input_file_url=None): # noqa: E501 + """EnableSharedWorkbookRequest - a model defined in Swagger""" # noqa: E501 + + self._input_file_bytes = None + self._input_file_url = None + self.discriminator = None + + if input_file_bytes is not None: + self.input_file_bytes = input_file_bytes + if input_file_url is not None: + self.input_file_url = input_file_url + + @property + def input_file_bytes(self): + """Gets the input_file_bytes of this EnableSharedWorkbookRequest. # noqa: E501 + + Optional: Bytes of the input file to operate on # noqa: E501 + + :return: The input_file_bytes of this EnableSharedWorkbookRequest. # noqa: E501 + :rtype: str + """ + return self._input_file_bytes + + @input_file_bytes.setter + def input_file_bytes(self, input_file_bytes): + """Sets the input_file_bytes of this EnableSharedWorkbookRequest. + + Optional: Bytes of the input file to operate on # noqa: E501 + + :param input_file_bytes: The input_file_bytes of this EnableSharedWorkbookRequest. # noqa: E501 + :type: str + """ + if input_file_bytes is not None and not re.search(r'^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$', input_file_bytes): # noqa: E501 + raise ValueError(r"Invalid value for `input_file_bytes`, must be a follow pattern or equal to `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`") # noqa: E501 + + self._input_file_bytes = input_file_bytes + + @property + def input_file_url(self): + """Gets the input_file_url of this EnableSharedWorkbookRequest. # noqa: E501 + + Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). # noqa: E501 + + :return: The input_file_url of this EnableSharedWorkbookRequest. # noqa: E501 + :rtype: str + """ + return self._input_file_url + + @input_file_url.setter + def input_file_url(self, input_file_url): + """Sets the input_file_url of this EnableSharedWorkbookRequest. + + Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). # noqa: E501 + + :param input_file_url: The input_file_url of this EnableSharedWorkbookRequest. # noqa: E501 + :type: str + """ + + self._input_file_url = input_file_url + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EnableSharedWorkbookRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EnableSharedWorkbookRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/cloudmersive_convert_api_client/models/enable_shared_workbook_response.py b/cloudmersive_convert_api_client/models/enable_shared_workbook_response.py new file mode 100644 index 0000000..626de18 --- /dev/null +++ b/cloudmersive_convert_api_client/models/enable_shared_workbook_response.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + convertapi + + Convert API lets you effortlessly convert file formats and types. # noqa: E501 + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +import pprint +import re # noqa: F401 + +import six + + +class EnableSharedWorkbookResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'successful': 'bool', + 'edited_document_url': 'str' + } + + attribute_map = { + 'successful': 'Successful', + 'edited_document_url': 'EditedDocumentURL' + } + + def __init__(self, successful=None, edited_document_url=None): # noqa: E501 + """EnableSharedWorkbookResponse - a model defined in Swagger""" # noqa: E501 + + self._successful = None + self._edited_document_url = None + self.discriminator = None + + if successful is not None: + self.successful = successful + if edited_document_url is not None: + self.edited_document_url = edited_document_url + + @property + def successful(self): + """Gets the successful of this EnableSharedWorkbookResponse. # noqa: E501 + + True if successful, false otherwise # noqa: E501 + + :return: The successful of this EnableSharedWorkbookResponse. # noqa: E501 + :rtype: bool + """ + return self._successful + + @successful.setter + def successful(self, successful): + """Sets the successful of this EnableSharedWorkbookResponse. + + True if successful, false otherwise # noqa: E501 + + :param successful: The successful of this EnableSharedWorkbookResponse. # noqa: E501 + :type: bool + """ + + self._successful = successful + + @property + def edited_document_url(self): + """Gets the edited_document_url of this EnableSharedWorkbookResponse. # noqa: E501 + + URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents. # noqa: E501 + + :return: The edited_document_url of this EnableSharedWorkbookResponse. # noqa: E501 + :rtype: str + """ + return self._edited_document_url + + @edited_document_url.setter + def edited_document_url(self, edited_document_url): + """Sets the edited_document_url of this EnableSharedWorkbookResponse. + + URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents. # noqa: E501 + + :param edited_document_url: The edited_document_url of this EnableSharedWorkbookResponse. # noqa: E501 + :type: str + """ + + self._edited_document_url = edited_document_url + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EnableSharedWorkbookResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EnableSharedWorkbookResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/docs/EditDocumentApi.md b/docs/EditDocumentApi.md index bbae9cc..7d4f059 100644 --- a/docs/EditDocumentApi.md +++ b/docs/EditDocumentApi.md @@ -40,6 +40,7 @@ Method | HTTP request | Description [**edit_document_xlsx_create_blank_spreadsheet**](EditDocumentApi.md#edit_document_xlsx_create_blank_spreadsheet) | **POST** /convert/edit/xlsx/create/blank | Create a blank Excel XLSX spreadsheet [**edit_document_xlsx_create_spreadsheet_from_data**](EditDocumentApi.md#edit_document_xlsx_create_spreadsheet_from_data) | **POST** /convert/edit/xlsx/create/from/data | Create a new Excel XLSX spreadsheet from column and row data [**edit_document_xlsx_delete_worksheet**](EditDocumentApi.md#edit_document_xlsx_delete_worksheet) | **POST** /convert/edit/xlsx/delete-worksheet | Delete, remove worksheet from an Excel XLSX spreadsheet document +[**edit_document_xlsx_enable_shared_workbook**](EditDocumentApi.md#edit_document_xlsx_enable_shared_workbook) | **POST** /convert/edit/xlsx/configuration/enable-shared-workbook | Enable Shared Workbook (legacy) in Excel XLSX spreadsheet [**edit_document_xlsx_get_cell_by_identifier**](EditDocumentApi.md#edit_document_xlsx_get_cell_by_identifier) | **POST** /convert/edit/xlsx/get-cell/by-identifier | Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier [**edit_document_xlsx_get_cell_by_index**](EditDocumentApi.md#edit_document_xlsx_get_cell_by_index) | **POST** /convert/edit/xlsx/get-cell/by-index | Get cell from an Excel XLSX spreadsheet, worksheet by index [**edit_document_xlsx_get_columns**](EditDocumentApi.md#edit_document_xlsx_get_columns) | **POST** /convert/edit/xlsx/get-columns | Get columns from a Excel XLSX spreadsheet, worksheet @@ -1996,6 +1997,60 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **edit_document_xlsx_enable_shared_workbook** +> EnableSharedWorkbookResponse edit_document_xlsx_enable_shared_workbook(input) + +Enable Shared Workbook (legacy) in Excel XLSX spreadsheet + +Enables the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet + +### Example +```python +from __future__ import print_function +import time +import cloudmersive_convert_api_client +from cloudmersive_convert_api_client.rest import ApiException +from pprint import pprint + +# Configure API key authorization: Apikey +configuration = cloudmersive_convert_api_client.Configuration() +configuration.api_key['Apikey'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Apikey'] = 'Bearer' + +# create an instance of the API class +api_instance = cloudmersive_convert_api_client.EditDocumentApi(cloudmersive_convert_api_client.ApiClient(configuration)) +input = cloudmersive_convert_api_client.EnableSharedWorkbookRequest() # EnableSharedWorkbookRequest | Document input request + +try: + # Enable Shared Workbook (legacy) in Excel XLSX spreadsheet + api_response = api_instance.edit_document_xlsx_enable_shared_workbook(input) + pprint(api_response) +except ApiException as e: + print("Exception when calling EditDocumentApi->edit_document_xlsx_enable_shared_workbook: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **input** | [**EnableSharedWorkbookRequest**](EnableSharedWorkbookRequest.md)| Document input request | + +### Return type + +[**EnableSharedWorkbookResponse**](EnableSharedWorkbookResponse.md) + +### Authorization + +[Apikey](../README.md#Apikey) + +### HTTP request headers + + - **Content-Type**: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded + - **Accept**: application/json, text/json, application/xml, text/xml + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **edit_document_xlsx_get_cell_by_identifier** > GetXlsxCellByIdentifierResponse edit_document_xlsx_get_cell_by_identifier(input) diff --git a/docs/EnableSharedWorkbookRequest.md b/docs/EnableSharedWorkbookRequest.md new file mode 100644 index 0000000..f537d3d --- /dev/null +++ b/docs/EnableSharedWorkbookRequest.md @@ -0,0 +1,11 @@ +# EnableSharedWorkbookRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**input_file_bytes** | **str** | Optional: Bytes of the input file to operate on | [optional] +**input_file_url** | **str** | Optional: URL of a file to operate on as input. This can be a public URL, or you can also use the begin-editing API to upload a document and pass in the secure URL result from that operation as the URL here (this URL is not public). | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EnableSharedWorkbookResponse.md b/docs/EnableSharedWorkbookResponse.md new file mode 100644 index 0000000..c842bf0 --- /dev/null +++ b/docs/EnableSharedWorkbookResponse.md @@ -0,0 +1,11 @@ +# EnableSharedWorkbookResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**successful** | **bool** | True if successful, false otherwise | [optional] +**edited_document_url** | **str** | URL to the edited XLSX file; file is stored in an in-memory cache and will be deleted. Call Finish-Editing to get the result document contents. | [optional] + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/packageconfig.json b/packageconfig.json index 686ea6f..8c10097 100644 --- a/packageconfig.json +++ b/packageconfig.json @@ -1,6 +1,6 @@ { "projectName" : "cloudmersive_convert_api_client", "packageName" : "cloudmersive_convert_api_client", - "packageVersion": "2.3.8", + "packageVersion": "2.3.9", "packageUrl": "https://www.cloudmersive.com/convert-api" } \ No newline at end of file diff --git a/setup.py b/setup.py index 90f312e..4f9192c 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "cloudmersive_convert_api_client" -VERSION = "2.3.8" +VERSION = "2.3.9" # To install the library, run the following # # python setup.py install diff --git a/test/test_enable_shared_workbook_request.py b/test/test_enable_shared_workbook_request.py new file mode 100644 index 0000000..81d2e41 --- /dev/null +++ b/test/test_enable_shared_workbook_request.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + convertapi + + Convert API lets you effortlessly convert file formats and types. # noqa: E501 + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import cloudmersive_convert_api_client +from cloudmersive_convert_api_client.models.enable_shared_workbook_request import EnableSharedWorkbookRequest # noqa: E501 +from cloudmersive_convert_api_client.rest import ApiException + + +class TestEnableSharedWorkbookRequest(unittest.TestCase): + """EnableSharedWorkbookRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEnableSharedWorkbookRequest(self): + """Test EnableSharedWorkbookRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = cloudmersive_convert_api_client.models.enable_shared_workbook_request.EnableSharedWorkbookRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_enable_shared_workbook_response.py b/test/test_enable_shared_workbook_response.py new file mode 100644 index 0000000..be6fabb --- /dev/null +++ b/test/test_enable_shared_workbook_response.py @@ -0,0 +1,40 @@ +# coding: utf-8 + +""" + convertapi + + Convert API lets you effortlessly convert file formats and types. # noqa: E501 + + OpenAPI spec version: v1 + + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + + +from __future__ import absolute_import + +import unittest + +import cloudmersive_convert_api_client +from cloudmersive_convert_api_client.models.enable_shared_workbook_response import EnableSharedWorkbookResponse # noqa: E501 +from cloudmersive_convert_api_client.rest import ApiException + + +class TestEnableSharedWorkbookResponse(unittest.TestCase): + """EnableSharedWorkbookResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEnableSharedWorkbookResponse(self): + """Test EnableSharedWorkbookResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = cloudmersive_convert_api_client.models.enable_shared_workbook_response.EnableSharedWorkbookResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main()