7e47ce238b
添加了管理后台所需的图片资源、Excel文件、安装程序以及设计相关的图片文件
48 lines
888 B
PHP
48 lines
888 B
PHP
<?php
|
|
|
|
namespace Cms\Request\V20190101;
|
|
|
|
/**
|
|
* @deprecated Please use https://github.com/aliyun/openapi-sdk-php
|
|
*
|
|
* Request of EnableEventRules
|
|
*
|
|
* @method array getRuleNamess()
|
|
*/
|
|
class EnableEventRulesRequest extends \RpcAcsRequest
|
|
{
|
|
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $method = 'PUT';
|
|
|
|
/**
|
|
* Class constructor.
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct(
|
|
'Cms',
|
|
'2019-01-01',
|
|
'EnableEventRules',
|
|
'cms'
|
|
);
|
|
}
|
|
|
|
/**
|
|
* @param array $ruleNames
|
|
*
|
|
* @return $this
|
|
*/
|
|
public function setRuleNamess(array $ruleNames)
|
|
{
|
|
$this->requestParameters['RuleNamess'] = $ruleNames;
|
|
foreach ($ruleNames as $i => $iValue) {
|
|
$this->queryParameters['RuleNames.' . ($i + 1)] = $iValue;
|
|
}
|
|
|
|
return $this;
|
|
}
|
|
}
|