Skip to content

Commit

Permalink
2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudmersive committed Dec 23, 2019
1 parent 119d512 commit 17b770f
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cloudmersive_ocr_api_client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cloudmersive_ocr_api_client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
34 changes: 31 additions & 3 deletions cloudmersive_ocr_api_client/models/form_field_definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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):
Expand Down Expand Up @@ -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 = {}
Expand Down
1 change: 1 addition & 0 deletions docs/FormFieldDefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion packageconfig.json
Original file line number Diff line number Diff line change
@@ -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"
}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 17b770f

Please sign in to comment.