BatchDeleteLiveDomainConfigsRequest.php 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of BatchDeleteLiveDomainConfigs
  7. *
  8. * @method string getFunctionNames()
  9. * @method string getSecurityToken()
  10. * @method string getDomainNames()
  11. * @method string getOwnerAccount()
  12. * @method string getOwnerId()
  13. */
  14. class BatchDeleteLiveDomainConfigsRequest 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. 'live',
  27. '2016-11-01',
  28. 'BatchDeleteLiveDomainConfigs',
  29. 'live'
  30. );
  31. }
  32. /**
  33. * @param string $functionNames
  34. *
  35. * @return $this
  36. */
  37. public function setFunctionNames($functionNames)
  38. {
  39. $this->requestParameters['FunctionNames'] = $functionNames;
  40. $this->queryParameters['FunctionNames'] = $functionNames;
  41. return $this;
  42. }
  43. /**
  44. * @param string $securityToken
  45. *
  46. * @return $this
  47. */
  48. public function setSecurityToken($securityToken)
  49. {
  50. $this->requestParameters['SecurityToken'] = $securityToken;
  51. $this->queryParameters['SecurityToken'] = $securityToken;
  52. return $this;
  53. }
  54. /**
  55. * @param string $domainNames
  56. *
  57. * @return $this
  58. */
  59. public function setDomainNames($domainNames)
  60. {
  61. $this->requestParameters['DomainNames'] = $domainNames;
  62. $this->queryParameters['DomainNames'] = $domainNames;
  63. return $this;
  64. }
  65. /**
  66. * @param string $ownerAccount
  67. *
  68. * @return $this
  69. */
  70. public function setOwnerAccount($ownerAccount)
  71. {
  72. $this->requestParameters['OwnerAccount'] = $ownerAccount;
  73. $this->queryParameters['OwnerAccount'] = $ownerAccount;
  74. return $this;
  75. }
  76. /**
  77. * @param string $ownerId
  78. *
  79. * @return $this
  80. */
  81. public function setOwnerId($ownerId)
  82. {
  83. $this->requestParameters['OwnerId'] = $ownerId;
  84. $this->queryParameters['OwnerId'] = $ownerId;
  85. return $this;
  86. }
  87. }