123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <?php
- namespace live\Request\V20161101;
- /**
- * @deprecated Please use https://github.com/aliyun/openapi-sdk-php
- *
- * Request of DescribeCasterProgram
- *
- * @method string getCasterId()
- * @method string getEpisodeType()
- * @method string getPageSize()
- * @method string getEndTime()
- * @method string getStartTime()
- * @method string getOwnerId()
- * @method string getEpisodeId()
- * @method string getPageNum()
- * @method string getStatus()
- */
- class DescribeCasterProgramRequest extends \RpcAcsRequest
- {
- /**
- * @var string
- */
- protected $method = 'POST';
- /**
- * Class constructor.
- */
- public function __construct()
- {
- parent::__construct(
- 'live',
- '2016-11-01',
- 'DescribeCasterProgram',
- 'live'
- );
- }
- /**
- * @param string $casterId
- *
- * @return $this
- */
- public function setCasterId($casterId)
- {
- $this->requestParameters['CasterId'] = $casterId;
- $this->queryParameters['CasterId'] = $casterId;
- return $this;
- }
- /**
- * @param string $episodeType
- *
- * @return $this
- */
- public function setEpisodeType($episodeType)
- {
- $this->requestParameters['EpisodeType'] = $episodeType;
- $this->queryParameters['EpisodeType'] = $episodeType;
- return $this;
- }
- /**
- * @param string $pageSize
- *
- * @return $this
- */
- public function setPageSize($pageSize)
- {
- $this->requestParameters['PageSize'] = $pageSize;
- $this->queryParameters['PageSize'] = $pageSize;
- return $this;
- }
- /**
- * @param string $endTime
- *
- * @return $this
- */
- public function setEndTime($endTime)
- {
- $this->requestParameters['EndTime'] = $endTime;
- $this->queryParameters['EndTime'] = $endTime;
- return $this;
- }
- /**
- * @param string $startTime
- *
- * @return $this
- */
- public function setStartTime($startTime)
- {
- $this->requestParameters['StartTime'] = $startTime;
- $this->queryParameters['StartTime'] = $startTime;
- return $this;
- }
- /**
- * @param string $ownerId
- *
- * @return $this
- */
- public function setOwnerId($ownerId)
- {
- $this->requestParameters['OwnerId'] = $ownerId;
- $this->queryParameters['OwnerId'] = $ownerId;
- return $this;
- }
- /**
- * @param string $episodeId
- *
- * @return $this
- */
- public function setEpisodeId($episodeId)
- {
- $this->requestParameters['EpisodeId'] = $episodeId;
- $this->queryParameters['EpisodeId'] = $episodeId;
- return $this;
- }
- /**
- * @param string $pageNum
- *
- * @return $this
- */
- public function setPageNum($pageNum)
- {
- $this->requestParameters['PageNum'] = $pageNum;
- $this->queryParameters['PageNum'] = $pageNum;
- return $this;
- }
- /**
- * @param string $status
- *
- * @return $this
- */
- public function setStatus($status)
- {
- $this->requestParameters['Status'] = $status;
- $this->queryParameters['Status'] = $status;
- return $this;
- }
- }
|