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 KoubeiMerchantDepartmentDetailQueryModel(object):
def __init__(self):
self._dept_id = None
@property
def dept_id(self):
return self._dept_id
@dept_id.setter
def dept_id(self, value):
self._dept_id = value
def to_alipay_dict(self):
params = dict()
if self.dept_id:
if hasattr(self.dept_id, 'to_alipay_dict'):
params['dept_id'] = self.dept_id.to_alipay_dict()
else:
params['dept_id'] = self.dept_id
return params
@staticmethod
def from_alipay_dict(d):
if not d:
return None
o = KoubeiMerchantDepartmentDetailQueryModel()
if 'dept_id' in d:
o.dept_id = d['dept_id']
return o