Repository URL to install this package:
|
Version:
3.3.202-c2ee258 ▾
|
alipay-sdk-python
/
alipay
/
aop
/
api
/
domain
/
ZolozIdentificationCustomerEnrollcertifyQueryModel.py
|
|---|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class ZolozIdentificationCustomerEnrollcertifyQueryModel(object):
def __init__(self):
self._biz_id = None
self._face_type = None
self._need_img = None
self._zim_id = None
@property
def biz_id(self):
return self._biz_id
@biz_id.setter
def biz_id(self, value):
self._biz_id = value
@property
def face_type(self):
return self._face_type
@face_type.setter
def face_type(self, value):
self._face_type = value
@property
def need_img(self):
return self._need_img
@need_img.setter
def need_img(self, value):
self._need_img = value
@property
def zim_id(self):
return self._zim_id
@zim_id.setter
def zim_id(self, value):
self._zim_id = value
def to_alipay_dict(self):
params = dict()
if self.biz_id:
if hasattr(self.biz_id, 'to_alipay_dict'):
params['biz_id'] = self.biz_id.to_alipay_dict()
else:
params['biz_id'] = self.biz_id
if self.face_type:
if hasattr(self.face_type, 'to_alipay_dict'):
params['face_type'] = self.face_type.to_alipay_dict()
else:
params['face_type'] = self.face_type
if self.need_img:
if hasattr(self.need_img, 'to_alipay_dict'):
params['need_img'] = self.need_img.to_alipay_dict()
else:
params['need_img'] = self.need_img
if self.zim_id:
if hasattr(self.zim_id, 'to_alipay_dict'):
params['zim_id'] = self.zim_id.to_alipay_dict()
else:
params['zim_id'] = self.zim_id
return params
@staticmethod
def from_alipay_dict(d):
if not d:
return None
o = ZolozIdentificationCustomerEnrollcertifyQueryModel()
if 'biz_id' in d:
o.biz_id = d['biz_id']
if 'face_type' in d:
o.face_type = d['face_type']
if 'need_img' in d:
o.need_img = d['need_img']
if 'zim_id' in d:
o.zim_id = d['zim_id']
return o