SubmitFpShotJobRequest.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?php
  2. namespace Mts\Request\V20140618;
  3. /**
  4. * Request of SubmitFpShotJob
  5. *
  6. * @method string getInput()
  7. * @method string getUserData()
  8. * @method string getResourceOwnerId()
  9. * @method string getFpShotConfig()
  10. * @method string getResourceOwnerAccount()
  11. * @method string getOwnerAccount()
  12. * @method string getOwnerId()
  13. * @method string getPipelineId()
  14. */
  15. class SubmitFpShotJobRequest extends \RpcAcsRequest
  16. {
  17. /**
  18. * @var string
  19. */
  20. protected $method = 'POST';
  21. /**
  22. * Class constructor.
  23. */
  24. public function __construct()
  25. {
  26. parent::__construct(
  27. 'Mts',
  28. '2014-06-18',
  29. 'SubmitFpShotJob',
  30. 'mts'
  31. );
  32. }
  33. /**
  34. * @param string $input
  35. *
  36. * @return $this
  37. */
  38. public function setInput($input)
  39. {
  40. $this->requestParameters['Input'] = $input;
  41. $this->queryParameters['Input'] = $input;
  42. return $this;
  43. }
  44. /**
  45. * @param string $userData
  46. *
  47. * @return $this
  48. */
  49. public function setUserData($userData)
  50. {
  51. $this->requestParameters['UserData'] = $userData;
  52. $this->queryParameters['UserData'] = $userData;
  53. return $this;
  54. }
  55. /**
  56. * @param string $resourceOwnerId
  57. *
  58. * @return $this
  59. */
  60. public function setResourceOwnerId($resourceOwnerId)
  61. {
  62. $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
  63. $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
  64. return $this;
  65. }
  66. /**
  67. * @param string $fpShotConfig
  68. *
  69. * @return $this
  70. */
  71. public function setFpShotConfig($fpShotConfig)
  72. {
  73. $this->requestParameters['FpShotConfig'] = $fpShotConfig;
  74. $this->queryParameters['FpShotConfig'] = $fpShotConfig;
  75. return $this;
  76. }
  77. /**
  78. * @param string $resourceOwnerAccount
  79. *
  80. * @return $this
  81. */
  82. public function setResourceOwnerAccount($resourceOwnerAccount)
  83. {
  84. $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  85. $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  86. return $this;
  87. }
  88. /**
  89. * @param string $ownerAccount
  90. *
  91. * @return $this
  92. */
  93. public function setOwnerAccount($ownerAccount)
  94. {
  95. $this->requestParameters['OwnerAccount'] = $ownerAccount;
  96. $this->queryParameters['OwnerAccount'] = $ownerAccount;
  97. return $this;
  98. }
  99. /**
  100. * @param string $ownerId
  101. *
  102. * @return $this
  103. */
  104. public function setOwnerId($ownerId)
  105. {
  106. $this->requestParameters['OwnerId'] = $ownerId;
  107. $this->queryParameters['OwnerId'] = $ownerId;
  108. return $this;
  109. }
  110. /**
  111. * @param string $pipelineId
  112. *
  113. * @return $this
  114. */
  115. public function setPipelineId($pipelineId)
  116. {
  117. $this->requestParameters['PipelineId'] = $pipelineId;
  118. $this->queryParameters['PipelineId'] = $pipelineId;
  119. return $this;
  120. }
  121. }