ReportFpShotJobResultRequest.php 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?php
  2. namespace Mts\Request\V20140618;
  3. /**
  4. * Request of ReportFpShotJobResult
  5. *
  6. * @method string getResult()
  7. * @method string getJobId()
  8. * @method string getResourceOwnerId()
  9. * @method string getResourceOwnerAccount()
  10. * @method string getOwnerAccount()
  11. * @method string getDetails()
  12. * @method string getOwnerId()
  13. */
  14. class ReportFpShotJobResultRequest extends \RpcAcsRequest
  15. {
  16. /**
  17. * @var string
  18. */
  19. protected $method = 'POST';
  20. /**
  21. * Class constructor.
  22. */
  23. public function __construct()
  24. {
  25. parent::__construct(
  26. 'Mts',
  27. '2014-06-18',
  28. 'ReportFpShotJobResult',
  29. 'mts'
  30. );
  31. }
  32. /**
  33. * @param string $result
  34. *
  35. * @return $this
  36. */
  37. public function setResult($result)
  38. {
  39. $this->requestParameters['Result'] = $result;
  40. $this->queryParameters['Result'] = $result;
  41. return $this;
  42. }
  43. /**
  44. * @param string $jobId
  45. *
  46. * @return $this
  47. */
  48. public function setJobId($jobId)
  49. {
  50. $this->requestParameters['JobId'] = $jobId;
  51. $this->queryParameters['JobId'] = $jobId;
  52. return $this;
  53. }
  54. /**
  55. * @param string $resourceOwnerId
  56. *
  57. * @return $this
  58. */
  59. public function setResourceOwnerId($resourceOwnerId)
  60. {
  61. $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
  62. $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
  63. return $this;
  64. }
  65. /**
  66. * @param string $resourceOwnerAccount
  67. *
  68. * @return $this
  69. */
  70. public function setResourceOwnerAccount($resourceOwnerAccount)
  71. {
  72. $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  73. $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  74. return $this;
  75. }
  76. /**
  77. * @param string $ownerAccount
  78. *
  79. * @return $this
  80. */
  81. public function setOwnerAccount($ownerAccount)
  82. {
  83. $this->requestParameters['OwnerAccount'] = $ownerAccount;
  84. $this->queryParameters['OwnerAccount'] = $ownerAccount;
  85. return $this;
  86. }
  87. /**
  88. * @param string $details
  89. *
  90. * @return $this
  91. */
  92. public function setDetails($details)
  93. {
  94. $this->requestParameters['Details'] = $details;
  95. $this->queryParameters['Details'] = $details;
  96. return $this;
  97. }
  98. /**
  99. * @param string $ownerId
  100. *
  101. * @return $this
  102. */
  103. public function setOwnerId($ownerId)
  104. {
  105. $this->requestParameters['OwnerId'] = $ownerId;
  106. $this->queryParameters['OwnerId'] = $ownerId;
  107. return $this;
  108. }
  109. }