You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
3.1 KiB
157 lines
3.1 KiB
<?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;
|
|
}
|
|
}
|
|
|