DescribeCasterProgramRequest.php 3.1 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 DescribeCasterProgram
  7. *
  8. * @method string getCasterId()
  9. * @method string getEpisodeType()
  10. * @method string getPageSize()
  11. * @method string getEndTime()
  12. * @method string getStartTime()
  13. * @method string getOwnerId()
  14. * @method string getEpisodeId()
  15. * @method string getPageNum()
  16. * @method string getStatus()
  17. */
  18. class DescribeCasterProgramRequest 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. 'DescribeCasterProgram',
  33. 'live'
  34. );
  35. }
  36. /**
  37. * @param string $casterId
  38. *
  39. * @return $this
  40. */
  41. public function setCasterId($casterId)
  42. {
  43. $this->requestParameters['CasterId'] = $casterId;
  44. $this->queryParameters['CasterId'] = $casterId;
  45. return $this;
  46. }
  47. /**
  48. * @param string $episodeType
  49. *
  50. * @return $this
  51. */
  52. public function setEpisodeType($episodeType)
  53. {
  54. $this->requestParameters['EpisodeType'] = $episodeType;
  55. $this->queryParameters['EpisodeType'] = $episodeType;
  56. return $this;
  57. }
  58. /**
  59. * @param string $pageSize
  60. *
  61. * @return $this
  62. */
  63. public function setPageSize($pageSize)
  64. {
  65. $this->requestParameters['PageSize'] = $pageSize;
  66. $this->queryParameters['PageSize'] = $pageSize;
  67. return $this;
  68. }
  69. /**
  70. * @param string $endTime
  71. *
  72. * @return $this
  73. */
  74. public function setEndTime($endTime)
  75. {
  76. $this->requestParameters['EndTime'] = $endTime;
  77. $this->queryParameters['EndTime'] = $endTime;
  78. return $this;
  79. }
  80. /**
  81. * @param string $startTime
  82. *
  83. * @return $this
  84. */
  85. public function setStartTime($startTime)
  86. {
  87. $this->requestParameters['StartTime'] = $startTime;
  88. $this->queryParameters['StartTime'] = $startTime;
  89. return $this;
  90. }
  91. /**
  92. * @param string $ownerId
  93. *
  94. * @return $this
  95. */
  96. public function setOwnerId($ownerId)
  97. {
  98. $this->requestParameters['OwnerId'] = $ownerId;
  99. $this->queryParameters['OwnerId'] = $ownerId;
  100. return $this;
  101. }
  102. /**
  103. * @param string $episodeId
  104. *
  105. * @return $this
  106. */
  107. public function setEpisodeId($episodeId)
  108. {
  109. $this->requestParameters['EpisodeId'] = $episodeId;
  110. $this->queryParameters['EpisodeId'] = $episodeId;
  111. return $this;
  112. }
  113. /**
  114. * @param string $pageNum
  115. *
  116. * @return $this
  117. */
  118. public function setPageNum($pageNum)
  119. {
  120. $this->requestParameters['PageNum'] = $pageNum;
  121. $this->queryParameters['PageNum'] = $pageNum;
  122. return $this;
  123. }
  124. /**
  125. * @param string $status
  126. *
  127. * @return $this
  128. */
  129. public function setStatus($status)
  130. {
  131. $this->requestParameters['Status'] = $status;
  132. $this->queryParameters['Status'] = $status;
  133. return $this;
  134. }
  135. }