AlipayFinanceFundSimilarquotationQueryResponse.py 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayFinanceFundSimilarquotationQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayFinanceFundSimilarquotationQueryResponse, self).__init__()
  8. self._last_half_year_count = None
  9. self._last_half_year_order = None
  10. self._last_half_year_similar = None
  11. self._last_month_count = None
  12. self._last_month_order = None
  13. self._last_month_similar = None
  14. self._last_quarter_count = None
  15. self._last_quarter_order = None
  16. self._last_quarter_similar = None
  17. self._last_year_count = None
  18. self._last_year_order = None
  19. self._last_year_similar = None
  20. self._report_date = None
  21. self._yield_three_year_count = None
  22. self._yield_three_year_order = None
  23. self._yield_three_year_similar = None
  24. @property
  25. def last_half_year_count(self):
  26. return self._last_half_year_count
  27. @last_half_year_count.setter
  28. def last_half_year_count(self, value):
  29. self._last_half_year_count = value
  30. @property
  31. def last_half_year_order(self):
  32. return self._last_half_year_order
  33. @last_half_year_order.setter
  34. def last_half_year_order(self, value):
  35. self._last_half_year_order = value
  36. @property
  37. def last_half_year_similar(self):
  38. return self._last_half_year_similar
  39. @last_half_year_similar.setter
  40. def last_half_year_similar(self, value):
  41. self._last_half_year_similar = value
  42. @property
  43. def last_month_count(self):
  44. return self._last_month_count
  45. @last_month_count.setter
  46. def last_month_count(self, value):
  47. self._last_month_count = value
  48. @property
  49. def last_month_order(self):
  50. return self._last_month_order
  51. @last_month_order.setter
  52. def last_month_order(self, value):
  53. self._last_month_order = value
  54. @property
  55. def last_month_similar(self):
  56. return self._last_month_similar
  57. @last_month_similar.setter
  58. def last_month_similar(self, value):
  59. self._last_month_similar = value
  60. @property
  61. def last_quarter_count(self):
  62. return self._last_quarter_count
  63. @last_quarter_count.setter
  64. def last_quarter_count(self, value):
  65. self._last_quarter_count = value
  66. @property
  67. def last_quarter_order(self):
  68. return self._last_quarter_order
  69. @last_quarter_order.setter
  70. def last_quarter_order(self, value):
  71. self._last_quarter_order = value
  72. @property
  73. def last_quarter_similar(self):
  74. return self._last_quarter_similar
  75. @last_quarter_similar.setter
  76. def last_quarter_similar(self, value):
  77. self._last_quarter_similar = value
  78. @property
  79. def last_year_count(self):
  80. return self._last_year_count
  81. @last_year_count.setter
  82. def last_year_count(self, value):
  83. self._last_year_count = value
  84. @property
  85. def last_year_order(self):
  86. return self._last_year_order
  87. @last_year_order.setter
  88. def last_year_order(self, value):
  89. self._last_year_order = value
  90. @property
  91. def last_year_similar(self):
  92. return self._last_year_similar
  93. @last_year_similar.setter
  94. def last_year_similar(self, value):
  95. self._last_year_similar = value
  96. @property
  97. def report_date(self):
  98. return self._report_date
  99. @report_date.setter
  100. def report_date(self, value):
  101. self._report_date = value
  102. @property
  103. def yield_three_year_count(self):
  104. return self._yield_three_year_count
  105. @yield_three_year_count.setter
  106. def yield_three_year_count(self, value):
  107. self._yield_three_year_count = value
  108. @property
  109. def yield_three_year_order(self):
  110. return self._yield_three_year_order
  111. @yield_three_year_order.setter
  112. def yield_three_year_order(self, value):
  113. self._yield_three_year_order = value
  114. @property
  115. def yield_three_year_similar(self):
  116. return self._yield_three_year_similar
  117. @yield_three_year_similar.setter
  118. def yield_three_year_similar(self, value):
  119. self._yield_three_year_similar = value
  120. def parse_response_content(self, response_content):
  121. response = super(AlipayFinanceFundSimilarquotationQueryResponse, self).parse_response_content(response_content)
  122. if 'last_half_year_count' in response:
  123. self.last_half_year_count = response['last_half_year_count']
  124. if 'last_half_year_order' in response:
  125. self.last_half_year_order = response['last_half_year_order']
  126. if 'last_half_year_similar' in response:
  127. self.last_half_year_similar = response['last_half_year_similar']
  128. if 'last_month_count' in response:
  129. self.last_month_count = response['last_month_count']
  130. if 'last_month_order' in response:
  131. self.last_month_order = response['last_month_order']
  132. if 'last_month_similar' in response:
  133. self.last_month_similar = response['last_month_similar']
  134. if 'last_quarter_count' in response:
  135. self.last_quarter_count = response['last_quarter_count']
  136. if 'last_quarter_order' in response:
  137. self.last_quarter_order = response['last_quarter_order']
  138. if 'last_quarter_similar' in response:
  139. self.last_quarter_similar = response['last_quarter_similar']
  140. if 'last_year_count' in response:
  141. self.last_year_count = response['last_year_count']
  142. if 'last_year_order' in response:
  143. self.last_year_order = response['last_year_order']
  144. if 'last_year_similar' in response:
  145. self.last_year_similar = response['last_year_similar']
  146. if 'report_date' in response:
  147. self.report_date = response['report_date']
  148. if 'yield_three_year_count' in response:
  149. self.yield_three_year_count = response['yield_three_year_count']
  150. if 'yield_three_year_order' in response:
  151. self.yield_three_year_order = response['yield_three_year_order']
  152. if 'yield_three_year_similar' in response:
  153. self.yield_three_year_similar = response['yield_three_year_similar']