123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239 |
- <?php
- namespace Mts\Request\V20140618;
- /**
- * Request of AddMCTemplate
- *
- * @method string getPolitics()
- * @method string getResourceOwnerId()
- * @method string getContraband()
- * @method string getAd()
- * @method string getAbuse()
- * @method string getResourceOwnerAccount()
- * @method string getQrcode()
- * @method string getOwnerAccount()
- * @method string getOwnerId()
- * @method string getPorn()
- * @method string getTerrorism()
- * @method string getName()
- * @method string getLogo()
- * @method string getspam()
- * @method string getLive()
- */
- class AddMCTemplateRequest extends \RpcAcsRequest
- {
- /**
- * @var string
- */
- protected $method = 'POST';
- /**
- * Class constructor.
- */
- public function __construct()
- {
- parent::__construct(
- 'Mts',
- '2014-06-18',
- 'AddMCTemplate',
- 'mts'
- );
- }
- /**
- * @param string $politics
- *
- * @return $this
- */
- public function setPolitics($politics)
- {
- $this->requestParameters['Politics'] = $politics;
- $this->queryParameters['Politics'] = $politics;
- return $this;
- }
- /**
- * @param string $resourceOwnerId
- *
- * @return $this
- */
- public function setResourceOwnerId($resourceOwnerId)
- {
- $this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
- $this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
- return $this;
- }
- /**
- * @param string $contraband
- *
- * @return $this
- */
- public function setContraband($contraband)
- {
- $this->requestParameters['Contraband'] = $contraband;
- $this->queryParameters['Contraband'] = $contraband;
- return $this;
- }
- /**
- * @param string $ad
- *
- * @return $this
- */
- public function setAd($ad)
- {
- $this->requestParameters['Ad'] = $ad;
- $this->queryParameters['Ad'] = $ad;
- return $this;
- }
- /**
- * @param string $abuse
- *
- * @return $this
- */
- public function setAbuse($abuse)
- {
- $this->requestParameters['Abuse'] = $abuse;
- $this->queryParameters['Abuse'] = $abuse;
- return $this;
- }
- /**
- * @param string $resourceOwnerAccount
- *
- * @return $this
- */
- public function setResourceOwnerAccount($resourceOwnerAccount)
- {
- $this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
- $this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
- return $this;
- }
- /**
- * @param string $qrcode
- *
- * @return $this
- */
- public function setQrcode($qrcode)
- {
- $this->requestParameters['Qrcode'] = $qrcode;
- $this->queryParameters['Qrcode'] = $qrcode;
- return $this;
- }
- /**
- * @param string $ownerAccount
- *
- * @return $this
- */
- public function setOwnerAccount($ownerAccount)
- {
- $this->requestParameters['OwnerAccount'] = $ownerAccount;
- $this->queryParameters['OwnerAccount'] = $ownerAccount;
- return $this;
- }
- /**
- * @param string $ownerId
- *
- * @return $this
- */
- public function setOwnerId($ownerId)
- {
- $this->requestParameters['OwnerId'] = $ownerId;
- $this->queryParameters['OwnerId'] = $ownerId;
- return $this;
- }
- /**
- * @param string $porn
- *
- * @return $this
- */
- public function setPorn($porn)
- {
- $this->requestParameters['Porn'] = $porn;
- $this->queryParameters['Porn'] = $porn;
- return $this;
- }
- /**
- * @param string $terrorism
- *
- * @return $this
- */
- public function setTerrorism($terrorism)
- {
- $this->requestParameters['Terrorism'] = $terrorism;
- $this->queryParameters['Terrorism'] = $terrorism;
- return $this;
- }
- /**
- * @param string $name
- *
- * @return $this
- */
- public function setName($name)
- {
- $this->requestParameters['Name'] = $name;
- $this->queryParameters['Name'] = $name;
- return $this;
- }
- /**
- * @param string $logo
- *
- * @return $this
- */
- public function setLogo($logo)
- {
- $this->requestParameters['Logo'] = $logo;
- $this->queryParameters['Logo'] = $logo;
- return $this;
- }
- /**
- * @param string $spam
- *
- * @return $this
- */
- public function setspam($spam)
- {
- $this->requestParameters['spam'] = $spam;
- $this->queryParameters['spam'] = $spam;
- return $this;
- }
- /**
- * @param string $live
- *
- * @return $this
- */
- public function setLive($live)
- {
- $this->requestParameters['Live'] = $live;
- $this->queryParameters['Live'] = $live;
- return $this;
- }
- }
|