AlipayEcoMycarDialogonlineVehicleQueryResponse.py 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayEcoMycarDialogonlineVehicleQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoMycarDialogonlineVehicleQueryResponse, self).__init__()
  8. self._factory_date = None
  9. self._lib_id = None
  10. self._manufacturer = None
  11. self._resident_city = None
  12. self._vi_brand = None
  13. self._vi_cc = None
  14. self._vi_id = None
  15. self._vi_mileage = None
  16. self._vi_model = None
  17. self._vi_series = None
  18. self._vi_time = None
  19. @property
  20. def factory_date(self):
  21. return self._factory_date
  22. @factory_date.setter
  23. def factory_date(self, value):
  24. self._factory_date = value
  25. @property
  26. def lib_id(self):
  27. return self._lib_id
  28. @lib_id.setter
  29. def lib_id(self, value):
  30. self._lib_id = value
  31. @property
  32. def manufacturer(self):
  33. return self._manufacturer
  34. @manufacturer.setter
  35. def manufacturer(self, value):
  36. self._manufacturer = value
  37. @property
  38. def resident_city(self):
  39. return self._resident_city
  40. @resident_city.setter
  41. def resident_city(self, value):
  42. self._resident_city = value
  43. @property
  44. def vi_brand(self):
  45. return self._vi_brand
  46. @vi_brand.setter
  47. def vi_brand(self, value):
  48. self._vi_brand = value
  49. @property
  50. def vi_cc(self):
  51. return self._vi_cc
  52. @vi_cc.setter
  53. def vi_cc(self, value):
  54. self._vi_cc = value
  55. @property
  56. def vi_id(self):
  57. return self._vi_id
  58. @vi_id.setter
  59. def vi_id(self, value):
  60. self._vi_id = value
  61. @property
  62. def vi_mileage(self):
  63. return self._vi_mileage
  64. @vi_mileage.setter
  65. def vi_mileage(self, value):
  66. self._vi_mileage = value
  67. @property
  68. def vi_model(self):
  69. return self._vi_model
  70. @vi_model.setter
  71. def vi_model(self, value):
  72. self._vi_model = value
  73. @property
  74. def vi_series(self):
  75. return self._vi_series
  76. @vi_series.setter
  77. def vi_series(self, value):
  78. self._vi_series = value
  79. @property
  80. def vi_time(self):
  81. return self._vi_time
  82. @vi_time.setter
  83. def vi_time(self, value):
  84. self._vi_time = value
  85. def parse_response_content(self, response_content):
  86. response = super(AlipayEcoMycarDialogonlineVehicleQueryResponse, self).parse_response_content(response_content)
  87. if 'factory_date' in response:
  88. self.factory_date = response['factory_date']
  89. if 'lib_id' in response:
  90. self.lib_id = response['lib_id']
  91. if 'manufacturer' in response:
  92. self.manufacturer = response['manufacturer']
  93. if 'resident_city' in response:
  94. self.resident_city = response['resident_city']
  95. if 'vi_brand' in response:
  96. self.vi_brand = response['vi_brand']
  97. if 'vi_cc' in response:
  98. self.vi_cc = response['vi_cc']
  99. if 'vi_id' in response:
  100. self.vi_id = response['vi_id']
  101. if 'vi_mileage' in response:
  102. self.vi_mileage = response['vi_mileage']
  103. if 'vi_model' in response:
  104. self.vi_model = response['vi_model']
  105. if 'vi_series' in response:
  106. self.vi_series = response['vi_series']
  107. if 'vi_time' in response:
  108. self.vi_time = response['vi_time']