Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-clients #142

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ regula/documentreader/webclient/gen/models/authenticity_result_all_of.py
regula/documentreader/webclient/gen/models/authenticity_result_type.py
regula/documentreader/webclient/gen/models/bc_pdf417_info.py
regula/documentreader/webclient/gen/models/bc_roidetect.py
regula/documentreader/webclient/gen/models/binary_data_result.py
regula/documentreader/webclient/gen/models/check_diagnose.py
regula/documentreader/webclient/gen/models/check_result.py
regula/documentreader/webclient/gen/models/chosen_document_type.py
Expand Down Expand Up @@ -98,6 +99,7 @@ regula/documentreader/webclient/gen/models/mrz_format.py
regula/documentreader/webclient/gen/models/ocr_security_text_result.py
regula/documentreader/webclient/gen/models/ocr_security_text_result_all_of.py
regula/documentreader/webclient/gen/models/one_candidate.py
regula/documentreader/webclient/gen/models/original_graphics_result.py
regula/documentreader/webclient/gen/models/original_symbol.py
regula/documentreader/webclient/gen/models/out_data.py
regula/documentreader/webclient/gen/models/out_data_transaction_images_field_value.py
Expand All @@ -116,6 +118,7 @@ regula/documentreader/webclient/gen/models/process_request_image.py
regula/documentreader/webclient/gen/models/process_response.py
regula/documentreader/webclient/gen/models/process_system_info.py
regula/documentreader/webclient/gen/models/processing_status.py
regula/documentreader/webclient/gen/models/raw_data_result.py
regula/documentreader/webclient/gen/models/raw_image_container_list.py
regula/documentreader/webclient/gen/models/rectangle_coordinates.py
regula/documentreader/webclient/gen/models/result.py
Expand All @@ -134,6 +137,8 @@ regula/documentreader/webclient/gen/models/status_result_all_of.py
regula/documentreader/webclient/gen/models/string_recognition_result.py
regula/documentreader/webclient/gen/models/symbol_candidate.py
regula/documentreader/webclient/gen/models/symbol_recognition_result.py
regula/documentreader/webclient/gen/models/t_binary_data.py
regula/documentreader/webclient/gen/models/t_original_rfid_graphics.py
regula/documentreader/webclient/gen/models/text.py
regula/documentreader/webclient/gen/models/text_available_source.py
regula/documentreader/webclient/gen/models/text_data_result.py
Expand Down
5 changes: 5 additions & 0 deletions regula/documentreader/webclient/gen/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
from regula.documentreader.webclient.gen.models.authenticity_result_type import AuthenticityResultType
from regula.documentreader.webclient.gen.models.bc_pdf417_info import BcPDF417INFO
from regula.documentreader.webclient.gen.models.bc_roidetect import BcROIDETECT
from regula.documentreader.webclient.gen.models.binary_data_result import BinaryDataResult
from regula.documentreader.webclient.gen.models.check_diagnose import CheckDiagnose
from regula.documentreader.webclient.gen.models.check_result import CheckResult
from regula.documentreader.webclient.gen.models.chosen_document_type import ChosenDocumentType
Expand Down Expand Up @@ -116,6 +117,7 @@
from regula.documentreader.webclient.gen.models.ocr_security_text_result import OCRSecurityTextResult
from regula.documentreader.webclient.gen.models.ocr_security_text_result_all_of import OCRSecurityTextResultAllOf
from regula.documentreader.webclient.gen.models.one_candidate import OneCandidate
from regula.documentreader.webclient.gen.models.original_graphics_result import OriginalGraphicsResult
from regula.documentreader.webclient.gen.models.original_symbol import OriginalSymbol
from regula.documentreader.webclient.gen.models.out_data import OutData
from regula.documentreader.webclient.gen.models.out_data_transaction_images_field_value import OutDataTransactionImagesFieldValue
Expand All @@ -134,6 +136,7 @@
from regula.documentreader.webclient.gen.models.process_response import ProcessResponse
from regula.documentreader.webclient.gen.models.process_system_info import ProcessSystemInfo
from regula.documentreader.webclient.gen.models.processing_status import ProcessingStatus
from regula.documentreader.webclient.gen.models.raw_data_result import RawDataResult
from regula.documentreader.webclient.gen.models.raw_image_container_list import RawImageContainerList
from regula.documentreader.webclient.gen.models.rectangle_coordinates import RectangleCoordinates
from regula.documentreader.webclient.gen.models.result import Result
Expand All @@ -152,6 +155,8 @@
from regula.documentreader.webclient.gen.models.string_recognition_result import StringRecognitionResult
from regula.documentreader.webclient.gen.models.symbol_candidate import SymbolCandidate
from regula.documentreader.webclient.gen.models.symbol_recognition_result import SymbolRecognitionResult
from regula.documentreader.webclient.gen.models.t_binary_data import TBinaryData
from regula.documentreader.webclient.gen.models.t_original_rfid_graphics import TOriginalRFIDGraphics
from regula.documentreader.webclient.gen.models.text import Text
from regula.documentreader.webclient.gen.models.text_available_source import TextAvailableSource
from regula.documentreader.webclient.gen.models.text_data_result import TextDataResult
Expand Down
5 changes: 5 additions & 0 deletions regula/documentreader/webclient/gen/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from regula.documentreader.webclient.gen.models.authenticity_result_type import AuthenticityResultType
from regula.documentreader.webclient.gen.models.bc_pdf417_info import BcPDF417INFO
from regula.documentreader.webclient.gen.models.bc_roidetect import BcROIDETECT
from regula.documentreader.webclient.gen.models.binary_data_result import BinaryDataResult
from regula.documentreader.webclient.gen.models.check_diagnose import CheckDiagnose
from regula.documentreader.webclient.gen.models.check_result import CheckResult
from regula.documentreader.webclient.gen.models.chosen_document_type import ChosenDocumentType
Expand Down Expand Up @@ -99,6 +100,7 @@
from regula.documentreader.webclient.gen.models.ocr_security_text_result import OCRSecurityTextResult
from regula.documentreader.webclient.gen.models.ocr_security_text_result_all_of import OCRSecurityTextResultAllOf
from regula.documentreader.webclient.gen.models.one_candidate import OneCandidate
from regula.documentreader.webclient.gen.models.original_graphics_result import OriginalGraphicsResult
from regula.documentreader.webclient.gen.models.original_symbol import OriginalSymbol
from regula.documentreader.webclient.gen.models.out_data import OutData
from regula.documentreader.webclient.gen.models.out_data_transaction_images_field_value import OutDataTransactionImagesFieldValue
Expand All @@ -117,6 +119,7 @@
from regula.documentreader.webclient.gen.models.process_response import ProcessResponse
from regula.documentreader.webclient.gen.models.process_system_info import ProcessSystemInfo
from regula.documentreader.webclient.gen.models.processing_status import ProcessingStatus
from regula.documentreader.webclient.gen.models.raw_data_result import RawDataResult
from regula.documentreader.webclient.gen.models.raw_image_container_list import RawImageContainerList
from regula.documentreader.webclient.gen.models.rectangle_coordinates import RectangleCoordinates
from regula.documentreader.webclient.gen.models.result import Result
Expand All @@ -135,6 +138,8 @@
from regula.documentreader.webclient.gen.models.string_recognition_result import StringRecognitionResult
from regula.documentreader.webclient.gen.models.symbol_candidate import SymbolCandidate
from regula.documentreader.webclient.gen.models.symbol_recognition_result import SymbolRecognitionResult
from regula.documentreader.webclient.gen.models.t_binary_data import TBinaryData
from regula.documentreader.webclient.gen.models.t_original_rfid_graphics import TOriginalRFIDGraphics
from regula.documentreader.webclient.gen.models.text import Text
from regula.documentreader.webclient.gen.models.text_available_source import TextAvailableSource
from regula.documentreader.webclient.gen.models.text_data_result import TextDataResult
Expand Down
147 changes: 147 additions & 0 deletions regula/documentreader/webclient/gen/models/binary_data_result.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,147 @@
# coding: utf-8

"""
Generated by: https://openapi-generator.tech
"""

import pprint
import re # noqa: F401

import six

from regula.documentreader.webclient.gen.configuration import Configuration
# this line was added to enable pycharm type hinting
from regula.documentreader.webclient.gen.models import *


"""

"""
class BinaryDataResult(object):
"""NOTE: This class is auto generated by OpenAPI Generator.
Ref: https://openapi-generator.tech

Do not edit the class manually.
"""

"""
Attributes:
openapi_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.
"""
openapi_types = {
'n_fields': 'int',
'p_array_fields': 'list[TBinaryData]'
}

attribute_map = {
'n_fields': 'nFields',
'p_array_fields': 'pArrayFields'
}

def __init__(self, n_fields=None, p_array_fields=None, local_vars_configuration=None): # noqa: E501
"""BinaryDataResult - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
self.local_vars_configuration = local_vars_configuration

self._n_fields = None
self._p_array_fields = None
self.discriminator = None

if n_fields is not None:
self.n_fields = n_fields
if p_array_fields is not None:
self.p_array_fields = p_array_fields

@property
def n_fields(self):
"""Gets the n_fields of this BinaryDataResult. # noqa: E501

Count of array fields # noqa: E501

:return: The n_fields of this BinaryDataResult. # noqa: E501
:rtype: int
"""
return self._n_fields

@n_fields.setter
def n_fields(self, n_fields):
"""Sets the n_fields of this BinaryDataResult.

Count of array fields # noqa: E501

:param n_fields: The n_fields of this BinaryDataResult. # noqa: E501
:type n_fields: int
"""

self._n_fields = n_fields

@property
def p_array_fields(self):
"""Gets the p_array_fields of this BinaryDataResult. # noqa: E501


:return: The p_array_fields of this BinaryDataResult. # noqa: E501
:rtype: list[TBinaryData]
"""
return self._p_array_fields

@p_array_fields.setter
def p_array_fields(self, p_array_fields):
"""Sets the p_array_fields of this BinaryDataResult.


:param p_array_fields: The p_array_fields of this BinaryDataResult. # noqa: E501
:type p_array_fields: list[TBinaryData]
"""

self._p_array_fields = p_array_fields

def to_dict(self):
"""Returns the model properties as a dict"""
result = {}

for attr, _ in six.iteritems(self.openapi_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

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, BinaryDataResult):
return False

return self.to_dict() == other.to_dict()

def __ne__(self, other):
"""Returns true if both objects are not equal"""
if not isinstance(other, BinaryDataResult):
return True

return self.to_dict() != other.to_dict()
2 changes: 0 additions & 2 deletions regula/documentreader/webclient/gen/models/ident_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def element_diagnose(self, element_diagnose):
def percent_value(self):
"""Gets the percent_value of this IdentResult. # noqa: E501

Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501

:return: The percent_value of this IdentResult. # noqa: E501
:rtype: int
Expand All @@ -177,7 +176,6 @@ def percent_value(self):
def percent_value(self, percent_value):
"""Sets the percent_value of this IdentResult.

Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501

:param percent_value: The percent_value of this IdentResult. # noqa: E501
:type percent_value: int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class IdentResultAllOf(object):
'area': 'RectangleCoordinates',
'image': 'ImageData',
'etalon_image': 'ImageData',
'percent_value': 'int',
'area_list': 'AreaContainer'
}

Expand All @@ -47,11 +46,10 @@ class IdentResultAllOf(object):
'area': 'Area',
'image': 'Image',
'etalon_image': 'EtalonImage',
'percent_value': 'PercentValue',
'area_list': 'AreaList'
}

def __init__(self, element_type=None, light_index=None, area=None, image=None, etalon_image=None, percent_value=None, area_list=None, local_vars_configuration=None): # noqa: E501
def __init__(self, element_type=None, light_index=None, area=None, image=None, etalon_image=None, area_list=None, local_vars_configuration=None): # noqa: E501
"""IdentResultAllOf - a model defined in OpenAPI""" # noqa: E501
if local_vars_configuration is None:
local_vars_configuration = Configuration()
Expand All @@ -62,7 +60,6 @@ def __init__(self, element_type=None, light_index=None, area=None, image=None, e
self._area = None
self._image = None
self._etalon_image = None
self._percent_value = None
self._area_list = None
self.discriminator = None

Expand All @@ -76,8 +73,6 @@ def __init__(self, element_type=None, light_index=None, area=None, image=None, e
self.image = image
if etalon_image is not None:
self.etalon_image = etalon_image
if percent_value is not None:
self.percent_value = percent_value
if area_list is not None:
self.area_list = area_list

Expand Down Expand Up @@ -186,29 +181,6 @@ def etalon_image(self, etalon_image):

self._etalon_image = etalon_image

@property
def percent_value(self):
"""Gets the percent_value of this IdentResultAllOf. # noqa: E501

Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501

:return: The percent_value of this IdentResultAllOf. # noqa: E501
:rtype: int
"""
return self._percent_value

@percent_value.setter
def percent_value(self, percent_value):
"""Sets the percent_value of this IdentResultAllOf.

Probability percent for IMAGE_PATTERN check or element's visibility for IR_VISIBILITY # noqa: E501

:param percent_value: The percent_value of this IdentResultAllOf. # noqa: E501
:type percent_value: int
"""

self._percent_value = percent_value

@property
def area_list(self):
"""Gets the area_list of this IdentResultAllOf. # noqa: E501
Expand Down
Loading
Loading