7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
144 lines
2.8 KiB
PHP
144 lines
2.8 KiB
PHP
<?php
|
|
|
|
namespace Cms\Request\V20190101;
|
|
|
|
/**
|
|
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
|
*
|
|
* Request of DescribeMetricData
|
|
*
|
|
* @method string getPeriod()
|
|
* @method string getNamespace()
|
|
* @method string getLength()
|
|
* @method string getEndTime()
|
|
* @method string getExpress()
|
|
* @method string getStartTime()
|
|
* @method string getMetricName()
|
|
* @method string getDimensions()
|
|
*/
|
|
class DescribeMetricDataRequest extends \RpcAcsRequest
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $method = 'POST';
|
|
|
|
/**
|
|
* Class constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
'Cms',
|
|
'2019-01-01',
|
|
'DescribeMetricData',
|
|
'cms'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @param string $period
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setPeriod($period)
|
|
{
|
|
$this->requestParameters['Period'] = $period;
|
|
$this->queryParameters['Period'] = $period;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $namespace
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setNamespace($namespace)
|
|
{
|
|
$this->requestParameters['Namespace'] = $namespace;
|
|
$this->queryParameters['Namespace'] = $namespace;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $length
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setLength($length)
|
|
{
|
|
$this->requestParameters['Length'] = $length;
|
|
$this->queryParameters['Length'] = $length;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $endTime
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setEndTime($endTime)
|
|
{
|
|
$this->requestParameters['EndTime'] = $endTime;
|
|
$this->queryParameters['EndTime'] = $endTime;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $express
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setExpress($express)
|
|
{
|
|
$this->requestParameters['Express'] = $express;
|
|
$this->queryParameters['Express'] = $express;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $startTime
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setStartTime($startTime)
|
|
{
|
|
$this->requestParameters['StartTime'] = $startTime;
|
|
$this->queryParameters['StartTime'] = $startTime;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $metricName
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setMetricName($metricName)
|
|
{
|
|
$this->requestParameters['MetricName'] = $metricName;
|
|
$this->queryParameters['MetricName'] = $metricName;
|
|
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* @param string $dimensions
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setDimensions($dimensions)
|
|
{
|
|
$this->requestParameters['Dimensions'] = $dimensions;
|
|
$this->queryParameters['Dimensions'] = $dimensions;
|
|
|
|
return $this;
|
|
}
|
|
}
|