87 lines
1.9 KiB
PHP
87 lines
1.9 KiB
PHP
<?php
|
|
|
|
/*
|
|
* This file is part of the Qsnh/meedu.
|
|
*
|
|
* (c) XiaoTeng <616896861@qq.com>
|
|
*
|
|
* This source file is subject to the MIT license that is bundled
|
|
* with this source code in the file LICENSE.
|
|
*/
|
|
|
|
namespace vod\Request\V20170321;
|
|
|
|
class GetVideoInfoRequest extends \RpcAcsRequest
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('vod', '2017-03-21', 'GetVideoInfo', 'vod', 'openAPI');
|
|
$this->setMethod('POST');
|
|
}
|
|
|
|
private $resourceOwnerId;
|
|
|
|
private $resourceOwnerAccount;
|
|
|
|
private $videoId;
|
|
|
|
private $resultTypes;
|
|
|
|
private $ownerId;
|
|
|
|
public function getResourceOwnerId()
|
|
{
|
|
return $this->resourceOwnerId;
|
|
}
|
|
|
|
public function setResourceOwnerId($resourceOwnerId)
|
|
{
|
|
$this->resourceOwnerId = $resourceOwnerId;
|
|
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
|
}
|
|
|
|
public function getResourceOwnerAccount()
|
|
{
|
|
return $this->resourceOwnerAccount;
|
|
}
|
|
|
|
public function setResourceOwnerAccount($resourceOwnerAccount)
|
|
{
|
|
$this->resourceOwnerAccount = $resourceOwnerAccount;
|
|
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
|
}
|
|
|
|
public function getVideoId()
|
|
{
|
|
return $this->videoId;
|
|
}
|
|
|
|
public function setVideoId($videoId)
|
|
{
|
|
$this->videoId = $videoId;
|
|
$this->queryParameters['VideoId'] = $videoId;
|
|
}
|
|
|
|
public function getResultTypes()
|
|
{
|
|
return $this->resultTypes;
|
|
}
|
|
|
|
public function setResultTypes($resultTypes)
|
|
{
|
|
$this->resultTypes = $resultTypes;
|
|
$this->queryParameters['ResultTypes'] = $resultTypes;
|
|
}
|
|
|
|
public function getOwnerId()
|
|
{
|
|
return $this->ownerId;
|
|
}
|
|
|
|
public function setOwnerId($ownerId)
|
|
{
|
|
$this->ownerId = $ownerId;
|
|
$this->queryParameters['OwnerId'] = $ownerId;
|
|
}
|
|
}
|