AlipayCommerceIotMdeviceprodDeviceQueryResponse.py 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayCommerceIotMdeviceprodDeviceQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayCommerceIotMdeviceprodDeviceQueryResponse, self).__init__()
  8. self._bind_status = None
  9. self._biz_tid = None
  10. self._biz_type = None
  11. self._ext_info = None
  12. self._isv_pid = None
  13. self._item_id = None
  14. self._merchant_pid = None
  15. self._shop_id = None
  16. self._status = None
  17. self._supplier_sn = None
  18. @property
  19. def bind_status(self):
  20. return self._bind_status
  21. @bind_status.setter
  22. def bind_status(self, value):
  23. self._bind_status = value
  24. @property
  25. def biz_tid(self):
  26. return self._biz_tid
  27. @biz_tid.setter
  28. def biz_tid(self, value):
  29. self._biz_tid = value
  30. @property
  31. def biz_type(self):
  32. return self._biz_type
  33. @biz_type.setter
  34. def biz_type(self, value):
  35. self._biz_type = value
  36. @property
  37. def ext_info(self):
  38. return self._ext_info
  39. @ext_info.setter
  40. def ext_info(self, value):
  41. self._ext_info = value
  42. @property
  43. def isv_pid(self):
  44. return self._isv_pid
  45. @isv_pid.setter
  46. def isv_pid(self, value):
  47. self._isv_pid = value
  48. @property
  49. def item_id(self):
  50. return self._item_id
  51. @item_id.setter
  52. def item_id(self, value):
  53. self._item_id = value
  54. @property
  55. def merchant_pid(self):
  56. return self._merchant_pid
  57. @merchant_pid.setter
  58. def merchant_pid(self, value):
  59. self._merchant_pid = value
  60. @property
  61. def shop_id(self):
  62. return self._shop_id
  63. @shop_id.setter
  64. def shop_id(self, value):
  65. self._shop_id = value
  66. @property
  67. def status(self):
  68. return self._status
  69. @status.setter
  70. def status(self, value):
  71. self._status = value
  72. @property
  73. def supplier_sn(self):
  74. return self._supplier_sn
  75. @supplier_sn.setter
  76. def supplier_sn(self, value):
  77. self._supplier_sn = value
  78. def parse_response_content(self, response_content):
  79. response = super(AlipayCommerceIotMdeviceprodDeviceQueryResponse, self).parse_response_content(response_content)
  80. if 'bind_status' in response:
  81. self.bind_status = response['bind_status']
  82. if 'biz_tid' in response:
  83. self.biz_tid = response['biz_tid']
  84. if 'biz_type' in response:
  85. self.biz_type = response['biz_type']
  86. if 'ext_info' in response:
  87. self.ext_info = response['ext_info']
  88. if 'isv_pid' in response:
  89. self.isv_pid = response['isv_pid']
  90. if 'item_id' in response:
  91. self.item_id = response['item_id']
  92. if 'merchant_pid' in response:
  93. self.merchant_pid = response['merchant_pid']
  94. if 'shop_id' in response:
  95. self.shop_id = response['shop_id']
  96. if 'status' in response:
  97. self.status = response['status']
  98. if 'supplier_sn' in response:
  99. self.supplier_sn = response['supplier_sn']