217 lines
4.4 KiB
PHP
217 lines
4.4 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 CreateUploadVideoRequest extends \RpcAcsRequest
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct('vod', '2017-03-21', 'CreateUploadVideo', 'vod', 'openAPI');
|
|
$this->setMethod('POST');
|
|
}
|
|
|
|
private $resourceOwnerId;
|
|
|
|
private $resourceOwnerAccount;
|
|
|
|
private $transcodeMode;
|
|
|
|
private $iP;
|
|
|
|
private $description;
|
|
|
|
private $fileSize;
|
|
|
|
private $ownerId;
|
|
|
|
private $title;
|
|
|
|
private $tags;
|
|
|
|
private $storageLocation;
|
|
|
|
private $coverURL;
|
|
|
|
private $userData;
|
|
|
|
private $fileName;
|
|
|
|
private $templateGroupId;
|
|
|
|
private $cateId;
|
|
|
|
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 getTranscodeMode()
|
|
{
|
|
return $this->transcodeMode;
|
|
}
|
|
|
|
public function setTranscodeMode($transcodeMode)
|
|
{
|
|
$this->transcodeMode = $transcodeMode;
|
|
$this->queryParameters['TranscodeMode'] = $transcodeMode;
|
|
}
|
|
|
|
public function getIP()
|
|
{
|
|
return $this->iP;
|
|
}
|
|
|
|
public function setIP($iP)
|
|
{
|
|
$this->iP = $iP;
|
|
$this->queryParameters['IP'] = $iP;
|
|
}
|
|
|
|
public function getDescription()
|
|
{
|
|
return $this->description;
|
|
}
|
|
|
|
public function setDescription($description)
|
|
{
|
|
$this->description = $description;
|
|
$this->queryParameters['Description'] = $description;
|
|
}
|
|
|
|
public function getFileSize()
|
|
{
|
|
return $this->fileSize;
|
|
}
|
|
|
|
public function setFileSize($fileSize)
|
|
{
|
|
$this->fileSize = $fileSize;
|
|
$this->queryParameters['FileSize'] = $fileSize;
|
|
}
|
|
|
|
public function getOwnerId()
|
|
{
|
|
return $this->ownerId;
|
|
}
|
|
|
|
public function setOwnerId($ownerId)
|
|
{
|
|
$this->ownerId = $ownerId;
|
|
$this->queryParameters['OwnerId'] = $ownerId;
|
|
}
|
|
|
|
public function getTitle()
|
|
{
|
|
return $this->title;
|
|
}
|
|
|
|
public function setTitle($title)
|
|
{
|
|
$this->title = $title;
|
|
$this->queryParameters['Title'] = $title;
|
|
}
|
|
|
|
public function getTags()
|
|
{
|
|
return $this->tags;
|
|
}
|
|
|
|
public function setTags($tags)
|
|
{
|
|
$this->tags = $tags;
|
|
$this->queryParameters['Tags'] = $tags;
|
|
}
|
|
|
|
public function getStorageLocation()
|
|
{
|
|
return $this->storageLocation;
|
|
}
|
|
|
|
public function setStorageLocation($storageLocation)
|
|
{
|
|
$this->storageLocation = $storageLocation;
|
|
$this->queryParameters['StorageLocation'] = $storageLocation;
|
|
}
|
|
|
|
public function getCoverURL()
|
|
{
|
|
return $this->coverURL;
|
|
}
|
|
|
|
public function setCoverURL($coverURL)
|
|
{
|
|
$this->coverURL = $coverURL;
|
|
$this->queryParameters['CoverURL'] = $coverURL;
|
|
}
|
|
|
|
public function getUserData()
|
|
{
|
|
return $this->userData;
|
|
}
|
|
|
|
public function setUserData($userData)
|
|
{
|
|
$this->userData = $userData;
|
|
$this->queryParameters['UserData'] = $userData;
|
|
}
|
|
|
|
public function getFileName()
|
|
{
|
|
return $this->fileName;
|
|
}
|
|
|
|
public function setFileName($fileName)
|
|
{
|
|
$this->fileName = $fileName;
|
|
$this->queryParameters['FileName'] = $fileName;
|
|
}
|
|
|
|
public function getTemplateGroupId()
|
|
{
|
|
return $this->templateGroupId;
|
|
}
|
|
|
|
public function setTemplateGroupId($templateGroupId)
|
|
{
|
|
$this->templateGroupId = $templateGroupId;
|
|
$this->queryParameters['TemplateGroupId'] = $templateGroupId;
|
|
}
|
|
|
|
public function getCateId()
|
|
{
|
|
return $this->cateId;
|
|
}
|
|
|
|
public function setCateId($cateId)
|
|
{
|
|
$this->cateId = $cateId;
|
|
$this->queryParameters['CateId'] = $cateId;
|
|
}
|
|
}
|