DescribeRoomListRequest.php 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?php
  2. namespace live\Request\V20161101;
  3. /**
  4. * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
  5. *
  6. * Request of DescribeRoomList
  7. *
  8. * @method string getStartTime()
  9. * @method string getAnchorId()
  10. * @method string getPageNum()
  11. * @method string getRoomStatus()
  12. * @method string getPageSize()
  13. * @method string getOrder()
  14. * @method string getEndTime()
  15. * @method string getOwnerId()
  16. * @method string getRoomId()
  17. * @method string getAppId()
  18. */
  19. class DescribeRoomListRequest 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. 'live',
  32. '2016-11-01',
  33. 'DescribeRoomList',
  34. 'live'
  35. );
  36. }
  37. /**
  38. * @param string $startTime
  39. *
  40. * @return $this
  41. */
  42. public function setStartTime($startTime)
  43. {
  44. $this->requestParameters['StartTime'] = $startTime;
  45. $this->queryParameters['StartTime'] = $startTime;
  46. return $this;
  47. }
  48. /**
  49. * @param string $anchorId
  50. *
  51. * @return $this
  52. */
  53. public function setAnchorId($anchorId)
  54. {
  55. $this->requestParameters['AnchorId'] = $anchorId;
  56. $this->queryParameters['AnchorId'] = $anchorId;
  57. return $this;
  58. }
  59. /**
  60. * @param string $pageNum
  61. *
  62. * @return $this
  63. */
  64. public function setPageNum($pageNum)
  65. {
  66. $this->requestParameters['PageNum'] = $pageNum;
  67. $this->queryParameters['PageNum'] = $pageNum;
  68. return $this;
  69. }
  70. /**
  71. * @param string $roomStatus
  72. *
  73. * @return $this
  74. */
  75. public function setRoomStatus($roomStatus)
  76. {
  77. $this->requestParameters['RoomStatus'] = $roomStatus;
  78. $this->queryParameters['RoomStatus'] = $roomStatus;
  79. return $this;
  80. }
  81. /**
  82. * @param string $pageSize
  83. *
  84. * @return $this
  85. */
  86. public function setPageSize($pageSize)
  87. {
  88. $this->requestParameters['PageSize'] = $pageSize;
  89. $this->queryParameters['PageSize'] = $pageSize;
  90. return $this;
  91. }
  92. /**
  93. * @param string $order
  94. *
  95. * @return $this
  96. */
  97. public function setOrder($order)
  98. {
  99. $this->requestParameters['Order'] = $order;
  100. $this->queryParameters['Order'] = $order;
  101. return $this;
  102. }
  103. /**
  104. * @param string $endTime
  105. *
  106. * @return $this
  107. */
  108. public function setEndTime($endTime)
  109. {
  110. $this->requestParameters['EndTime'] = $endTime;
  111. $this->queryParameters['EndTime'] = $endTime;
  112. return $this;
  113. }
  114. /**
  115. * @param string $ownerId
  116. *
  117. * @return $this
  118. */
  119. public function setOwnerId($ownerId)
  120. {
  121. $this->requestParameters['OwnerId'] = $ownerId;
  122. $this->queryParameters['OwnerId'] = $ownerId;
  123. return $this;
  124. }
  125. /**
  126. * @param string $roomId
  127. *
  128. * @return $this
  129. */
  130. public function setRoomId($roomId)
  131. {
  132. $this->requestParameters['RoomId'] = $roomId;
  133. $this->queryParameters['RoomId'] = $roomId;
  134. return $this;
  135. }
  136. /**
  137. * @param string $appId
  138. *
  139. * @return $this
  140. */
  141. public function setAppId($appId)
  142. {
  143. $this->requestParameters['AppId'] = $appId;
  144. $this->queryParameters['AppId'] = $appId;
  145. return $this;
  146. }
  147. }