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.
160 lines
3.3 KiB
160 lines
3.3 KiB
10 months ago
|
<?php
|
||
|
|
||
|
namespace live\Request\V20161101;
|
||
|
|
||
|
/**
|
||
|
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||
|
*
|
||
|
* Request of AddCasterEpisode
|
||
|
*
|
||
|
* @method string getResourceId()
|
||
|
* @method array getComponentIds()
|
||
|
* @method string getSwitchType()
|
||
|
* @method string getCasterId()
|
||
|
* @method string getEpisodeType()
|
||
|
* @method string getEpisodeName()
|
||
|
* @method string getEndTime()
|
||
|
* @method string getStartTime()
|
||
|
* @method string getOwnerId()
|
||
|
*/
|
||
|
class AddCasterEpisodeRequest extends \RpcAcsRequest
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $method = 'POST';
|
||
|
|
||
|
/**
|
||
|
* Class constructor.
|
||
|
*/
|
||
|
public function __construct()
|
||
|
{
|
||
|
parent::__construct(
|
||
|
'live',
|
||
|
'2016-11-01',
|
||
|
'AddCasterEpisode',
|
||
|
'live'
|
||
|
);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param string $resourceId
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setResourceId($resourceId)
|
||
|
{
|
||
|
$this->requestParameters['ResourceId'] = $resourceId;
|
||
|
$this->queryParameters['ResourceId'] = $resourceId;
|
||
|
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param array $componentId
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setComponentIds(array $componentId)
|
||
|
{
|
||
|
$this->requestParameters['ComponentIds'] = $componentId;
|
||
|
foreach ($componentId as $i => $iValue) {
|
||
|
$this->queryParameters['ComponentId.' . ($i + 1)] = $iValue;
|
||
|
}
|
||
|
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param string $switchType
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setSwitchType($switchType)
|
||
|
{
|
||
|
$this->requestParameters['SwitchType'] = $switchType;
|
||
|
$this->queryParameters['SwitchType'] = $switchType;
|
||
|
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @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 $episodeName
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setEpisodeName($episodeName)
|
||
|
{
|
||
|
$this->requestParameters['EpisodeName'] = $episodeName;
|
||
|
$this->queryParameters['EpisodeName'] = $episodeName;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|