初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
namespace ShaoZeMing\AliVod\SDK;
|
||||
|
||||
use ShaoZeMing\Aliyun\Core\RpcAcsRequest;
|
||||
|
||||
/**
|
||||
* Request of DescribePlayTopVideos
|
||||
*
|
||||
* @method string getPageSize()
|
||||
* @method string getOwnerId()
|
||||
* @method string getBizDate()
|
||||
* @method string getPageNo()
|
||||
*/
|
||||
class DescribePlayTopVideosRequest extends RpcAcsRequest
|
||||
{
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
protected $method = 'POST';
|
||||
|
||||
/**
|
||||
* Class constructor.
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct(
|
||||
'vod',
|
||||
'2017-03-21',
|
||||
'DescribePlayTopVideos',
|
||||
'vod'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageSize
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageSize($pageSize)
|
||||
{
|
||||
$this->requestParameters['PageSize'] = $pageSize;
|
||||
$this->queryParameters['PageSize'] = $pageSize;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ownerId
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setOwnerId($ownerId)
|
||||
{
|
||||
$this->requestParameters['OwnerId'] = $ownerId;
|
||||
$this->queryParameters['OwnerId'] = $ownerId;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $bizDate
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setBizDate($bizDate)
|
||||
{
|
||||
$this->requestParameters['BizDate'] = $bizDate;
|
||||
$this->queryParameters['BizDate'] = $bizDate;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $pageNo
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function setPageNo($pageNo)
|
||||
{
|
||||
$this->requestParameters['PageNo'] = $pageNo;
|
||||
$this->queryParameters['PageNo'] = $pageNo;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user