DescribeLiveUserDomainsRequest.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of DescribeLiveUserDomains
  7. *
  8. * @method string getSecurityToken()
  9. * @method string getPageSize()
  10. * @method string getDomainName()
  11. * @method string getRegionName()
  12. * @method string getOwnerId()
  13. * @method string getPageNumber()
  14. * @method string getDomainStatus()
  15. * @method string getLiveDomainType()
  16. * @method string getDomainSearchType()
  17. */
  18. class DescribeLiveUserDomainsRequest extends \RpcAcsRequest
  19. {
  20. /**
  21. * @var string
  22. */
  23. protected $method = 'POST';
  24. /**
  25. * Class constructor.
  26. */
  27. public function __construct()
  28. {
  29. parent::__construct(
  30. 'live',
  31. '2016-11-01',
  32. 'DescribeLiveUserDomains',
  33. 'live'
  34. );
  35. }
  36. /**
  37. * @param string $securityToken
  38. *
  39. * @return $this
  40. */
  41. public function setSecurityToken($securityToken)
  42. {
  43. $this->requestParameters['SecurityToken'] = $securityToken;
  44. $this->queryParameters['SecurityToken'] = $securityToken;
  45. return $this;
  46. }
  47. /**
  48. * @param string $pageSize
  49. *
  50. * @return $this
  51. */
  52. public function setPageSize($pageSize)
  53. {
  54. $this->requestParameters['PageSize'] = $pageSize;
  55. $this->queryParameters['PageSize'] = $pageSize;
  56. return $this;
  57. }
  58. /**
  59. * @param string $domainName
  60. *
  61. * @return $this
  62. */
  63. public function setDomainName($domainName)
  64. {
  65. $this->requestParameters['DomainName'] = $domainName;
  66. $this->queryParameters['DomainName'] = $domainName;
  67. return $this;
  68. }
  69. /**
  70. * @param string $regionName
  71. *
  72. * @return $this
  73. */
  74. public function setRegionName($regionName)
  75. {
  76. $this->requestParameters['RegionName'] = $regionName;
  77. $this->queryParameters['RegionName'] = $regionName;
  78. return $this;
  79. }
  80. /**
  81. * @param string $ownerId
  82. *
  83. * @return $this
  84. */
  85. public function setOwnerId($ownerId)
  86. {
  87. $this->requestParameters['OwnerId'] = $ownerId;
  88. $this->queryParameters['OwnerId'] = $ownerId;
  89. return $this;
  90. }
  91. /**
  92. * @param string $pageNumber
  93. *
  94. * @return $this
  95. */
  96. public function setPageNumber($pageNumber)
  97. {
  98. $this->requestParameters['PageNumber'] = $pageNumber;
  99. $this->queryParameters['PageNumber'] = $pageNumber;
  100. return $this;
  101. }
  102. /**
  103. * @param string $domainStatus
  104. *
  105. * @return $this
  106. */
  107. public function setDomainStatus($domainStatus)
  108. {
  109. $this->requestParameters['DomainStatus'] = $domainStatus;
  110. $this->queryParameters['DomainStatus'] = $domainStatus;
  111. return $this;
  112. }
  113. /**
  114. * @param string $liveDomainType
  115. *
  116. * @return $this
  117. */
  118. public function setLiveDomainType($liveDomainType)
  119. {
  120. $this->requestParameters['LiveDomainType'] = $liveDomainType;
  121. $this->queryParameters['LiveDomainType'] = $liveDomainType;
  122. return $this;
  123. }
  124. /**
  125. * @param string $domainSearchType
  126. *
  127. * @return $this
  128. */
  129. public function setDomainSearchType($domainSearchType)
  130. {
  131. $this->requestParameters['DomainSearchType'] = $domainSearchType;
  132. $this->queryParameters['DomainSearchType'] = $domainSearchType;
  133. return $this;
  134. }
  135. }