123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import json
- from alipay.aop.api.response.AlipayResponse import AlipayResponse
- class AlipayEcoMycarMaintainShopQueryResponse(AlipayResponse):
- def __init__(self):
- super(AlipayEcoMycarMaintainShopQueryResponse, self).__init__()
- self._address = None
- self._alipay_account = None
- self._brand_ids = None
- self._city_code = None
- self._close_time = None
- self._contact_email = None
- self._contact_mobile_phone = None
- self._contact_name = None
- self._district_code = None
- self._ext_param = None
- self._industry_app_category_id = None
- self._industry_category_id = None
- self._lat = None
- self._lon = None
- self._main_image = None
- self._merchant_branch_id = None
- self._open_time = None
- self._other_images = None
- self._out_shop_id = None
- self._province_code = None
- self._shop_branch_name = None
- self._shop_id = None
- self._shop_name = None
- self._shop_tel = None
- self._shop_type = None
- self._status = None
- @property
- def address(self):
- return self._address
- @address.setter
- def address(self, value):
- self._address = value
- @property
- def alipay_account(self):
- return self._alipay_account
- @alipay_account.setter
- def alipay_account(self, value):
- self._alipay_account = value
- @property
- def brand_ids(self):
- return self._brand_ids
- @brand_ids.setter
- def brand_ids(self, value):
- if isinstance(value, list):
- self._brand_ids = list()
- for i in value:
- self._brand_ids.append(i)
- @property
- def city_code(self):
- return self._city_code
- @city_code.setter
- def city_code(self, value):
- self._city_code = value
- @property
- def close_time(self):
- return self._close_time
- @close_time.setter
- def close_time(self, value):
- self._close_time = value
- @property
- def contact_email(self):
- return self._contact_email
- @contact_email.setter
- def contact_email(self, value):
- self._contact_email = value
- @property
- def contact_mobile_phone(self):
- return self._contact_mobile_phone
- @contact_mobile_phone.setter
- def contact_mobile_phone(self, value):
- self._contact_mobile_phone = value
- @property
- def contact_name(self):
- return self._contact_name
- @contact_name.setter
- def contact_name(self, value):
- self._contact_name = value
- @property
- def district_code(self):
- return self._district_code
- @district_code.setter
- def district_code(self, value):
- self._district_code = value
- @property
- def ext_param(self):
- return self._ext_param
- @ext_param.setter
- def ext_param(self, value):
- self._ext_param = value
- @property
- def industry_app_category_id(self):
- return self._industry_app_category_id
- @industry_app_category_id.setter
- def industry_app_category_id(self, value):
- if isinstance(value, list):
- self._industry_app_category_id = list()
- for i in value:
- self._industry_app_category_id.append(i)
- @property
- def industry_category_id(self):
- return self._industry_category_id
- @industry_category_id.setter
- def industry_category_id(self, value):
- if isinstance(value, list):
- self._industry_category_id = list()
- for i in value:
- self._industry_category_id.append(i)
- @property
- def lat(self):
- return self._lat
- @lat.setter
- def lat(self, value):
- self._lat = value
- @property
- def lon(self):
- return self._lon
- @lon.setter
- def lon(self, value):
- self._lon = value
- @property
- def main_image(self):
- return self._main_image
- @main_image.setter
- def main_image(self, value):
- self._main_image = value
- @property
- def merchant_branch_id(self):
- return self._merchant_branch_id
- @merchant_branch_id.setter
- def merchant_branch_id(self, value):
- self._merchant_branch_id = value
- @property
- def open_time(self):
- return self._open_time
- @open_time.setter
- def open_time(self, value):
- self._open_time = value
- @property
- def other_images(self):
- return self._other_images
- @other_images.setter
- def other_images(self, value):
- if isinstance(value, list):
- self._other_images = list()
- for i in value:
- self._other_images.append(i)
- @property
- def out_shop_id(self):
- return self._out_shop_id
- @out_shop_id.setter
- def out_shop_id(self, value):
- self._out_shop_id = value
- @property
- def province_code(self):
- return self._province_code
- @province_code.setter
- def province_code(self, value):
- self._province_code = value
- @property
- def shop_branch_name(self):
- return self._shop_branch_name
- @shop_branch_name.setter
- def shop_branch_name(self, value):
- self._shop_branch_name = value
- @property
- def shop_id(self):
- return self._shop_id
- @shop_id.setter
- def shop_id(self, value):
- self._shop_id = value
- @property
- def shop_name(self):
- return self._shop_name
- @shop_name.setter
- def shop_name(self, value):
- self._shop_name = value
- @property
- def shop_tel(self):
- return self._shop_tel
- @shop_tel.setter
- def shop_tel(self, value):
- self._shop_tel = value
- @property
- def shop_type(self):
- return self._shop_type
- @shop_type.setter
- def shop_type(self, value):
- self._shop_type = value
- @property
- def status(self):
- return self._status
- @status.setter
- def status(self, value):
- self._status = value
- def parse_response_content(self, response_content):
- response = super(AlipayEcoMycarMaintainShopQueryResponse, self).parse_response_content(response_content)
- if 'address' in response:
- self.address = response['address']
- if 'alipay_account' in response:
- self.alipay_account = response['alipay_account']
- if 'brand_ids' in response:
- self.brand_ids = response['brand_ids']
- if 'city_code' in response:
- self.city_code = response['city_code']
- if 'close_time' in response:
- self.close_time = response['close_time']
- if 'contact_email' in response:
- self.contact_email = response['contact_email']
- if 'contact_mobile_phone' in response:
- self.contact_mobile_phone = response['contact_mobile_phone']
- if 'contact_name' in response:
- self.contact_name = response['contact_name']
- if 'district_code' in response:
- self.district_code = response['district_code']
- if 'ext_param' in response:
- self.ext_param = response['ext_param']
- if 'industry_app_category_id' in response:
- self.industry_app_category_id = response['industry_app_category_id']
- if 'industry_category_id' in response:
- self.industry_category_id = response['industry_category_id']
- if 'lat' in response:
- self.lat = response['lat']
- if 'lon' in response:
- self.lon = response['lon']
- if 'main_image' in response:
- self.main_image = response['main_image']
- if 'merchant_branch_id' in response:
- self.merchant_branch_id = response['merchant_branch_id']
- if 'open_time' in response:
- self.open_time = response['open_time']
- if 'other_images' in response:
- self.other_images = response['other_images']
- if 'out_shop_id' in response:
- self.out_shop_id = response['out_shop_id']
- if 'province_code' in response:
- self.province_code = response['province_code']
- if 'shop_branch_name' in response:
- self.shop_branch_name = response['shop_branch_name']
- if 'shop_id' in response:
- self.shop_id = response['shop_id']
- if 'shop_name' in response:
- self.shop_name = response['shop_name']
- if 'shop_tel' in response:
- self.shop_tel = response['shop_tel']
- if 'shop_type' in response:
- self.shop_type = response['shop_type']
- if 'status' in response:
- self.status = response['status']
|