diff --git a/README.md b/README.md index 5d89520..986d7f2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ The powerful Optical Character Recognition (OCR) APIs let you convert scanned im This Python package provides a native API client for [Cloudmersive OCR](https://www.cloudmersive.com/ocr-api) - API version: v1 -- Package version: 2.1.7 +- Package version: 2.1.8 - Build package: io.swagger.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/cloudmersive_ocr_api_client/api_client.py b/cloudmersive_ocr_api_client/api_client.py index fdc5041..92b516b 100644 --- a/cloudmersive_ocr_api_client/api_client.py +++ b/cloudmersive_ocr_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.1.7/python' + self.user_agent = 'Swagger-Codegen/2.1.8/python' def __del__(self): if self._pool is not None: diff --git a/cloudmersive_ocr_api_client/configuration.py b/cloudmersive_ocr_api_client/configuration.py index c5eb325..8916018 100644 --- a/cloudmersive_ocr_api_client/configuration.py +++ b/cloudmersive_ocr_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.1.7".\ + "SDK Package Version: 2.1.8".\ format(env=sys.platform, pyversion=sys.version) diff --git a/cloudmersive_ocr_api_client/models/form_field_definition.py b/cloudmersive_ocr_api_client/models/form_field_definition.py index 6a5d964..1646d3c 100644 --- a/cloudmersive_ocr_api_client/models/form_field_definition.py +++ b/cloudmersive_ocr_api_client/models/form_field_definition.py @@ -46,7 +46,8 @@ class FormFieldDefinition(object): 'target_field_height_relative': 'float', 'target_field_horizontal_adjustment': 'float', 'target_field_vertical_adjustment': 'float', - 'ignore': 'list[str]' + 'ignore': 'list[str]', + 'options': 'str' } attribute_map = { @@ -65,10 +66,11 @@ class FormFieldDefinition(object): 'target_field_height_relative': 'TargetFieldHeight_Relative', 'target_field_horizontal_adjustment': 'TargetFieldHorizontalAdjustment', 'target_field_vertical_adjustment': 'TargetFieldVerticalAdjustment', - 'ignore': 'Ignore' + 'ignore': 'Ignore', + 'options': 'Options' } - def __init__(self, field_id=None, left_anchor=None, top_anchor=None, bottom_anchor=None, anchor_mode=None, data_type=None, target_digit_count=None, minimum_character_count=None, allow_numeric_digits=None, vertical_alignment_type=None, horizontal_alignment_type=None, target_field_width_relative=None, target_field_height_relative=None, target_field_horizontal_adjustment=None, target_field_vertical_adjustment=None, ignore=None): # noqa: E501 + def __init__(self, field_id=None, left_anchor=None, top_anchor=None, bottom_anchor=None, anchor_mode=None, data_type=None, target_digit_count=None, minimum_character_count=None, allow_numeric_digits=None, vertical_alignment_type=None, horizontal_alignment_type=None, target_field_width_relative=None, target_field_height_relative=None, target_field_horizontal_adjustment=None, target_field_vertical_adjustment=None, ignore=None, options=None): # noqa: E501 """FormFieldDefinition - a model defined in Swagger""" # noqa: E501 self._field_id = None @@ -87,6 +89,7 @@ def __init__(self, field_id=None, left_anchor=None, top_anchor=None, bottom_anch self._target_field_horizontal_adjustment = None self._target_field_vertical_adjustment = None self._ignore = None + self._options = None self.discriminator = None if field_id is not None: @@ -121,6 +124,8 @@ def __init__(self, field_id=None, left_anchor=None, top_anchor=None, bottom_anch self.target_field_vertical_adjustment = target_field_vertical_adjustment if ignore is not None: self.ignore = ignore + if options is not None: + self.options = options @property def field_id(self): @@ -490,6 +495,29 @@ def ignore(self, ignore): self._ignore = ignore + @property + def options(self): + """Gets the options of this FormFieldDefinition. # noqa: E501 + + Optional - additional options that can be set for this field definition, separated by commas. Possible values are AllowMultiMatch (allow the same anchor to be matched to multiple fields) # noqa: E501 + + :return: The options of this FormFieldDefinition. # noqa: E501 + :rtype: str + """ + return self._options + + @options.setter + def options(self, options): + """Sets the options of this FormFieldDefinition. + + Optional - additional options that can be set for this field definition, separated by commas. Possible values are AllowMultiMatch (allow the same anchor to be matched to multiple fields) # noqa: E501 + + :param options: The options of this FormFieldDefinition. # noqa: E501 + :type: str + """ + + self._options = options + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/docs/FormFieldDefinition.md b/docs/FormFieldDefinition.md index 69f529c..bb2f35d 100644 --- a/docs/FormFieldDefinition.md +++ b/docs/FormFieldDefinition.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **target_field_horizontal_adjustment** | **float** | Optional - horizontal adjestment in relative width of the field | [optional] **target_field_vertical_adjustment** | **float** | Optional - vertical adjestment in relative height of the field | [optional] **ignore** | **list[str]** | Optional - Ignore any result items that contain a partial or complete match with these text strings | [optional] +**options** | **str** | Optional - additional options that can be set for this field definition, separated by commas. Possible values are AllowMultiMatch (allow the same anchor to be matched to multiple fields) | [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 fe6aa0b..dd171c2 100644 --- a/packageconfig.json +++ b/packageconfig.json @@ -1,6 +1,6 @@ { "projectName" : "cloudmersive_ocr_api_client", "packageName" : "cloudmersive_ocr_api_client", - "packageVersion": "2.1.7", + "packageVersion": "2.1.8", "packageUrl": "https://www.cloudmersive.com/ocr-api" } \ No newline at end of file diff --git a/setup.py b/setup.py index 9a3c8ed..41bdb6f 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "cloudmersive_ocr_api_client" -VERSION = "2.1.7" +VERSION = "2.1.8" # To install the library, run the following # # python setup.py install