AlipayCommerceIotMdeviceprodWhitelistQueryResponse.py 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayCommerceIotMdeviceprodWhitelistQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayCommerceIotMdeviceprodWhitelistQueryResponse, self).__init__()
  8. self._app_project_id = None
  9. self._app_white_list_status = None
  10. self._effective_time = None
  11. self._expire_time = None
  12. self._ext_info = None
  13. self._gmt_create = None
  14. self._gmt_modified = None
  15. self._group_type = None
  16. self._group_value = None
  17. self._remark = None
  18. self._user_identify_type = None
  19. self._user_identify_value = None
  20. @property
  21. def app_project_id(self):
  22. return self._app_project_id
  23. @app_project_id.setter
  24. def app_project_id(self, value):
  25. self._app_project_id = value
  26. @property
  27. def app_white_list_status(self):
  28. return self._app_white_list_status
  29. @app_white_list_status.setter
  30. def app_white_list_status(self, value):
  31. self._app_white_list_status = value
  32. @property
  33. def effective_time(self):
  34. return self._effective_time
  35. @effective_time.setter
  36. def effective_time(self, value):
  37. self._effective_time = value
  38. @property
  39. def expire_time(self):
  40. return self._expire_time
  41. @expire_time.setter
  42. def expire_time(self, value):
  43. self._expire_time = value
  44. @property
  45. def ext_info(self):
  46. return self._ext_info
  47. @ext_info.setter
  48. def ext_info(self, value):
  49. self._ext_info = value
  50. @property
  51. def gmt_create(self):
  52. return self._gmt_create
  53. @gmt_create.setter
  54. def gmt_create(self, value):
  55. self._gmt_create = value
  56. @property
  57. def gmt_modified(self):
  58. return self._gmt_modified
  59. @gmt_modified.setter
  60. def gmt_modified(self, value):
  61. self._gmt_modified = value
  62. @property
  63. def group_type(self):
  64. return self._group_type
  65. @group_type.setter
  66. def group_type(self, value):
  67. self._group_type = value
  68. @property
  69. def group_value(self):
  70. return self._group_value
  71. @group_value.setter
  72. def group_value(self, value):
  73. self._group_value = value
  74. @property
  75. def remark(self):
  76. return self._remark
  77. @remark.setter
  78. def remark(self, value):
  79. self._remark = value
  80. @property
  81. def user_identify_type(self):
  82. return self._user_identify_type
  83. @user_identify_type.setter
  84. def user_identify_type(self, value):
  85. self._user_identify_type = value
  86. @property
  87. def user_identify_value(self):
  88. return self._user_identify_value
  89. @user_identify_value.setter
  90. def user_identify_value(self, value):
  91. self._user_identify_value = value
  92. def parse_response_content(self, response_content):
  93. response = super(AlipayCommerceIotMdeviceprodWhitelistQueryResponse, self).parse_response_content(response_content)
  94. if 'app_project_id' in response:
  95. self.app_project_id = response['app_project_id']
  96. if 'app_white_list_status' in response:
  97. self.app_white_list_status = response['app_white_list_status']
  98. if 'effective_time' in response:
  99. self.effective_time = response['effective_time']
  100. if 'expire_time' in response:
  101. self.expire_time = response['expire_time']
  102. if 'ext_info' in response:
  103. self.ext_info = response['ext_info']
  104. if 'gmt_create' in response:
  105. self.gmt_create = response['gmt_create']
  106. if 'gmt_modified' in response:
  107. self.gmt_modified = response['gmt_modified']
  108. if 'group_type' in response:
  109. self.group_type = response['group_type']
  110. if 'group_value' in response:
  111. self.group_value = response['group_value']
  112. if 'remark' in response:
  113. self.remark = response['remark']
  114. if 'user_identify_type' in response:
  115. self.user_identify_type = response['user_identify_type']
  116. if 'user_identify_value' in response:
  117. self.user_identify_value = response['user_identify_value']