AddMCTemplateRequest.php 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239
  1. <?php
  2. namespace Mts\Request\V20140618;
  3. /**
  4. * Request of AddMCTemplate
  5. *
  6. * @method string getPolitics()
  7. * @method string getResourceOwnerId()
  8. * @method string getContraband()
  9. * @method string getAd()
  10. * @method string getAbuse()
  11. * @method string getResourceOwnerAccount()
  12. * @method string getQrcode()
  13. * @method string getOwnerAccount()
  14. * @method string getOwnerId()
  15. * @method string getPorn()
  16. * @method string getTerrorism()
  17. * @method string getName()
  18. * @method string getLogo()
  19. * @method string getspam()
  20. * @method string getLive()
  21. */
  22. class AddMCTemplateRequest extends \RpcAcsRequest
  23. {
  24. /**
  25. * @var string
  26. */
  27. protected $method = 'POST';
  28. /**
  29. * Class constructor.
  30. */
  31. public function __construct()
  32. {
  33. parent::__construct(
  34. 'Mts',
  35. '2014-06-18',
  36. 'AddMCTemplate',
  37. 'mts'
  38. );
  39. }
  40. /**
  41. * @param string $politics
  42. *
  43. * @return $this
  44. */
  45. public function setPolitics($politics)
  46. {
  47. $this->requestParameters['Politics'] = $politics;
  48. $this->queryParameters['Politics'] = $politics;
  49. return $this;
  50. }
  51. /**
  52. * @param string $resourceOwnerId
  53. *
  54. * @return $this
  55. */
  56. public function setResourceOwnerId($resourceOwnerId)
  57. {
  58. $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
  59. $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
  60. return $this;
  61. }
  62. /**
  63. * @param string $contraband
  64. *
  65. * @return $this
  66. */
  67. public function setContraband($contraband)
  68. {
  69. $this->requestParameters['Contraband'] = $contraband;
  70. $this->queryParameters['Contraband'] = $contraband;
  71. return $this;
  72. }
  73. /**
  74. * @param string $ad
  75. *
  76. * @return $this
  77. */
  78. public function setAd($ad)
  79. {
  80. $this->requestParameters['Ad'] = $ad;
  81. $this->queryParameters['Ad'] = $ad;
  82. return $this;
  83. }
  84. /**
  85. * @param string $abuse
  86. *
  87. * @return $this
  88. */
  89. public function setAbuse($abuse)
  90. {
  91. $this->requestParameters['Abuse'] = $abuse;
  92. $this->queryParameters['Abuse'] = $abuse;
  93. return $this;
  94. }
  95. /**
  96. * @param string $resourceOwnerAccount
  97. *
  98. * @return $this
  99. */
  100. public function setResourceOwnerAccount($resourceOwnerAccount)
  101. {
  102. $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  103. $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
  104. return $this;
  105. }
  106. /**
  107. * @param string $qrcode
  108. *
  109. * @return $this
  110. */
  111. public function setQrcode($qrcode)
  112. {
  113. $this->requestParameters['Qrcode'] = $qrcode;
  114. $this->queryParameters['Qrcode'] = $qrcode;
  115. return $this;
  116. }
  117. /**
  118. * @param string $ownerAccount
  119. *
  120. * @return $this
  121. */
  122. public function setOwnerAccount($ownerAccount)
  123. {
  124. $this->requestParameters['OwnerAccount'] = $ownerAccount;
  125. $this->queryParameters['OwnerAccount'] = $ownerAccount;
  126. return $this;
  127. }
  128. /**
  129. * @param string $ownerId
  130. *
  131. * @return $this
  132. */
  133. public function setOwnerId($ownerId)
  134. {
  135. $this->requestParameters['OwnerId'] = $ownerId;
  136. $this->queryParameters['OwnerId'] = $ownerId;
  137. return $this;
  138. }
  139. /**
  140. * @param string $porn
  141. *
  142. * @return $this
  143. */
  144. public function setPorn($porn)
  145. {
  146. $this->requestParameters['Porn'] = $porn;
  147. $this->queryParameters['Porn'] = $porn;
  148. return $this;
  149. }
  150. /**
  151. * @param string $terrorism
  152. *
  153. * @return $this
  154. */
  155. public function setTerrorism($terrorism)
  156. {
  157. $this->requestParameters['Terrorism'] = $terrorism;
  158. $this->queryParameters['Terrorism'] = $terrorism;
  159. return $this;
  160. }
  161. /**
  162. * @param string $name
  163. *
  164. * @return $this
  165. */
  166. public function setName($name)
  167. {
  168. $this->requestParameters['Name'] = $name;
  169. $this->queryParameters['Name'] = $name;
  170. return $this;
  171. }
  172. /**
  173. * @param string $logo
  174. *
  175. * @return $this
  176. */
  177. public function setLogo($logo)
  178. {
  179. $this->requestParameters['Logo'] = $logo;
  180. $this->queryParameters['Logo'] = $logo;
  181. return $this;
  182. }
  183. /**
  184. * @param string $spam
  185. *
  186. * @return $this
  187. */
  188. public function setspam($spam)
  189. {
  190. $this->requestParameters['spam'] = $spam;
  191. $this->queryParameters['spam'] = $spam;
  192. return $this;
  193. }
  194. /**
  195. * @param string $live
  196. *
  197. * @return $this
  198. */
  199. public function setLive($live)
  200. {
  201. $this->requestParameters['Live'] = $live;
  202. $this->queryParameters['Live'] = $live;
  203. return $this;
  204. }
  205. }