SubmitMediaCensorJobRequest.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?php
  2. namespace Mts\Request\V20140618;
  3. /**
  4. * Request of SubmitMediaCensorJob
  5. *
  6. * @method string getResourceOwnerId()
  7. * @method string getCoverImages()
  8. * @method string getResourceOwnerAccount()
  9. * @method string getOwnerAccount()
  10. * @method string getDescription()
  11. * @method string getOwnerId()
  12. * @method string getTitle()
  13. * @method string getPipelineId()
  14. * @method string getVideoCensorConfig()
  15. * @method string getInput()
  16. * @method string getUserData()
  17. * @method string getBarrages()
  18. */
  19. class SubmitMediaCensorJobRequest extends \RpcAcsRequest
  20. {
  21. /**
  22. * @var string
  23. */
  24. protected $method = 'POST';
  25. /**
  26. * Class constructor.
  27. */
  28. public function __construct()
  29. {
  30. parent::__construct(
  31. 'Mts',
  32. '2014-06-18',
  33. 'SubmitMediaCensorJob',
  34. 'mts'
  35. );
  36. }
  37. /**
  38. * @param string $resourceOwnerId
  39. *
  40. * @return $this
  41. */
  42. public function setResourceOwnerId($resourceOwnerId)
  43. {
  44. $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
  45. $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
  46. return $this;
  47. }
  48. /**
  49. * @param string $coverImages
  50. *
  51. * @return $this
  52. */
  53. public function setCoverImages($coverImages)
  54. {
  55. $this->requestParameters['CoverImages'] = $coverImages;
  56. $this->queryParameters['CoverImages'] = $coverImages;
  57. return $this;
  58. }
  59. /**
  60. * @param string $resourceOwnerAccount
  61. *
  62. * @return $this
  63. */
  64. public function setResourceOwnerAccount($resourceOwnerAccount)
  65. {
  66. $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  67. $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  68. return $this;
  69. }
  70. /**
  71. * @param string $ownerAccount
  72. *
  73. * @return $this
  74. */
  75. public function setOwnerAccount($ownerAccount)
  76. {
  77. $this->requestParameters['OwnerAccount'] = $ownerAccount;
  78. $this->queryParameters['OwnerAccount'] = $ownerAccount;
  79. return $this;
  80. }
  81. /**
  82. * @param string $description
  83. *
  84. * @return $this
  85. */
  86. public function setDescription($description)
  87. {
  88. $this->requestParameters['Description'] = $description;
  89. $this->queryParameters['Description'] = $description;
  90. return $this;
  91. }
  92. /**
  93. * @param string $ownerId
  94. *
  95. * @return $this
  96. */
  97. public function setOwnerId($ownerId)
  98. {
  99. $this->requestParameters['OwnerId'] = $ownerId;
  100. $this->queryParameters['OwnerId'] = $ownerId;
  101. return $this;
  102. }
  103. /**
  104. * @param string $title
  105. *
  106. * @return $this
  107. */
  108. public function setTitle($title)
  109. {
  110. $this->requestParameters['Title'] = $title;
  111. $this->queryParameters['Title'] = $title;
  112. return $this;
  113. }
  114. /**
  115. * @param string $pipelineId
  116. *
  117. * @return $this
  118. */
  119. public function setPipelineId($pipelineId)
  120. {
  121. $this->requestParameters['PipelineId'] = $pipelineId;
  122. $this->queryParameters['PipelineId'] = $pipelineId;
  123. return $this;
  124. }
  125. /**
  126. * @param string $videoCensorConfig
  127. *
  128. * @return $this
  129. */
  130. public function setVideoCensorConfig($videoCensorConfig)
  131. {
  132. $this->requestParameters['VideoCensorConfig'] = $videoCensorConfig;
  133. $this->queryParameters['VideoCensorConfig'] = $videoCensorConfig;
  134. return $this;
  135. }
  136. /**
  137. * @param string $input
  138. *
  139. * @return $this
  140. */
  141. public function setInput($input)
  142. {
  143. $this->requestParameters['Input'] = $input;
  144. $this->queryParameters['Input'] = $input;
  145. return $this;
  146. }
  147. /**
  148. * @param string $userData
  149. *
  150. * @return $this
  151. */
  152. public function setUserData($userData)
  153. {
  154. $this->requestParameters['UserData'] = $userData;
  155. $this->queryParameters['UserData'] = $userData;
  156. return $this;
  157. }
  158. /**
  159. * @param string $barrages
  160. *
  161. * @return $this
  162. */
  163. public function setBarrages($barrages)
  164. {
  165. $this->requestParameters['Barrages'] = $barrages;
  166. $this->queryParameters['Barrages'] = $barrages;
  167. return $this;
  168. }
  169. }