AlipayOpenServicemarketCommodityQueryResponse.py 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayOpenServicemarketCommodityQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayOpenServicemarketCommodityQueryResponse, self).__init__()
  8. self._app_hot_logo = None
  9. self._audit_memo = None
  10. self._authorization_file = None
  11. self._biz_type_code = None
  12. self._category_code = None
  13. self._category_id = None
  14. self._commodity_affiliation = None
  15. self._commodity_id = None
  16. self._contactor = None
  17. self._create_date = None
  18. self._log_url = None
  19. self._mobile_visiturl = None
  20. self._name = None
  21. self._phone = None
  22. self._status = None
  23. self._sub_status = None
  24. self._subtitle = None
  25. self._test_detail = None
  26. self._test_report = None
  27. self._title = None
  28. self._user_guide = None
  29. self._user_id = None
  30. @property
  31. def app_hot_logo(self):
  32. return self._app_hot_logo
  33. @app_hot_logo.setter
  34. def app_hot_logo(self, value):
  35. self._app_hot_logo = value
  36. @property
  37. def audit_memo(self):
  38. return self._audit_memo
  39. @audit_memo.setter
  40. def audit_memo(self, value):
  41. self._audit_memo = value
  42. @property
  43. def authorization_file(self):
  44. return self._authorization_file
  45. @authorization_file.setter
  46. def authorization_file(self, value):
  47. self._authorization_file = value
  48. @property
  49. def biz_type_code(self):
  50. return self._biz_type_code
  51. @biz_type_code.setter
  52. def biz_type_code(self, value):
  53. self._biz_type_code = value
  54. @property
  55. def category_code(self):
  56. return self._category_code
  57. @category_code.setter
  58. def category_code(self, value):
  59. self._category_code = value
  60. @property
  61. def category_id(self):
  62. return self._category_id
  63. @category_id.setter
  64. def category_id(self, value):
  65. self._category_id = value
  66. @property
  67. def commodity_affiliation(self):
  68. return self._commodity_affiliation
  69. @commodity_affiliation.setter
  70. def commodity_affiliation(self, value):
  71. self._commodity_affiliation = value
  72. @property
  73. def commodity_id(self):
  74. return self._commodity_id
  75. @commodity_id.setter
  76. def commodity_id(self, value):
  77. self._commodity_id = value
  78. @property
  79. def contactor(self):
  80. return self._contactor
  81. @contactor.setter
  82. def contactor(self, value):
  83. self._contactor = value
  84. @property
  85. def create_date(self):
  86. return self._create_date
  87. @create_date.setter
  88. def create_date(self, value):
  89. self._create_date = value
  90. @property
  91. def log_url(self):
  92. return self._log_url
  93. @log_url.setter
  94. def log_url(self, value):
  95. self._log_url = value
  96. @property
  97. def mobile_visiturl(self):
  98. return self._mobile_visiturl
  99. @mobile_visiturl.setter
  100. def mobile_visiturl(self, value):
  101. self._mobile_visiturl = value
  102. @property
  103. def name(self):
  104. return self._name
  105. @name.setter
  106. def name(self, value):
  107. self._name = value
  108. @property
  109. def phone(self):
  110. return self._phone
  111. @phone.setter
  112. def phone(self, value):
  113. self._phone = value
  114. @property
  115. def status(self):
  116. return self._status
  117. @status.setter
  118. def status(self, value):
  119. self._status = value
  120. @property
  121. def sub_status(self):
  122. return self._sub_status
  123. @sub_status.setter
  124. def sub_status(self, value):
  125. self._sub_status = value
  126. @property
  127. def subtitle(self):
  128. return self._subtitle
  129. @subtitle.setter
  130. def subtitle(self, value):
  131. self._subtitle = value
  132. @property
  133. def test_detail(self):
  134. return self._test_detail
  135. @test_detail.setter
  136. def test_detail(self, value):
  137. self._test_detail = value
  138. @property
  139. def test_report(self):
  140. return self._test_report
  141. @test_report.setter
  142. def test_report(self, value):
  143. self._test_report = value
  144. @property
  145. def title(self):
  146. return self._title
  147. @title.setter
  148. def title(self, value):
  149. self._title = value
  150. @property
  151. def user_guide(self):
  152. return self._user_guide
  153. @user_guide.setter
  154. def user_guide(self, value):
  155. self._user_guide = value
  156. @property
  157. def user_id(self):
  158. return self._user_id
  159. @user_id.setter
  160. def user_id(self, value):
  161. self._user_id = value
  162. def parse_response_content(self, response_content):
  163. response = super(AlipayOpenServicemarketCommodityQueryResponse, self).parse_response_content(response_content)
  164. if 'app_hot_logo' in response:
  165. self.app_hot_logo = response['app_hot_logo']
  166. if 'audit_memo' in response:
  167. self.audit_memo = response['audit_memo']
  168. if 'authorization_file' in response:
  169. self.authorization_file = response['authorization_file']
  170. if 'biz_type_code' in response:
  171. self.biz_type_code = response['biz_type_code']
  172. if 'category_code' in response:
  173. self.category_code = response['category_code']
  174. if 'category_id' in response:
  175. self.category_id = response['category_id']
  176. if 'commodity_affiliation' in response:
  177. self.commodity_affiliation = response['commodity_affiliation']
  178. if 'commodity_id' in response:
  179. self.commodity_id = response['commodity_id']
  180. if 'contactor' in response:
  181. self.contactor = response['contactor']
  182. if 'create_date' in response:
  183. self.create_date = response['create_date']
  184. if 'log_url' in response:
  185. self.log_url = response['log_url']
  186. if 'mobile_visiturl' in response:
  187. self.mobile_visiturl = response['mobile_visiturl']
  188. if 'name' in response:
  189. self.name = response['name']
  190. if 'phone' in response:
  191. self.phone = response['phone']
  192. if 'status' in response:
  193. self.status = response['status']
  194. if 'sub_status' in response:
  195. self.sub_status = response['sub_status']
  196. if 'subtitle' in response:
  197. self.subtitle = response['subtitle']
  198. if 'test_detail' in response:
  199. self.test_detail = response['test_detail']
  200. if 'test_report' in response:
  201. self.test_report = response['test_report']
  202. if 'title' in response:
  203. self.title = response['title']
  204. if 'user_guide' in response:
  205. self.user_guide = response['user_guide']
  206. if 'user_id' in response:
  207. self.user_id = response['user_id']