203 lines
4.3 KiB
PHP
203 lines
4.3 KiB
PHP
<?php
|
|
|
|
namespace vod\Request\V20170321;
|
|
|
|
/**
|
|
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
|
*
|
|
* Request of DescribeVodUserDomains
|
|
*
|
|
* @method string getPageNumber()
|
|
* @method string getCheckDomainShow()
|
|
* @method string getSecurityToken()
|
|
* @method string getCdnType()
|
|
* @method string getPageSize()
|
|
* @method array getTags()
|
|
* @method string getFuncFilter()
|
|
* @method string getDomainName()
|
|
* @method string getOwnerId()
|
|
* @method string getFuncId()
|
|
* @method string getDomainStatus()
|
|
* @method string getDomainSearchType()
|
|
*/
|
|
class DescribeVodUserDomainsRequest extends \RpcAcsRequest
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $method = 'POST';
|
|
|
|
/**
|
|
* Class constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
'vod',
|
|
'2017-03-21',
|
|
'DescribeVodUserDomains',
|
|
'vod'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @param string $pageNumber
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setPageNumber($pageNumber)
|
|
{
|
|
$this->requestParameters['PageNumber'] = $pageNumber;
|
|
$this->queryParameters['PageNumber'] = $pageNumber;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $checkDomainShow
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setCheckDomainShow($checkDomainShow)
|
|
{
|
|
$this->requestParameters['CheckDomainShow'] = $checkDomainShow;
|
|
$this->queryParameters['CheckDomainShow'] = $checkDomainShow;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $securityToken
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setSecurityToken($securityToken)
|
|
{
|
|
$this->requestParameters['SecurityToken'] = $securityToken;
|
|
$this->queryParameters['SecurityToken'] = $securityToken;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $cdnType
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setCdnType($cdnType)
|
|
{
|
|
$this->requestParameters['CdnType'] = $cdnType;
|
|
$this->queryParameters['CdnType'] = $cdnType;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $pageSize
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setPageSize($pageSize)
|
|
{
|
|
$this->requestParameters['PageSize'] = $pageSize;
|
|
$this->queryParameters['PageSize'] = $pageSize;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param array $tag
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setTags(array $tag)
|
|
{
|
|
$this->requestParameters['Tags'] = $tag;
|
|
foreach ($tag as $depth1 => $depth1Value) {
|
|
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
|
|
$this->queryParameters['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
|
|
}
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $funcFilter
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setFuncFilter($funcFilter)
|
|
{
|
|
$this->requestParameters['FuncFilter'] = $funcFilter;
|
|
$this->queryParameters['FuncFilter'] = $funcFilter;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $domainName
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setDomainName($domainName)
|
|
{
|
|
$this->requestParameters['DomainName'] = $domainName;
|
|
$this->queryParameters['DomainName'] = $domainName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $ownerId
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setOwnerId($ownerId)
|
|
{
|
|
$this->requestParameters['OwnerId'] = $ownerId;
|
|
$this->queryParameters['OwnerId'] = $ownerId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $funcId
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setFuncId($funcId)
|
|
{
|
|
$this->requestParameters['FuncId'] = $funcId;
|
|
$this->queryParameters['FuncId'] = $funcId;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $domainStatus
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setDomainStatus($domainStatus)
|
|
{
|
|
$this->requestParameters['DomainStatus'] = $domainStatus;
|
|
$this->queryParameters['DomainStatus'] = $domainStatus;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $domainSearchType
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setDomainSearchType($domainSearchType)
|
|
{
|
|
$this->requestParameters['DomainSearchType'] = $domainSearchType;
|
|
$this->queryParameters['DomainSearchType'] = $domainSearchType;
|
|
|
|
return $this;
|
|
}
|
|
}
|