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.
144 lines
2.8 KiB
144 lines
2.8 KiB
10 months ago
|
<?php
|
||
|
|
||
|
namespace live\Request\V20161101;
|
||
|
|
||
|
/**
|
||
|
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
||
|
*
|
||
|
* Request of DescribeCasters
|
||
|
*
|
||
|
* @method string getCasterName()
|
||
|
* @method string getCasterId()
|
||
|
* @method string getPageSize()
|
||
|
* @method string getEndTime()
|
||
|
* @method string getStartTime()
|
||
|
* @method string getOwnerId()
|
||
|
* @method string getPageNum()
|
||
|
* @method string getStatus()
|
||
|
*/
|
||
|
class DescribeCastersRequest extends \RpcAcsRequest
|
||
|
{
|
||
|
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $method = 'POST';
|
||
|
|
||
|
/**
|
||
|
* Class constructor.
|
||
|
*/
|
||
|
public function __construct()
|
||
|
{
|
||
|
parent::__construct(
|
||
|
'live',
|
||
|
'2016-11-01',
|
||
|
'DescribeCasters',
|
||
|
'live'
|
||
|
);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param string $casterName
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setCasterName($casterName)
|
||
|
{
|
||
|
$this->requestParameters['CasterName'] = $casterName;
|
||
|
$this->queryParameters['CasterName'] = $casterName;
|
||
|
|
||
|
return $this;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param string $casterId
|
||
|
*
|
||
|
* @return $this
|
||
|
*/
|
||
|
public function setCasterId($casterId)
|
||
|
{
|
||
|
$this->requestParameters['CasterId'] = $casterId;
|
||
|
$this->queryParameters['CasterId'] = $casterId;
|
||
|
|
||
|
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 $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;
|
||
|
}
|
||
|
}
|