123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.constant.ParamConstants import *
- class ZolozIdentificationCustomerBlacklistQueryModel(object):
- def __init__(self):
- self._apdid = None
- self._apdid_token = None
- self._biz_id = None
- self._cert_name = None
- self._cert_no = None
- self._cert_type = None
- self._umid = None
- @property
- def apdid(self):
- return self._apdid
- @apdid.setter
- def apdid(self, value):
- self._apdid = value
- @property
- def apdid_token(self):
- return self._apdid_token
- @apdid_token.setter
- def apdid_token(self, value):
- self._apdid_token = value
- @property
- def biz_id(self):
- return self._biz_id
- @biz_id.setter
- def biz_id(self, value):
- self._biz_id = value
- @property
- def cert_name(self):
- return self._cert_name
- @cert_name.setter
- def cert_name(self, value):
- self._cert_name = value
- @property
- def cert_no(self):
- return self._cert_no
- @cert_no.setter
- def cert_no(self, value):
- self._cert_no = value
- @property
- def cert_type(self):
- return self._cert_type
- @cert_type.setter
- def cert_type(self, value):
- self._cert_type = value
- @property
- def umid(self):
- return self._umid
- @umid.setter
- def umid(self, value):
- self._umid = value
- def to_alipay_dict(self):
- params = dict()
- if self.apdid:
- if hasattr(self.apdid, 'to_alipay_dict'):
- params['apdid'] = self.apdid.to_alipay_dict()
- else:
- params['apdid'] = self.apdid
- if self.apdid_token:
- if hasattr(self.apdid_token, 'to_alipay_dict'):
- params['apdid_token'] = self.apdid_token.to_alipay_dict()
- else:
- params['apdid_token'] = self.apdid_token
- 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.cert_name:
- if hasattr(self.cert_name, 'to_alipay_dict'):
- params['cert_name'] = self.cert_name.to_alipay_dict()
- else:
- params['cert_name'] = self.cert_name
- if self.cert_no:
- if hasattr(self.cert_no, 'to_alipay_dict'):
- params['cert_no'] = self.cert_no.to_alipay_dict()
- else:
- params['cert_no'] = self.cert_no
- if self.cert_type:
- if hasattr(self.cert_type, 'to_alipay_dict'):
- params['cert_type'] = self.cert_type.to_alipay_dict()
- else:
- params['cert_type'] = self.cert_type
- if self.umid:
- if hasattr(self.umid, 'to_alipay_dict'):
- params['umid'] = self.umid.to_alipay_dict()
- else:
- params['umid'] = self.umid
- return params
- @staticmethod
- def from_alipay_dict(d):
- if not d:
- return None
- o = ZolozIdentificationCustomerBlacklistQueryModel()
- if 'apdid' in d:
- o.apdid = d['apdid']
- if 'apdid_token' in d:
- o.apdid_token = d['apdid_token']
- if 'biz_id' in d:
- o.biz_id = d['biz_id']
- if 'cert_name' in d:
- o.cert_name = d['cert_name']
- if 'cert_no' in d:
- o.cert_no = d['cert_no']
- if 'cert_type' in d:
- o.cert_type = d['cert_type']
- if 'umid' in d:
- o.umid = d['umid']
- return o
|