AlipayEcoMycarMaintainShopQueryResponse.py 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayEcoMycarMaintainShopQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoMycarMaintainShopQueryResponse, self).__init__()
  8. self._address = None
  9. self._alipay_account = None
  10. self._brand_ids = None
  11. self._city_code = None
  12. self._close_time = None
  13. self._contact_email = None
  14. self._contact_mobile_phone = None
  15. self._contact_name = None
  16. self._district_code = None
  17. self._ext_param = None
  18. self._industry_app_category_id = None
  19. self._industry_category_id = None
  20. self._lat = None
  21. self._lon = None
  22. self._main_image = None
  23. self._merchant_branch_id = None
  24. self._open_time = None
  25. self._other_images = None
  26. self._out_shop_id = None
  27. self._province_code = None
  28. self._shop_branch_name = None
  29. self._shop_id = None
  30. self._shop_name = None
  31. self._shop_tel = None
  32. self._shop_type = None
  33. self._status = None
  34. @property
  35. def address(self):
  36. return self._address
  37. @address.setter
  38. def address(self, value):
  39. self._address = value
  40. @property
  41. def alipay_account(self):
  42. return self._alipay_account
  43. @alipay_account.setter
  44. def alipay_account(self, value):
  45. self._alipay_account = value
  46. @property
  47. def brand_ids(self):
  48. return self._brand_ids
  49. @brand_ids.setter
  50. def brand_ids(self, value):
  51. if isinstance(value, list):
  52. self._brand_ids = list()
  53. for i in value:
  54. self._brand_ids.append(i)
  55. @property
  56. def city_code(self):
  57. return self._city_code
  58. @city_code.setter
  59. def city_code(self, value):
  60. self._city_code = value
  61. @property
  62. def close_time(self):
  63. return self._close_time
  64. @close_time.setter
  65. def close_time(self, value):
  66. self._close_time = value
  67. @property
  68. def contact_email(self):
  69. return self._contact_email
  70. @contact_email.setter
  71. def contact_email(self, value):
  72. self._contact_email = value
  73. @property
  74. def contact_mobile_phone(self):
  75. return self._contact_mobile_phone
  76. @contact_mobile_phone.setter
  77. def contact_mobile_phone(self, value):
  78. self._contact_mobile_phone = value
  79. @property
  80. def contact_name(self):
  81. return self._contact_name
  82. @contact_name.setter
  83. def contact_name(self, value):
  84. self._contact_name = value
  85. @property
  86. def district_code(self):
  87. return self._district_code
  88. @district_code.setter
  89. def district_code(self, value):
  90. self._district_code = value
  91. @property
  92. def ext_param(self):
  93. return self._ext_param
  94. @ext_param.setter
  95. def ext_param(self, value):
  96. self._ext_param = value
  97. @property
  98. def industry_app_category_id(self):
  99. return self._industry_app_category_id
  100. @industry_app_category_id.setter
  101. def industry_app_category_id(self, value):
  102. if isinstance(value, list):
  103. self._industry_app_category_id = list()
  104. for i in value:
  105. self._industry_app_category_id.append(i)
  106. @property
  107. def industry_category_id(self):
  108. return self._industry_category_id
  109. @industry_category_id.setter
  110. def industry_category_id(self, value):
  111. if isinstance(value, list):
  112. self._industry_category_id = list()
  113. for i in value:
  114. self._industry_category_id.append(i)
  115. @property
  116. def lat(self):
  117. return self._lat
  118. @lat.setter
  119. def lat(self, value):
  120. self._lat = value
  121. @property
  122. def lon(self):
  123. return self._lon
  124. @lon.setter
  125. def lon(self, value):
  126. self._lon = value
  127. @property
  128. def main_image(self):
  129. return self._main_image
  130. @main_image.setter
  131. def main_image(self, value):
  132. self._main_image = value
  133. @property
  134. def merchant_branch_id(self):
  135. return self._merchant_branch_id
  136. @merchant_branch_id.setter
  137. def merchant_branch_id(self, value):
  138. self._merchant_branch_id = value
  139. @property
  140. def open_time(self):
  141. return self._open_time
  142. @open_time.setter
  143. def open_time(self, value):
  144. self._open_time = value
  145. @property
  146. def other_images(self):
  147. return self._other_images
  148. @other_images.setter
  149. def other_images(self, value):
  150. if isinstance(value, list):
  151. self._other_images = list()
  152. for i in value:
  153. self._other_images.append(i)
  154. @property
  155. def out_shop_id(self):
  156. return self._out_shop_id
  157. @out_shop_id.setter
  158. def out_shop_id(self, value):
  159. self._out_shop_id = value
  160. @property
  161. def province_code(self):
  162. return self._province_code
  163. @province_code.setter
  164. def province_code(self, value):
  165. self._province_code = value
  166. @property
  167. def shop_branch_name(self):
  168. return self._shop_branch_name
  169. @shop_branch_name.setter
  170. def shop_branch_name(self, value):
  171. self._shop_branch_name = value
  172. @property
  173. def shop_id(self):
  174. return self._shop_id
  175. @shop_id.setter
  176. def shop_id(self, value):
  177. self._shop_id = value
  178. @property
  179. def shop_name(self):
  180. return self._shop_name
  181. @shop_name.setter
  182. def shop_name(self, value):
  183. self._shop_name = value
  184. @property
  185. def shop_tel(self):
  186. return self._shop_tel
  187. @shop_tel.setter
  188. def shop_tel(self, value):
  189. self._shop_tel = value
  190. @property
  191. def shop_type(self):
  192. return self._shop_type
  193. @shop_type.setter
  194. def shop_type(self, value):
  195. self._shop_type = value
  196. @property
  197. def status(self):
  198. return self._status
  199. @status.setter
  200. def status(self, value):
  201. self._status = value
  202. def parse_response_content(self, response_content):
  203. response = super(AlipayEcoMycarMaintainShopQueryResponse, self).parse_response_content(response_content)
  204. if 'address' in response:
  205. self.address = response['address']
  206. if 'alipay_account' in response:
  207. self.alipay_account = response['alipay_account']
  208. if 'brand_ids' in response:
  209. self.brand_ids = response['brand_ids']
  210. if 'city_code' in response:
  211. self.city_code = response['city_code']
  212. if 'close_time' in response:
  213. self.close_time = response['close_time']
  214. if 'contact_email' in response:
  215. self.contact_email = response['contact_email']
  216. if 'contact_mobile_phone' in response:
  217. self.contact_mobile_phone = response['contact_mobile_phone']
  218. if 'contact_name' in response:
  219. self.contact_name = response['contact_name']
  220. if 'district_code' in response:
  221. self.district_code = response['district_code']
  222. if 'ext_param' in response:
  223. self.ext_param = response['ext_param']
  224. if 'industry_app_category_id' in response:
  225. self.industry_app_category_id = response['industry_app_category_id']
  226. if 'industry_category_id' in response:
  227. self.industry_category_id = response['industry_category_id']
  228. if 'lat' in response:
  229. self.lat = response['lat']
  230. if 'lon' in response:
  231. self.lon = response['lon']
  232. if 'main_image' in response:
  233. self.main_image = response['main_image']
  234. if 'merchant_branch_id' in response:
  235. self.merchant_branch_id = response['merchant_branch_id']
  236. if 'open_time' in response:
  237. self.open_time = response['open_time']
  238. if 'other_images' in response:
  239. self.other_images = response['other_images']
  240. if 'out_shop_id' in response:
  241. self.out_shop_id = response['out_shop_id']
  242. if 'province_code' in response:
  243. self.province_code = response['province_code']
  244. if 'shop_branch_name' in response:
  245. self.shop_branch_name = response['shop_branch_name']
  246. if 'shop_id' in response:
  247. self.shop_id = response['shop_id']
  248. if 'shop_name' in response:
  249. self.shop_name = response['shop_name']
  250. if 'shop_tel' in response:
  251. self.shop_tel = response['shop_tel']
  252. if 'shop_type' in response:
  253. self.shop_type = response['shop_type']
  254. if 'status' in response:
  255. self.status = response['status']