Repository URL to install this package:
|
Version:
3.3.202-c2ee258 ▾
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
from alipay.aop.api.response.AlipayResponse import AlipayResponse
from alipay.aop.api.domain.OfflineInviteNewerDetailInfo import OfflineInviteNewerDetailInfo
class AlipayUserInviteOfflinedetailQueryResponse(AlipayResponse):
def __init__(self):
super(AlipayUserInviteOfflinedetailQueryResponse, self).__init__()
self._offline_detail_info_list = None
self._total_count = None
self._total_page = None
@property
def offline_detail_info_list(self):
return self._offline_detail_info_list
@offline_detail_info_list.setter
def offline_detail_info_list(self, value):
if isinstance(value, list):
self._offline_detail_info_list = list()
for i in value:
if isinstance(i, OfflineInviteNewerDetailInfo):
self._offline_detail_info_list.append(i)
else:
self._offline_detail_info_list.append(OfflineInviteNewerDetailInfo.from_alipay_dict(i))
@property
def total_count(self):
return self._total_count
@total_count.setter
def total_count(self, value):
self._total_count = value
@property
def total_page(self):
return self._total_page
@total_page.setter
def total_page(self, value):
self._total_page = value
def parse_response_content(self, response_content):
response = super(AlipayUserInviteOfflinedetailQueryResponse, self).parse_response_content(response_content)
if 'offline_detail_info_list' in response:
self.offline_detail_info_list = response['offline_detail_info_list']
if 'total_count' in response:
self.total_count = response['total_count']
if 'total_page' in response:
self.total_page = response['total_page']