198 lines
4.1 KiB
PHP
198 lines
4.1 KiB
PHP
<?php
|
|
|
|
namespace ShaoZeMing\AliVod\SDK;
|
|
|
|
/**
|
|
* Request of UpdateVideoInfo
|
|
*
|
|
* @method string getResourceOwnerId()
|
|
* @method string getResourceOwnerAccount()
|
|
* @method string getDescription()
|
|
* @method string getVideoId()
|
|
* @method string getOwnerId()
|
|
* @method string getTitle()
|
|
* @method string getTags()
|
|
* @method string getCoverURL()
|
|
* @method string getDownloadSwitch()
|
|
* @method string getCateId()
|
|
* @method string getCustomMediaInfo()
|
|
* @method string getStatus()
|
|
*/
|
|
class UpdateVideoInfoRequest extends \ShaoZeMing\Aliyun\Core\RpcAcsRequest
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $method = 'POST';
|
|
|
|
/**
|
|
* Class constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
'vod',
|
|
'2017-03-21',
|
|
'UpdateVideoInfo',
|
|
'vod'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @param string $resourceOwnerId
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setResourceOwnerId($resourceOwnerId)
|
|
{
|
|
$this->requestParameters['ResourceOwnerId'] = $resourceOwnerId;
|
|
$this->queryParameters['ResourceOwnerId'] = $resourceOwnerId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $resourceOwnerAccount
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setResourceOwnerAccount($resourceOwnerAccount)
|
|
{
|
|
$this->requestParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
|
$this->queryParameters['ResourceOwnerAccount'] = $resourceOwnerAccount;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $description
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setDescription($description)
|
|
{
|
|
$this->requestParameters['Description'] = $description;
|
|
$this->queryParameters['Description'] = $description;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $videoId
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setVideoId($videoId)
|
|
{
|
|
$this->requestParameters['VideoId'] = $videoId;
|
|
$this->queryParameters['VideoId'] = $videoId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $ownerId
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setOwnerId($ownerId)
|
|
{
|
|
$this->requestParameters['OwnerId'] = $ownerId;
|
|
$this->queryParameters['OwnerId'] = $ownerId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $title
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setTitle($title)
|
|
{
|
|
$this->requestParameters['Title'] = $title;
|
|
$this->queryParameters['Title'] = $title;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $tags
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setTags($tags)
|
|
{
|
|
$this->requestParameters['Tags'] = $tags;
|
|
$this->queryParameters['Tags'] = $tags;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $coverURL
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setCoverURL($coverURL)
|
|
{
|
|
$this->requestParameters['CoverURL'] = $coverURL;
|
|
$this->queryParameters['CoverURL'] = $coverURL;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $downloadSwitch
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setDownloadSwitch($downloadSwitch)
|
|
{
|
|
$this->requestParameters['DownloadSwitch'] = $downloadSwitch;
|
|
$this->queryParameters['DownloadSwitch'] = $downloadSwitch;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $cateId
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setCateId($cateId)
|
|
{
|
|
$this->requestParameters['CateId'] = $cateId;
|
|
$this->queryParameters['CateId'] = $cateId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $customMediaInfo
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setCustomMediaInfo($customMediaInfo)
|
|
{
|
|
$this->requestParameters['CustomMediaInfo'] = $customMediaInfo;
|
|
$this->queryParameters['CustomMediaInfo'] = $customMediaInfo;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $status
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setStatus($status)
|
|
{
|
|
$this->requestParameters['Status'] = $status;
|
|
$this->queryParameters['Status'] = $status;
|
|
|
|
return $this;
|
|
}
|
|
}
|