2020from regula .documentreader .webclient .gen .models import *
2121
2222
23- class RawImageResult (object ):
23+ class DocumentImageResult (object ):
2424 """NOTE: This class is auto generated by OpenAPI Generator.
2525 Ref: https://openapi-generator.tech
2626
@@ -53,7 +53,7 @@ class RawImageResult(object):
5353 }
5454
5555 def __init__ (self , buf_length = None , light = None , list_idx = None , page_idx = None , result_type = None , raw_image_container = None , local_vars_configuration = None ): # noqa: E501
56- """RawImageResult - a model defined in OpenAPI""" # noqa: E501
56+ """DocumentImageResult - a model defined in OpenAPI""" # noqa: E501
5757 if local_vars_configuration is None :
5858 local_vars_configuration = Configuration ()
5959 self .local_vars_configuration = local_vars_configuration
@@ -79,106 +79,106 @@ def __init__(self, buf_length=None, light=None, list_idx=None, page_idx=None, re
7979
8080 @property
8181 def buf_length (self ):
82- """Gets the buf_length of this RawImageResult . # noqa: E501
82+ """Gets the buf_length of this DocumentImageResult . # noqa: E501
8383
8484
85- :return: The buf_length of this RawImageResult . # noqa: E501
85+ :return: The buf_length of this DocumentImageResult . # noqa: E501
8686 :rtype: int
8787 """
8888 return self ._buf_length
8989
9090 @buf_length .setter
9191 def buf_length (self , buf_length ):
92- """Sets the buf_length of this RawImageResult .
92+ """Sets the buf_length of this DocumentImageResult .
9393
9494
95- :param buf_length: The buf_length of this RawImageResult . # noqa: E501
95+ :param buf_length: The buf_length of this DocumentImageResult . # noqa: E501
9696 :type buf_length: int
9797 """
9898
9999 self ._buf_length = buf_length
100100
101101 @property
102102 def light (self ):
103- """Gets the light of this RawImageResult . # noqa: E501
103+ """Gets the light of this DocumentImageResult . # noqa: E501
104104
105105
106- :return: The light of this RawImageResult . # noqa: E501
106+ :return: The light of this DocumentImageResult . # noqa: E501
107107 :rtype: int
108108 """
109109 return self ._light
110110
111111 @light .setter
112112 def light (self , light ):
113- """Sets the light of this RawImageResult .
113+ """Sets the light of this DocumentImageResult .
114114
115115
116- :param light: The light of this RawImageResult . # noqa: E501
116+ :param light: The light of this DocumentImageResult . # noqa: E501
117117 :type light: int
118118 """
119119
120120 self ._light = light
121121
122122 @property
123123 def list_idx (self ):
124- """Gets the list_idx of this RawImageResult . # noqa: E501
124+ """Gets the list_idx of this DocumentImageResult . # noqa: E501
125125
126126
127- :return: The list_idx of this RawImageResult . # noqa: E501
127+ :return: The list_idx of this DocumentImageResult . # noqa: E501
128128 :rtype: int
129129 """
130130 return self ._list_idx
131131
132132 @list_idx .setter
133133 def list_idx (self , list_idx ):
134- """Sets the list_idx of this RawImageResult .
134+ """Sets the list_idx of this DocumentImageResult .
135135
136136
137- :param list_idx: The list_idx of this RawImageResult . # noqa: E501
137+ :param list_idx: The list_idx of this DocumentImageResult . # noqa: E501
138138 :type list_idx: int
139139 """
140140
141141 self ._list_idx = list_idx
142142
143143 @property
144144 def page_idx (self ):
145- """Gets the page_idx of this RawImageResult . # noqa: E501
145+ """Gets the page_idx of this DocumentImageResult . # noqa: E501
146146
147147
148- :return: The page_idx of this RawImageResult . # noqa: E501
148+ :return: The page_idx of this DocumentImageResult . # noqa: E501
149149 :rtype: int
150150 """
151151 return self ._page_idx
152152
153153 @page_idx .setter
154154 def page_idx (self , page_idx ):
155- """Sets the page_idx of this RawImageResult .
155+ """Sets the page_idx of this DocumentImageResult .
156156
157157
158- :param page_idx: The page_idx of this RawImageResult . # noqa: E501
158+ :param page_idx: The page_idx of this DocumentImageResult . # noqa: E501
159159 :type page_idx: int
160160 """
161161
162162 self ._page_idx = page_idx
163163
164164 @property
165165 def result_type (self ):
166- """Gets the result_type of this RawImageResult . # noqa: E501
166+ """Gets the result_type of this DocumentImageResult . # noqa: E501
167167
168168 Same as Result type, but used for safe parsing of not-described values. See Result type. # noqa: E501
169169
170- :return: The result_type of this RawImageResult . # noqa: E501
170+ :return: The result_type of this DocumentImageResult . # noqa: E501
171171 :rtype: int
172172 """
173173 return self ._result_type
174174
175175 @result_type .setter
176176 def result_type (self , result_type ):
177- """Sets the result_type of this RawImageResult .
177+ """Sets the result_type of this DocumentImageResult .
178178
179179 Same as Result type, but used for safe parsing of not-described values. See Result type. # noqa: E501
180180
181- :param result_type: The result_type of this RawImageResult . # noqa: E501
181+ :param result_type: The result_type of this DocumentImageResult . # noqa: E501
182182 :type result_type: int
183183 """
184184 if self .local_vars_configuration .client_side_validation and result_type is None : # noqa: E501
@@ -188,20 +188,20 @@ def result_type(self, result_type):
188188
189189 @property
190190 def raw_image_container (self ):
191- """Gets the raw_image_container of this RawImageResult . # noqa: E501
191+ """Gets the raw_image_container of this DocumentImageResult . # noqa: E501
192192
193193
194- :return: The raw_image_container of this RawImageResult . # noqa: E501
194+ :return: The raw_image_container of this DocumentImageResult . # noqa: E501
195195 :rtype: ImageData
196196 """
197197 return self ._raw_image_container
198198
199199 @raw_image_container .setter
200200 def raw_image_container (self , raw_image_container ):
201- """Sets the raw_image_container of this RawImageResult .
201+ """Sets the raw_image_container of this DocumentImageResult .
202202
203203
204- :param raw_image_container: The raw_image_container of this RawImageResult . # noqa: E501
204+ :param raw_image_container: The raw_image_container of this DocumentImageResult . # noqa: E501
205205 :type raw_image_container: ImageData
206206 """
207207 if self .local_vars_configuration .client_side_validation and raw_image_container is None : # noqa: E501
@@ -243,14 +243,14 @@ def __repr__(self):
243243
244244 def __eq__ (self , other ):
245245 """Returns true if both objects are equal"""
246- if not isinstance (other , RawImageResult ):
246+ if not isinstance (other , DocumentImageResult ):
247247 return False
248248
249249 return self .to_dict () == other .to_dict ()
250250
251251 def __ne__ (self , other ):
252252 """Returns true if both objects are not equal"""
253- if not isinstance (other , RawImageResult ):
253+ if not isinstance (other , DocumentImageResult ):
254254 return True
255255
256256 return self .to_dict () != other .to_dict ()
0 commit comments