AlipayEcoMycarDataserviceViolationinfoShareResponse.py 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayEcoMycarDataserviceViolationinfoShareResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayEcoMycarDataserviceViolationinfoShareResponse, self).__init__()
  8. self._body_num = None
  9. self._engine_num = None
  10. self._vehicle_id = None
  11. self._vi_number = None
  12. @property
  13. def body_num(self):
  14. return self._body_num
  15. @body_num.setter
  16. def body_num(self, value):
  17. self._body_num = value
  18. @property
  19. def engine_num(self):
  20. return self._engine_num
  21. @engine_num.setter
  22. def engine_num(self, value):
  23. self._engine_num = value
  24. @property
  25. def vehicle_id(self):
  26. return self._vehicle_id
  27. @vehicle_id.setter
  28. def vehicle_id(self, value):
  29. self._vehicle_id = value
  30. @property
  31. def vi_number(self):
  32. return self._vi_number
  33. @vi_number.setter
  34. def vi_number(self, value):
  35. self._vi_number = value
  36. def parse_response_content(self, response_content):
  37. response = super(AlipayEcoMycarDataserviceViolationinfoShareResponse, self).parse_response_content(response_content)
  38. if 'body_num' in response:
  39. self.body_num = response['body_num']
  40. if 'engine_num' in response:
  41. self.engine_num = response['engine_num']
  42. if 'vehicle_id' in response:
  43. self.vehicle_id = response['vehicle_id']
  44. if 'vi_number' in response:
  45. self.vi_number = response['vi_number']