AlipayIserviceMindvJobQueryResponse.py 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import json
  4. from alipay.aop.api.response.AlipayResponse import AlipayResponse
  5. class AlipayIserviceMindvJobQueryResponse(AlipayResponse):
  6. def __init__(self):
  7. super(AlipayIserviceMindvJobQueryResponse, self).__init__()
  8. self._gmt_create = None
  9. self._id = None
  10. self._job_domain = None
  11. self._name = None
  12. self._status = None
  13. self._submit_complete_count = None
  14. self._total_submit_count = None
  15. @property
  16. def gmt_create(self):
  17. return self._gmt_create
  18. @gmt_create.setter
  19. def gmt_create(self, value):
  20. self._gmt_create = value
  21. @property
  22. def id(self):
  23. return self._id
  24. @id.setter
  25. def id(self, value):
  26. self._id = value
  27. @property
  28. def job_domain(self):
  29. return self._job_domain
  30. @job_domain.setter
  31. def job_domain(self, value):
  32. self._job_domain = value
  33. @property
  34. def name(self):
  35. return self._name
  36. @name.setter
  37. def name(self, value):
  38. self._name = value
  39. @property
  40. def status(self):
  41. return self._status
  42. @status.setter
  43. def status(self, value):
  44. self._status = value
  45. @property
  46. def submit_complete_count(self):
  47. return self._submit_complete_count
  48. @submit_complete_count.setter
  49. def submit_complete_count(self, value):
  50. self._submit_complete_count = value
  51. @property
  52. def total_submit_count(self):
  53. return self._total_submit_count
  54. @total_submit_count.setter
  55. def total_submit_count(self, value):
  56. self._total_submit_count = value
  57. def parse_response_content(self, response_content):
  58. response = super(AlipayIserviceMindvJobQueryResponse, self).parse_response_content(response_content)
  59. if 'gmt_create' in response:
  60. self.gmt_create = response['gmt_create']
  61. if 'id' in response:
  62. self.id = response['id']
  63. if 'job_domain' in response:
  64. self.job_domain = response['job_domain']
  65. if 'name' in response:
  66. self.name = response['name']
  67. if 'status' in response:
  68. self.status = response['status']
  69. if 'submit_complete_count' in response:
  70. self.submit_complete_count = response['submit_complete_count']
  71. if 'total_submit_count' in response:
  72. self.total_submit_count = response['total_submit_count']