Repository URL to install this package:
|
Version:
3.3.202-c2ee258 ▾
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.constant.ParamConstants import *
class AlipayDataDataserviceBillDownloadurlQueryModel(object):
def __init__(self):
self._bill_date = None
self._bill_type = None
@property
def bill_date(self):
return self._bill_date
@bill_date.setter
def bill_date(self, value):
self._bill_date = value
@property
def bill_type(self):
return self._bill_type
@bill_type.setter
def bill_type(self, value):
self._bill_type = value
def to_alipay_dict(self):
params = dict()
if self.bill_date:
if hasattr(self.bill_date, 'to_alipay_dict'):
params['bill_date'] = self.bill_date.to_alipay_dict()
else:
params['bill_date'] = self.bill_date
if self.bill_type:
if hasattr(self.bill_type, 'to_alipay_dict'):
params['bill_type'] = self.bill_type.to_alipay_dict()
else:
params['bill_type'] = self.bill_type
return params
@staticmethod
def from_alipay_dict(d):
if not d:
return None
o = AlipayDataDataserviceBillDownloadurlQueryModel()
if 'bill_date' in d:
o.bill_date = d['bill_date']
if 'bill_type' in d:
o.bill_type = d['bill_type']
return o