12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.constant.ParamConstants import *
- class KoubeiQualityTestShieldTestcaseQueryModel(object):
- def __init__(self):
- self._biz_id = None
- self._biz_type = None
- self._isv_name = None
- @property
- def biz_id(self):
- return self._biz_id
- @biz_id.setter
- def biz_id(self, value):
- self._biz_id = value
- @property
- def biz_type(self):
- return self._biz_type
- @biz_type.setter
- def biz_type(self, value):
- self._biz_type = value
- @property
- def isv_name(self):
- return self._isv_name
- @isv_name.setter
- def isv_name(self, value):
- self._isv_name = 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.biz_type:
- if hasattr(self.biz_type, 'to_alipay_dict'):
- params['biz_type'] = self.biz_type.to_alipay_dict()
- else:
- params['biz_type'] = self.biz_type
- if self.isv_name:
- if hasattr(self.isv_name, 'to_alipay_dict'):
- params['isv_name'] = self.isv_name.to_alipay_dict()
- else:
- params['isv_name'] = self.isv_name
- return params
- @staticmethod
- def from_alipay_dict(d):
- if not d:
- return None
- o = KoubeiQualityTestShieldTestcaseQueryModel()
- if 'biz_id' in d:
- o.biz_id = d['biz_id']
- if 'biz_type' in d:
- o.biz_type = d['biz_type']
- if 'isv_name' in d:
- o.isv_name = d['isv_name']
- return o
|