@@ -39,7 +39,9 @@ class FaceApi(object):
3939 'service_timeout' : 'int' ,
4040 'proxy' : 'str' ,
4141 'proxy_userpwd' : 'str' ,
42- 'proxy_type' : 'int'
42+ 'proxy_type' : 'int' ,
43+ 'child_age_threshold' : 'int' ,
44+ 'child_doc_validity_years' : 'int'
4345 }
4446
4547 attribute_map = {
@@ -50,10 +52,12 @@ class FaceApi(object):
5052 'service_timeout' : 'serviceTimeout' ,
5153 'proxy' : 'proxy' ,
5254 'proxy_userpwd' : 'proxy_userpwd' ,
53- 'proxy_type' : 'proxy_type'
55+ 'proxy_type' : 'proxy_type' ,
56+ 'child_age_threshold' : 'childAgeThreshold' ,
57+ 'child_doc_validity_years' : 'childDocValidityYears'
5458 }
5559
56- def __init__ (self , url = None , mode = None , search = None , threshold = None , service_timeout = None , proxy = None , proxy_userpwd = None , proxy_type = None , local_vars_configuration = None ): # noqa: E501
60+ def __init__ (self , url = None , mode = None , search = None , threshold = None , service_timeout = None , proxy = None , proxy_userpwd = None , proxy_type = None , child_age_threshold = None , child_doc_validity_years = None , local_vars_configuration = None ): # noqa: E501
5761 """FaceApi - a model defined in OpenAPI""" # noqa: E501
5862 if local_vars_configuration is None :
5963 local_vars_configuration = Configuration ()
@@ -67,6 +71,8 @@ def __init__(self, url=None, mode=None, search=None, threshold=None, service_tim
6771 self ._proxy = None
6872 self ._proxy_userpwd = None
6973 self ._proxy_type = None
74+ self ._child_age_threshold = None
75+ self ._child_doc_validity_years = None
7076 self .discriminator = None
7177
7278 if url is not None :
@@ -85,6 +91,10 @@ def __init__(self, url=None, mode=None, search=None, threshold=None, service_tim
8591 self .proxy_userpwd = proxy_userpwd
8692 if proxy_type is not None :
8793 self .proxy_type = proxy_type
94+ if child_age_threshold is not None :
95+ self .child_age_threshold = child_age_threshold
96+ if child_doc_validity_years is not None :
97+ self .child_doc_validity_years = child_doc_validity_years
8898
8999 @property
90100 def url (self ):
@@ -268,6 +278,52 @@ def proxy_type(self, proxy_type):
268278
269279 self ._proxy_type = proxy_type
270280
281+ @property
282+ def child_age_threshold (self ):
283+ """Gets the child_age_threshold of this FaceApi. # noqa: E501
284+
285+ Minimum age of a child, at which portrait comparison result will be effective. Default: 13. # noqa: E501
286+
287+ :return: The child_age_threshold of this FaceApi. # noqa: E501
288+ :rtype: int
289+ """
290+ return self ._child_age_threshold
291+
292+ @child_age_threshold .setter
293+ def child_age_threshold (self , child_age_threshold ):
294+ """Sets the child_age_threshold of this FaceApi.
295+
296+ Minimum age of a child, at which portrait comparison result will be effective. Default: 13. # noqa: E501
297+
298+ :param child_age_threshold: The child_age_threshold of this FaceApi. # noqa: E501
299+ :type child_age_threshold: int
300+ """
301+
302+ self ._child_age_threshold = child_age_threshold
303+
304+ @property
305+ def child_doc_validity_years (self ):
306+ """Gets the child_doc_validity_years of this FaceApi. # noqa: E501
307+
308+ Estimated duration of validity for a child's passport, years. Default: 5. # noqa: E501
309+
310+ :return: The child_doc_validity_years of this FaceApi. # noqa: E501
311+ :rtype: int
312+ """
313+ return self ._child_doc_validity_years
314+
315+ @child_doc_validity_years .setter
316+ def child_doc_validity_years (self , child_doc_validity_years ):
317+ """Sets the child_doc_validity_years of this FaceApi.
318+
319+ Estimated duration of validity for a child's passport, years. Default: 5. # noqa: E501
320+
321+ :param child_doc_validity_years: The child_doc_validity_years of this FaceApi. # noqa: E501
322+ :type child_doc_validity_years: int
323+ """
324+
325+ self ._child_doc_validity_years = child_doc_validity_years
326+
271327 def to_dict (self ):
272328 """Returns the model properties as a dict"""
273329 result = {}
0 commit comments