GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 1f1cfd...79a933 )
by
unknown
07:58
created

BatchCreateIntantSiteMonitor::withTaskList()   B

Complexity

Conditions 7
Paths 33

Size

Total Lines 22
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 13
dl 0
loc 22
rs 8.8333
c 0
b 0
f 0
cc 7
nc 33
nop 1
1
<?php
2
3
namespace AlibabaCloud\Cms\V20190101;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddTags addTags(array $options = [])
9
 * @method ApplyMetricRuleTemplate applyMetricRuleTemplate(array $options = [])
10
 * @method BatchCreateIntantSiteMonitor batchCreateIntantSiteMonitor(array $options = [])
11
 * @method BatchCreateOnceSiteMonitor batchCreateOnceSiteMonitor(array $options = [])
12
 * @method CreateCmsCallNumOrder createCmsCallNumOrder(array $options = [])
13
 * @method CreateCmsOrder createCmsOrder(array $options = [])
14
 * @method CreateCmsSmspackageOrder createCmsSmspackageOrder(array $options = [])
15
 * @method CreateDynamicTagGroup createDynamicTagGroup(array $options = [])
16
 * @method CreateGroupMetricRules createGroupMetricRules(array $options = [])
17
 * @method CreateGroupMonitoringAgentProcess createGroupMonitoringAgentProcess(array $options = [])
18
 * @method CreateHostAvailability createHostAvailability(array $options = [])
19
 * @method CreateInstantSiteMonitor createInstantSiteMonitor(array $options = [])
20
 * @method CreateMetricRuleResources createMetricRuleResources(array $options = [])
21
 * @method CreateMetricRuleTemplate createMetricRuleTemplate(array $options = [])
22
 * @method CreateMonitorAgentProcess createMonitorAgentProcess(array $options = [])
23
 * @method CreateMonitorGroup createMonitorGroup(array $options = [])
24
 * @method CreateMonitorGroupByResourceGroupId createMonitorGroupByResourceGroupId(array $options = [])
25
 * @method CreateMonitorGroupInstances createMonitorGroupInstances(array $options = [])
26
 * @method CreateMonitorGroupNotifyPolicy createMonitorGroupNotifyPolicy(array $options = [])
27
 * @method CreateMonitoringAgentProcess createMonitoringAgentProcess(array $options = [])
28
 * @method CreateSiteMonitor createSiteMonitor(array $options = [])
29
 * @method DeleteContact deleteContact(array $options = [])
30
 * @method DeleteContactGroup deleteContactGroup(array $options = [])
31
 * @method DeleteCustomMetric deleteCustomMetric(array $options = [])
32
 * @method DeleteDynamicTagGroup deleteDynamicTagGroup(array $options = [])
33
 * @method DeleteEventRules deleteEventRules(array $options = [])
34
 * @method DeleteEventRuleTargets deleteEventRuleTargets(array $options = [])
35
 * @method DeleteExporterOutput deleteExporterOutput(array $options = [])
36
 * @method DeleteExporterRule deleteExporterRule(array $options = [])
37
 * @method DeleteGroupMonitoringAgentProcess deleteGroupMonitoringAgentProcess(array $options = [])
38
 * @method DeleteHostAvailability deleteHostAvailability(array $options = [])
39
 * @method DeleteLogMonitor deleteLogMonitor(array $options = [])
40
 * @method DeleteMetricRuleResources deleteMetricRuleResources(array $options = [])
41
 * @method DeleteMetricRules deleteMetricRules(array $options = [])
42
 * @method DeleteMetricRuleTargets deleteMetricRuleTargets(array $options = [])
43
 * @method DeleteMetricRuleTemplate deleteMetricRuleTemplate(array $options = [])
44
 * @method DeleteMonitorGroup deleteMonitorGroup(array $options = [])
45
 * @method DeleteMonitorGroupDynamicRule deleteMonitorGroupDynamicRule(array $options = [])
46
 * @method DeleteMonitorGroupInstances deleteMonitorGroupInstances(array $options = [])
47
 * @method DeleteMonitorGroupNotifyPolicy deleteMonitorGroupNotifyPolicy(array $options = [])
48
 * @method DeleteMonitoringAgentProcess deleteMonitoringAgentProcess(array $options = [])
49
 * @method DeleteSiteMonitors deleteSiteMonitors(array $options = [])
50
 * @method DescribeActiveMetricRuleList describeActiveMetricRuleList(array $options = [])
51
 * @method DescribeAlertHistoryList describeAlertHistoryList(array $options = [])
52
 * @method DescribeAlertingMetricRuleResources describeAlertingMetricRuleResources(array $options = [])
53
 * @method DescribeAlertLogCount describeAlertLogCount(array $options = [])
54
 * @method DescribeAlertLogHistogram describeAlertLogHistogram(array $options = [])
55
 * @method DescribeAlertLogList describeAlertLogList(array $options = [])
56
 * @method DescribeContactGroupList describeContactGroupList(array $options = [])
57
 * @method DescribeContactList describeContactList(array $options = [])
58
 * @method DescribeContactListByContactGroup describeContactListByContactGroup(array $options = [])
59
 * @method DescribeCustomEventAttribute describeCustomEventAttribute(array $options = [])
60
 * @method DescribeCustomEventCount describeCustomEventCount(array $options = [])
61
 * @method DescribeCustomEventHistogram describeCustomEventHistogram(array $options = [])
62
 * @method DescribeCustomMetricList describeCustomMetricList(array $options = [])
63
 * @method DescribeDynamicTagRuleList describeDynamicTagRuleList(array $options = [])
64
 * @method DescribeEventRuleAttribute describeEventRuleAttribute(array $options = [])
65
 * @method DescribeEventRuleList describeEventRuleList(array $options = [])
66
 * @method DescribeEventRuleTargetList describeEventRuleTargetList(array $options = [])
67
 * @method DescribeExporterOutputList describeExporterOutputList(array $options = [])
68
 * @method DescribeExporterRuleList describeExporterRuleList(array $options = [])
69
 * @method DescribeGroupMonitoringAgentProcess describeGroupMonitoringAgentProcess(array $options = [])
70
 * @method DescribeHostAvailabilityList describeHostAvailabilityList(array $options = [])
71
 * @method DescribeLogMonitorAttribute describeLogMonitorAttribute(array $options = [])
72
 * @method DescribeLogMonitorList describeLogMonitorList(array $options = [])
73
 * @method DescribeMetricData describeMetricData(array $options = [])
74
 * @method DescribeMetricLast describeMetricLast(array $options = [])
75
 * @method DescribeMetricList describeMetricList(array $options = [])
76
 * @method DescribeMetricMetaList describeMetricMetaList(array $options = [])
77
 * @method DescribeMetricRuleCount describeMetricRuleCount(array $options = [])
78
 * @method DescribeMetricRuleList describeMetricRuleList(array $options = [])
79
 * @method DescribeMetricRuleTargets describeMetricRuleTargets(array $options = [])
80
 * @method DescribeMetricRuleTemplateAttribute describeMetricRuleTemplateAttribute(array $options = [])
81
 * @method DescribeMetricRuleTemplateList describeMetricRuleTemplateList(array $options = [])
82
 * @method DescribeMetricTop describeMetricTop(array $options = [])
83
 * @method DescribeMonitorGroupCategories describeMonitorGroupCategories(array $options = [])
84
 * @method DescribeMonitorGroupDynamicRules describeMonitorGroupDynamicRules(array $options = [])
85
 * @method DescribeMonitorGroupInstanceAttribute describeMonitorGroupInstanceAttribute(array $options = [])
86
 * @method DescribeMonitorGroupInstances describeMonitorGroupInstances(array $options = [])
87
 * @method DescribeMonitorGroupNotifyPolicyList describeMonitorGroupNotifyPolicyList(array $options = [])
88
 * @method DescribeMonitorGroups describeMonitorGroups(array $options = [])
89
 * @method DescribeMonitoringAgentAccessKey describeMonitoringAgentAccessKey(array $options = [])
90
 * @method DescribeMonitoringAgentConfig describeMonitoringAgentConfig(array $options = [])
91
 * @method DescribeMonitoringAgentHosts describeMonitoringAgentHosts(array $options = [])
92
 * @method DescribeMonitoringAgentProcesses describeMonitoringAgentProcesses(array $options = [])
93
 * @method DescribeMonitoringAgentStatuses describeMonitoringAgentStatuses(array $options = [])
94
 * @method DescribeMonitoringConfig describeMonitoringConfig(array $options = [])
95
 * @method DescribeMonitorResourceQuotaAttribute describeMonitorResourceQuotaAttribute(array $options = [])
96
 * @method DescribeProductResourceTagKeyList describeProductResourceTagKeyList(array $options = [])
97
 * @method DescribeProductsOfActiveMetricRule describeProductsOfActiveMetricRule(array $options = [])
98
 * @method DescribeProjectMeta describeProjectMeta(array $options = [])
99
 * @method DescribeSiteMonitorAttribute describeSiteMonitorAttribute(array $options = [])
100
 * @method DescribeSiteMonitorData describeSiteMonitorData(array $options = [])
101
 * @method DescribeSiteMonitorISPCityList describeSiteMonitorISPCityList(array $options = [])
102
 * @method DescribeSiteMonitorList describeSiteMonitorList(array $options = [])
103
 * @method DescribeSiteMonitorLog describeSiteMonitorLog(array $options = [])
104
 * @method DescribeSiteMonitorQuota describeSiteMonitorQuota(array $options = [])
105
 * @method DescribeSiteMonitorStatistics describeSiteMonitorStatistics(array $options = [])
106
 * @method DescribeSystemEventAttribute describeSystemEventAttribute(array $options = [])
107
 * @method DescribeSystemEventCount describeSystemEventCount(array $options = [])
108
 * @method DescribeSystemEventHistogram describeSystemEventHistogram(array $options = [])
109
 * @method DescribeSystemEventMetaList describeSystemEventMetaList(array $options = [])
110
 * @method DescribeTagKeyList describeTagKeyList(array $options = [])
111
 * @method DescribeTagValueList describeTagValueList(array $options = [])
112
 * @method DescribeUnhealthyHostAvailability describeUnhealthyHostAvailability(array $options = [])
113
 * @method DisableActiveMetricRule disableActiveMetricRule(array $options = [])
114
 * @method DisableEventRules disableEventRules(array $options = [])
115
 * @method DisableHostAvailability disableHostAvailability(array $options = [])
116
 * @method DisableMetricRules disableMetricRules(array $options = [])
117
 * @method DisableSiteMonitors disableSiteMonitors(array $options = [])
118
 * @method EnableActiveMetricRule enableActiveMetricRule(array $options = [])
119
 * @method EnableEventRules enableEventRules(array $options = [])
120
 * @method EnableHostAvailability enableHostAvailability(array $options = [])
121
 * @method EnableMetricRules enableMetricRules(array $options = [])
122
 * @method EnableSiteMonitors enableSiteMonitors(array $options = [])
123
 * @method InstallMonitoringAgent installMonitoringAgent(array $options = [])
124
 * @method ModifyGroupMonitoringAgentProcess modifyGroupMonitoringAgentProcess(array $options = [])
125
 * @method ModifyHostAvailability modifyHostAvailability(array $options = [])
126
 * @method ModifyHostInfo modifyHostInfo(array $options = [])
127
 * @method ModifyMetricRuleTemplate modifyMetricRuleTemplate(array $options = [])
128
 * @method ModifyMonitorGroup modifyMonitorGroup(array $options = [])
129
 * @method ModifyMonitorGroupInstances modifyMonitorGroupInstances(array $options = [])
130
 * @method ModifySiteMonitor modifySiteMonitor(array $options = [])
131
 * @method OpenCmsService openCmsService(array $options = [])
132
 * @method PutContact putContact(array $options = [])
133
 * @method PutContactGroup putContactGroup(array $options = [])
134
 * @method PutCustomEvent putCustomEvent(array $options = [])
135
 * @method PutCustomEventRule putCustomEventRule(array $options = [])
136
 * @method PutCustomMetric putCustomMetric(array $options = [])
137
 * @method PutCustomMetricRule putCustomMetricRule(array $options = [])
138
 * @method PutEventRule putEventRule(array $options = [])
139
 * @method PutEventRuleTargets putEventRuleTargets(array $options = [])
140
 * @method PutExporterOutput putExporterOutput(array $options = [])
141
 * @method PutExporterRule putExporterRule(array $options = [])
142
 * @method PutGroupMetricRule putGroupMetricRule(array $options = [])
143
 * @method PutHybridMonitorMetricData putHybridMonitorMetricData(array $options = [])
144
 * @method PutLogMonitor putLogMonitor(array $options = [])
145
 * @method PutMetricRuleTargets putMetricRuleTargets(array $options = [])
146
 * @method PutMonitorGroupDynamicRule putMonitorGroupDynamicRule(array $options = [])
147
 * @method PutMonitoringConfig putMonitoringConfig(array $options = [])
148
 * @method PutResourceMetricRule putResourceMetricRule(array $options = [])
149
 * @method PutResourceMetricRules putResourceMetricRules(array $options = [])
150
 * @method RemoveTags removeTags(array $options = [])
151
 * @method SendDryRunSystemEvent sendDryRunSystemEvent(array $options = [])
152
 * @method UninstallMonitoringAgent uninstallMonitoringAgent(array $options = [])
153
 */
154
class CmsApiResolver extends ApiResolver
155
{
156
}
157
158
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
159
{
160
    /** @var string */
161
    public $product = 'Cms';
162
163
    /** @var string */
164
    public $version = '2019-01-01';
165
166
    /** @var string */
167
    public $method = 'POST';
168
169
    /** @var string */
170
    public $serviceCode = 'cms';
171
}
172
173
/**
174
 * @method array getGroupIds()
175
 * @method array getTag()
176
 */
177
class AddTags extends Rpc
178
{
179
180
    /**
181
     * @param array $groupIds
182
     *
183
     * @return $this
184
     */
185
	public function withGroupIds(array $groupIds)
186
	{
187
	    $this->data['GroupIds'] = $groupIds;
188
		foreach ($groupIds as $i => $iValue) {
189
			$this->options['query']['GroupIds.' . ($i + 1)] = $iValue;
190
		}
191
192
		return $this;
193
    }
194
195
    /**
196
     * @param array $tag
197
     *
198
     * @return $this
199
     */
200
	public function withTag(array $tag)
201
	{
202
	    $this->data['Tag'] = $tag;
203
		foreach ($tag as $depth1 => $depth1Value) {
204
			if(isset($depth1Value['Value'])){
205
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
206
			}
207
			if(isset($depth1Value['Key'])){
208
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
209
			}
210
		}
211
212
		return $this;
213
    }
214
}
215
216
/**
217
 * @method string getApplyMode()
218
 * @method $this withApplyMode($value)
219
 * @method string getWebhook()
220
 * @method $this withWebhook($value)
221
 * @method string getTemplateIds()
222
 * @method $this withTemplateIds($value)
223
 * @method string getEnableEndTime()
224
 * @method $this withEnableEndTime($value)
225
 * @method string getGroupId()
226
 * @method $this withGroupId($value)
227
 * @method string getNotifyLevel()
228
 * @method $this withNotifyLevel($value)
229
 * @method string getEnableStartTime()
230
 * @method $this withEnableStartTime($value)
231
 * @method string getSilenceTime()
232
 * @method $this withSilenceTime($value)
233
 */
234
class ApplyMetricRuleTemplate extends Rpc
235
{
236
}
237
238
/**
239
 * @method array getTaskList()
240
 */
241
class BatchCreateIntantSiteMonitor extends Rpc
242
{
243
244
    /**
245
     * @param array $taskList
246
     *
247
     * @return $this
248
     */
249
	public function withTaskList(array $taskList)
250
	{
251
	    $this->data['TaskList'] = $taskList;
252
		foreach ($taskList as $depth1 => $depth1Value) {
253
			if(isset($depth1Value['OptionsJson'])){
254
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.OptionsJson'] = $depth1Value['OptionsJson'];
255
			}
256
			if(isset($depth1Value['Address'])){
257
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.Address'] = $depth1Value['Address'];
258
			}
259
			if(isset($depth1Value['TaskType'])){
260
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.TaskType'] = $depth1Value['TaskType'];
261
			}
262
			if(isset($depth1Value['TaskName'])){
263
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.TaskName'] = $depth1Value['TaskName'];
264
			}
265
			if(isset($depth1Value['IspCities'])){
266
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.IspCities'] = $depth1Value['IspCities'];
267
			}
268
		}
269
270
		return $this;
271
    }
272
}
273
274
/**
275
 * @method array getTaskList()
276
 */
277
class BatchCreateOnceSiteMonitor extends Rpc
278
{
279
280
    /**
281
     * @param array $taskList
282
     *
283
     * @return $this
284
     */
285
	public function withTaskList(array $taskList)
286
	{
287
	    $this->data['TaskList'] = $taskList;
288
		foreach ($taskList as $depth1 => $depth1Value) {
289
			if(isset($depth1Value['OptionsJson'])){
290
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.OptionsJson'] = $depth1Value['OptionsJson'];
291
			}
292
			if(isset($depth1Value['Address'])){
293
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.Address'] = $depth1Value['Address'];
294
			}
295
			if(isset($depth1Value['TaskType'])){
296
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.TaskType'] = $depth1Value['TaskType'];
297
			}
298
			if(isset($depth1Value['TaskName'])){
299
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.TaskName'] = $depth1Value['TaskName'];
300
			}
301
			if(isset($depth1Value['IspCities'])){
302
				$this->options['query']['TaskList.' . ($depth1 + 1) . '.IspCities'] = $depth1Value['IspCities'];
303
			}
304
		}
305
306
		return $this;
307
    }
308
}
309
310
/**
311
 * @method string getAutoRenewPeriod()
312
 * @method $this withAutoRenewPeriod($value)
313
 * @method string getPeriod()
314
 * @method $this withPeriod($value)
315
 * @method string getAutoPay()
316
 * @method $this withAutoPay($value)
317
 * @method string getAutoUseCoupon()
318
 * @method $this withAutoUseCoupon($value)
319
 * @method string getPeriodUnit()
320
 * @method $this withPeriodUnit($value)
321
 * @method string getPhoneCount()
322
 * @method $this withPhoneCount($value)
323
 */
324
class CreateCmsCallNumOrder extends Rpc
325
{
326
}
327
328
/**
329
 * @method string getSmsCount()
330
 * @method $this withSmsCount($value)
331
 * @method string getAutoUseCoupon()
332
 * @method $this withAutoUseCoupon($value)
333
 * @method string getLogMonitorStream()
334
 * @method $this withLogMonitorStream($value)
335
 * @method string getCustomTimeSeries()
336
 * @method $this withCustomTimeSeries($value)
337
 * @method string getApiCount()
338
 * @method $this withApiCount($value)
339
 * @method string getPhoneCount()
340
 * @method $this withPhoneCount($value)
341
 * @method string getAutoRenewPeriod()
342
 * @method $this withAutoRenewPeriod($value)
343
 * @method string getPeriod()
344
 * @method $this withPeriod($value)
345
 * @method string getAutoPay()
346
 * @method $this withAutoPay($value)
347
 * @method string getSuggestType()
348
 * @method $this withSuggestType($value)
349
 * @method string getEventStoreNum()
350
 * @method $this withEventStoreNum($value)
351
 * @method string getSiteTaskNum()
352
 * @method $this withSiteTaskNum($value)
353
 * @method string getPeriodUnit()
354
 * @method $this withPeriodUnit($value)
355
 * @method string getSiteOperatorNum()
356
 * @method $this withSiteOperatorNum($value)
357
 * @method string getSiteEcsNum()
358
 * @method $this withSiteEcsNum($value)
359
 * @method string getEventStoreTime()
360
 * @method $this withEventStoreTime($value)
361
 * @method string getPayType()
362
 * @method $this withPayType($value)
363
 */
364
class CreateCmsOrder extends Rpc
365
{
366
}
367
368
/**
369
 * @method string getAutoRenewPeriod()
370
 * @method $this withAutoRenewPeriod($value)
371
 * @method string getPeriod()
372
 * @method $this withPeriod($value)
373
 * @method string getAutoPay()
374
 * @method $this withAutoPay($value)
375
 * @method string getSmsCount()
376
 * @method $this withSmsCount($value)
377
 * @method string getAutoUseCoupon()
378
 * @method $this withAutoUseCoupon($value)
379
 * @method string getPeriodUnit()
380
 * @method $this withPeriodUnit($value)
381
 */
382
class CreateCmsSmspackageOrder extends Rpc
383
{
384
}
385
386
/**
387
 * @method string getEnableSubscribeEvent()
388
 * @method $this withEnableSubscribeEvent($value)
389
 * @method string getMatchExpressFilterRelation()
390
 * @method $this withMatchExpressFilterRelation($value)
391
 * @method string getEnableInstallAgent()
392
 * @method $this withEnableInstallAgent($value)
393
 * @method array getMatchExpress()
394
 * @method array getContactGroupList()
395
 * @method array getTemplateIdList()
396
 * @method string getTagKey()
397
 * @method $this withTagKey($value)
398
 * @method string getTagRegionId()
399
 * @method $this withTagRegionId($value)
400
 */
401
class CreateDynamicTagGroup extends Rpc
402
{
403
404
    /**
405
     * @param array $matchExpress
406
     *
407
     * @return $this
408
     */
409
	public function withMatchExpress(array $matchExpress)
410
	{
411
	    $this->data['MatchExpress'] = $matchExpress;
412
		foreach ($matchExpress as $depth1 => $depth1Value) {
413
			if(isset($depth1Value['TagValue'])){
414
				$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
415
			}
416
			if(isset($depth1Value['TagValueMatchFunction'])){
417
				$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.TagValueMatchFunction'] = $depth1Value['TagValueMatchFunction'];
418
			}
419
		}
420
421
		return $this;
422
    }
423
424
    /**
425
     * @param array $contactGroupList
426
     *
427
     * @return $this
428
     */
429
	public function withContactGroupList(array $contactGroupList)
430
	{
431
	    $this->data['ContactGroupList'] = $contactGroupList;
432
		foreach ($contactGroupList as $i => $iValue) {
433
			$this->options['query']['ContactGroupList.' . ($i + 1)] = $iValue;
434
		}
435
436
		return $this;
437
    }
438
439
    /**
440
     * @param array $templateIdList
441
     *
442
     * @return $this
443
     */
444
	public function withTemplateIdList(array $templateIdList)
445
	{
446
	    $this->data['TemplateIdList'] = $templateIdList;
447
		foreach ($templateIdList as $i => $iValue) {
448
			$this->options['query']['TemplateIdList.' . ($i + 1)] = $iValue;
449
		}
450
451
		return $this;
452
    }
453
}
454
455
/**
456
 * @method string getGroupId()
457
 * @method $this withGroupId($value)
458
 * @method array getGroupMetricRules()
459
 */
460
class CreateGroupMetricRules extends Rpc
461
{
462
463
    /**
464
     * @param array $groupMetricRules
465
     *
466
     * @return $this
467
     */
468
	public function withGroupMetricRules(array $groupMetricRules)
469
	{
470
	    $this->data['GroupMetricRules'] = $groupMetricRules;
471
		foreach ($groupMetricRules as $depth1 => $depth1Value) {
472
			if(isset($depth1Value['Webhook'])){
473
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
474
			}
475
			if(isset($depth1Value['EscalationsWarnComparisonOperator'])){
476
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
477
			}
478
			if(isset($depth1Value['DynamicAlertSensitivity'])){
479
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.DynamicAlertSensitivity'] = $depth1Value['DynamicAlertSensitivity'];
480
			}
481
			if(isset($depth1Value['RuleName'])){
482
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
483
			}
484
			if(isset($depth1Value['EscalationsInfoStatistics'])){
485
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
486
			}
487
			if(isset($depth1Value['EffectiveInterval'])){
488
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
489
			}
490
			if(isset($depth1Value['DynamicAlertHistoryDataRange'])){
491
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.DynamicAlertHistoryDataRange'] = $depth1Value['DynamicAlertHistoryDataRange'];
492
			}
493
			if(isset($depth1Value['EscalationsWarnPreCondition'])){
494
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.PreCondition'] = $depth1Value['EscalationsWarnPreCondition'];
495
			}
496
			if(isset($depth1Value['EscalationsInfoComparisonOperator'])){
497
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
498
			}
499
			if(isset($depth1Value['NoDataPolicy'])){
500
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.NoDataPolicy'] = $depth1Value['NoDataPolicy'];
501
			}
502
			if(isset($depth1Value['NoEffectiveInterval'])){
503
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
504
			}
505
			if(isset($depth1Value['EmailSubject'])){
506
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.EmailSubject'] = $depth1Value['EmailSubject'];
507
			}
508
			if(isset($depth1Value['SilenceTime'])){
509
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
510
			}
511
			if(isset($depth1Value['EscalationsInfoPreCondition'])){
512
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.PreCondition'] = $depth1Value['EscalationsInfoPreCondition'];
513
			}
514
			if(isset($depth1Value['MetricName'])){
515
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
516
			}
517
			if(isset($depth1Value['EscalationsWarnTimes'])){
518
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
519
			}
520
			if(isset($depth1Value['CompositeExpression'])){
521
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.CompositeExpression'] = $depth1Value['CompositeExpression'];
522
			}
523
			if(isset($depth1Value['EscalationsWarnThreshold'])){
524
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
525
			}
526
			if(isset($depth1Value['Period'])){
527
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
528
			}
529
			if(isset($depth1Value['ContactGroups'])){
530
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.ContactGroups'] = $depth1Value['ContactGroups'];
531
			}
532
			if(isset($depth1Value['EscalationsCriticalStatistics'])){
533
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
534
			}
535
			if(isset($depth1Value['RuleType'])){
536
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.RuleType'] = $depth1Value['RuleType'];
537
			}
538
			if(isset($depth1Value['EscalationsInfoTimes'])){
539
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
540
			}
541
			if(isset($depth1Value['ExtraDimensionJson'])){
542
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.ExtraDimensionJson'] = $depth1Value['ExtraDimensionJson'];
543
			}
544
			foreach ($depth1Value['Labels'] as $depth2 => $depth2Value) {
545
				if(isset($depth2Value['Value'])){
546
					$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Labels.' . ($depth2 + 1) . '.Value'] = $depth2Value['Value'];
547
				}
548
				if(isset($depth2Value['Key'])){
549
					$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Labels.' . ($depth2 + 1) . '.Key'] = $depth2Value['Key'];
550
				}
551
			}
552
			if(isset($depth1Value['EscalationsCriticalTimes'])){
553
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
554
			}
555
			if(isset($depth1Value['EscalationsInfoThreshold'])){
556
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
557
			}
558
			if(isset($depth1Value['EscalationsWarnStatistics'])){
559
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
560
			}
561
			if(isset($depth1Value['Namespace'])){
562
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
563
			}
564
			if(isset($depth1Value['Interval'])){
565
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Interval'] = $depth1Value['Interval'];
566
			}
567
			if(isset($depth1Value['RuleId'])){
568
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.RuleId'] = $depth1Value['RuleId'];
569
			}
570
			if(isset($depth1Value['Category'])){
571
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
572
			}
573
			if(isset($depth1Value['EscalationsCriticalComparisonOperator'])){
574
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
575
			}
576
			if(isset($depth1Value['EscalationsCriticalPreCondition'])){
577
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.PreCondition'] = $depth1Value['EscalationsCriticalPreCondition'];
578
			}
579
			if(isset($depth1Value['EscalationsCriticalThreshold'])){
580
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
581
			}
582
			if(isset($depth1Value['Dimensions'])){
583
				$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Dimensions'] = $depth1Value['Dimensions'];
584
			}
585
		}
586
587
		return $this;
588
    }
589
}
590
591
/**
592
 * @method array getAlertConfig()
593
 * @method string getGroupId()
594
 * @method $this withGroupId($value)
595
 * @method string getProcessName()
596
 * @method $this withProcessName($value)
597
 * @method string getMatchExpressFilterRelation()
598
 * @method $this withMatchExpressFilterRelation($value)
599
 * @method array getMatchExpress()
600
 */
601
class CreateGroupMonitoringAgentProcess extends Rpc
602
{
603
604
    /**
605
     * @param array $alertConfig
606
     *
607
     * @return $this
608
     */
609
	public function withAlertConfig(array $alertConfig)
610
	{
611
	    $this->data['AlertConfig'] = $alertConfig;
612
		foreach ($alertConfig as $depth1 => $depth1Value) {
613
			if(isset($depth1Value['Times'])){
614
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
615
			}
616
			if(isset($depth1Value['Webhook'])){
617
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
618
			}
619
			if(isset($depth1Value['NoEffectiveInterval'])){
620
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
621
			}
622
			if(isset($depth1Value['SilenceTime'])){
623
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
624
			}
625
			if(isset($depth1Value['Threshold'])){
626
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
627
			}
628
			if(isset($depth1Value['ComparisonOperator'])){
629
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
630
			}
631
			if(isset($depth1Value['EffectiveInterval'])){
632
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
633
			}
634
			if(isset($depth1Value['EscalationsLevel'])){
635
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EscalationsLevel'] = $depth1Value['EscalationsLevel'];
636
			}
637
			if(isset($depth1Value['Statistics'])){
638
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
639
			}
640
		}
641
642
		return $this;
643
    }
644
645
    /**
646
     * @param array $matchExpress
647
     *
648
     * @return $this
649
     */
650
	public function withMatchExpress(array $matchExpress)
651
	{
652
	    $this->data['MatchExpress'] = $matchExpress;
653
		foreach ($matchExpress as $depth1 => $depth1Value) {
654
			if(isset($depth1Value['Function'])){
655
				$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.Function'] = $depth1Value['Function'];
656
			}
657
			if(isset($depth1Value['Name'])){
658
				$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
659
			}
660
			if(isset($depth1Value['Value'])){
661
				$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
662
			}
663
		}
664
665
		return $this;
666
    }
667
}
668
669
/**
670
 * @method string getTaskOptionHttpMethod()
671
 * @method string getTaskOptionHttpHeader()
672
 * @method array getAlertConfigEscalationList()
673
 * @method string getTaskName()
674
 * @method $this withTaskName($value)
675
 * @method string getAlertConfigSilenceTime()
676
 * @method string getTaskOptionHttpResponseCharset()
677
 * @method string getTaskOptionHttpNegative()
678
 * @method string getTaskOptionInterval()
679
 * @method string getAlertConfigNotifyType()
680
 * @method string getTaskOptionTelnetOrPingHost()
681
 * @method string getTaskOptionHttpResponseMatchContent()
682
 * @method array getInstanceList()
683
 * @method string getTaskType()
684
 * @method $this withTaskType($value)
685
 * @method string getGroupId()
686
 * @method $this withGroupId($value)
687
 * @method string getAlertConfigEndTime()
688
 * @method string getTaskOptionHttpURI()
689
 * @method string getTaskScope()
690
 * @method $this withTaskScope($value)
691
 * @method string getTaskOptionHttpPostContent()
692
 * @method string getAlertConfigStartTime()
693
 * @method string getAlertConfigWebHook()
694
 */
695
class CreateHostAvailability extends Rpc
696
{
697
698
    /**
699
     * @param string $value
700
     *
701
     * @return $this
702
     */
703
    public function withTaskOptionHttpMethod($value)
704
    {
705
        $this->data['TaskOptionHttpMethod'] = $value;
706
        $this->options['query']['TaskOption.HttpMethod'] = $value;
707
708
        return $this;
709
    }
710
711
    /**
712
     * @param string $value
713
     *
714
     * @return $this
715
     */
716
    public function withTaskOptionHttpHeader($value)
717
    {
718
        $this->data['TaskOptionHttpHeader'] = $value;
719
        $this->options['query']['TaskOption.HttpHeader'] = $value;
720
721
        return $this;
722
    }
723
724
    /**
725
     * @param array $alertConfigEscalationList
726
     *
727
     * @return $this
728
     */
729
	public function withAlertConfigEscalationList(array $alertConfigEscalationList)
730
	{
731
	    $this->data['AlertConfigEscalationList'] = $alertConfigEscalationList;
732
		foreach ($alertConfigEscalationList as $depth1 => $depth1Value) {
733
			if(isset($depth1Value['Times'])){
734
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
735
			}
736
			if(isset($depth1Value['MetricName'])){
737
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
738
			}
739
			if(isset($depth1Value['Value'])){
740
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
741
			}
742
			if(isset($depth1Value['Operator'])){
743
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Operator'] = $depth1Value['Operator'];
744
			}
745
			if(isset($depth1Value['Aggregate'])){
746
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Aggregate'] = $depth1Value['Aggregate'];
747
			}
748
		}
749
750
		return $this;
751
    }
752
753
    /**
754
     * @param string $value
755
     *
756
     * @return $this
757
     */
758
    public function withAlertConfigSilenceTime($value)
759
    {
760
        $this->data['AlertConfigSilenceTime'] = $value;
761
        $this->options['query']['AlertConfig.SilenceTime'] = $value;
762
763
        return $this;
764
    }
765
766
    /**
767
     * @param string $value
768
     *
769
     * @return $this
770
     */
771
    public function withTaskOptionHttpResponseCharset($value)
772
    {
773
        $this->data['TaskOptionHttpResponseCharset'] = $value;
774
        $this->options['query']['TaskOption.HttpResponseCharset'] = $value;
775
776
        return $this;
777
    }
778
779
    /**
780
     * @param string $value
781
     *
782
     * @return $this
783
     */
784
    public function withTaskOptionHttpNegative($value)
785
    {
786
        $this->data['TaskOptionHttpNegative'] = $value;
787
        $this->options['query']['TaskOption.HttpNegative'] = $value;
788
789
        return $this;
790
    }
791
792
    /**
793
     * @param string $value
794
     *
795
     * @return $this
796
     */
797
    public function withTaskOptionInterval($value)
798
    {
799
        $this->data['TaskOptionInterval'] = $value;
800
        $this->options['query']['TaskOption.Interval'] = $value;
801
802
        return $this;
803
    }
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withAlertConfigNotifyType($value)
811
    {
812
        $this->data['AlertConfigNotifyType'] = $value;
813
        $this->options['query']['AlertConfig.NotifyType'] = $value;
814
815
        return $this;
816
    }
817
818
    /**
819
     * @param string $value
820
     *
821
     * @return $this
822
     */
823
    public function withTaskOptionTelnetOrPingHost($value)
824
    {
825
        $this->data['TaskOptionTelnetOrPingHost'] = $value;
826
        $this->options['query']['TaskOption.TelnetOrPingHost'] = $value;
827
828
        return $this;
829
    }
830
831
    /**
832
     * @param string $value
833
     *
834
     * @return $this
835
     */
836
    public function withTaskOptionHttpResponseMatchContent($value)
837
    {
838
        $this->data['TaskOptionHttpResponseMatchContent'] = $value;
839
        $this->options['query']['TaskOption.HttpResponseMatchContent'] = $value;
840
841
        return $this;
842
    }
843
844
    /**
845
     * @param array $instanceList
846
     *
847
     * @return $this
848
     */
849
	public function withInstanceList(array $instanceList)
850
	{
851
	    $this->data['InstanceList'] = $instanceList;
852
		foreach ($instanceList as $i => $iValue) {
853
			$this->options['query']['InstanceList.' . ($i + 1)] = $iValue;
854
		}
855
856
		return $this;
857
    }
858
859
    /**
860
     * @param string $value
861
     *
862
     * @return $this
863
     */
864
    public function withAlertConfigEndTime($value)
865
    {
866
        $this->data['AlertConfigEndTime'] = $value;
867
        $this->options['query']['AlertConfig.EndTime'] = $value;
868
869
        return $this;
870
    }
871
872
    /**
873
     * @param string $value
874
     *
875
     * @return $this
876
     */
877
    public function withTaskOptionHttpURI($value)
878
    {
879
        $this->data['TaskOptionHttpURI'] = $value;
880
        $this->options['query']['TaskOption.HttpURI'] = $value;
881
882
        return $this;
883
    }
884
885
    /**
886
     * @param string $value
887
     *
888
     * @return $this
889
     */
890
    public function withTaskOptionHttpPostContent($value)
891
    {
892
        $this->data['TaskOptionHttpPostContent'] = $value;
893
        $this->options['query']['TaskOption.HttpPostContent'] = $value;
894
895
        return $this;
896
    }
897
898
    /**
899
     * @param string $value
900
     *
901
     * @return $this
902
     */
903
    public function withAlertConfigStartTime($value)
904
    {
905
        $this->data['AlertConfigStartTime'] = $value;
906
        $this->options['query']['AlertConfig.StartTime'] = $value;
907
908
        return $this;
909
    }
910
911
    /**
912
     * @param string $value
913
     *
914
     * @return $this
915
     */
916
    public function withAlertConfigWebHook($value)
917
    {
918
        $this->data['AlertConfigWebHook'] = $value;
919
        $this->options['query']['AlertConfig.WebHook'] = $value;
920
921
        return $this;
922
    }
923
}
924
925
/**
926
 * @method string getRandomIspCity()
927
 * @method $this withRandomIspCity($value)
928
 * @method string getAddress()
929
 * @method $this withAddress($value)
930
 * @method string getTaskType()
931
 * @method $this withTaskType($value)
932
 * @method string getTaskName()
933
 * @method $this withTaskName($value)
934
 * @method string getIspCities()
935
 * @method $this withIspCities($value)
936
 * @method string getOptionsJson()
937
 * @method $this withOptionsJson($value)
938
 */
939
class CreateInstantSiteMonitor extends Rpc
940
{
941
}
942
943
/**
944
 * @method string getResources()
945
 * @method $this withResources($value)
946
 * @method string getRuleId()
947
 * @method $this withRuleId($value)
948
 * @method string getOverwrite()
949
 * @method $this withOverwrite($value)
950
 */
951
class CreateMetricRuleResources extends Rpc
952
{
953
}
954
955
/**
956
 * @method string getDescription()
957
 * @method $this withDescription($value)
958
 * @method string getName()
959
 * @method $this withName($value)
960
 * @method array getAlertTemplates()
961
 */
962
class CreateMetricRuleTemplate extends Rpc
963
{
964
965
    /**
966
     * @param array $alertTemplates
967
     *
968
     * @return $this
969
     */
970
	public function withAlertTemplates(array $alertTemplates)
971
	{
972
	    $this->data['AlertTemplates'] = $alertTemplates;
973
		foreach ($alertTemplates as $depth1 => $depth1Value) {
974
			if(isset($depth1Value['EscalationsWarnThreshold'])){
975
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
976
			}
977
			if(isset($depth1Value['Period'])){
978
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
979
			}
980
			if(isset($depth1Value['Webhook'])){
981
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
982
			}
983
			if(isset($depth1Value['EscalationsWarnComparisonOperator'])){
984
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
985
			}
986
			if(isset($depth1Value['EscalationsCriticalStatistics'])){
987
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
988
			}
989
			if(isset($depth1Value['EscalationsInfoTimes'])){
990
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
991
			}
992
			if(isset($depth1Value['RuleName'])){
993
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
994
			}
995
			if(isset($depth1Value['EscalationsInfoStatistics'])){
996
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
997
			}
998
			if(isset($depth1Value['EscalationsCriticalTimes'])){
999
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
1000
			}
1001
			if(isset($depth1Value['EscalationsInfoComparisonOperator'])){
1002
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
1003
			}
1004
			if(isset($depth1Value['EscalationsInfoThreshold'])){
1005
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
1006
			}
1007
			if(isset($depth1Value['EscalationsWarnStatistics'])){
1008
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
1009
			}
1010
			if(isset($depth1Value['Namespace'])){
1011
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
1012
			}
1013
			if(isset($depth1Value['Selector'])){
1014
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Selector'] = $depth1Value['Selector'];
1015
			}
1016
			if(isset($depth1Value['MetricName'])){
1017
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
1018
			}
1019
			if(isset($depth1Value['EscalationsWarnTimes'])){
1020
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
1021
			}
1022
			if(isset($depth1Value['Category'])){
1023
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1024
			}
1025
			if(isset($depth1Value['EscalationsCriticalComparisonOperator'])){
1026
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
1027
			}
1028
			if(isset($depth1Value['EscalationsCriticalThreshold'])){
1029
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
1030
			}
1031
		}
1032
1033
		return $this;
1034
    }
1035
}
1036
1037
/**
1038
 * @method string getProcessName()
1039
 * @method $this withProcessName($value)
1040
 * @method string getInstanceId()
1041
 * @method $this withInstanceId($value)
1042
 * @method string getProcessUser()
1043
 * @method $this withProcessUser($value)
1044
 */
1045
class CreateMonitorAgentProcess extends Rpc
1046
{
1047
}
1048
1049
/**
1050
 * @method string getType()
1051
 * @method $this withType($value)
1052
 * @method string getOptions()
1053
 * @method $this withOptions($value)
1054
 * @method string getBindUrl()
1055
 * @method $this withBindUrl($value)
1056
 * @method string getContactGroups()
1057
 * @method $this withContactGroups($value)
1058
 * @method string getGroupName()
1059
 * @method $this withGroupName($value)
1060
 * @method string getServiceId()
1061
 * @method $this withServiceId($value)
1062
 */
1063
class CreateMonitorGroup extends Rpc
1064
{
1065
}
1066
1067
/**
1068
 * @method string getResourceGroupName()
1069
 * @method $this withResourceGroupName($value)
1070
 * @method string getEnableSubscribeEvent()
1071
 * @method $this withEnableSubscribeEvent($value)
1072
 * @method string getResourceGroupId()
1073
 * @method $this withResourceGroupId($value)
1074
 * @method string getEnableInstallAgent()
1075
 * @method $this withEnableInstallAgent($value)
1076
 * @method array getContactGroupList()
1077
 */
1078
class CreateMonitorGroupByResourceGroupId extends Rpc
1079
{
1080
1081
    /**
1082
     * @param array $contactGroupList
1083
     *
1084
     * @return $this
1085
     */
1086
	public function withContactGroupList(array $contactGroupList)
1087
	{
1088
	    $this->data['ContactGroupList'] = $contactGroupList;
1089
		foreach ($contactGroupList as $i => $iValue) {
1090
			$this->options['query']['ContactGroupList.' . ($i + 1)] = $iValue;
1091
		}
1092
1093
		return $this;
1094
    }
1095
}
1096
1097
/**
1098
 * @method array getInstances()
1099
 * @method string getGroupId()
1100
 * @method $this withGroupId($value)
1101
 */
1102
class CreateMonitorGroupInstances extends Rpc
1103
{
1104
1105
    /**
1106
     * @param array $instances
1107
     *
1108
     * @return $this
1109
     */
1110
	public function withInstances(array $instances)
1111
	{
1112
	    $this->data['Instances'] = $instances;
1113
		foreach ($instances as $depth1 => $depth1Value) {
1114
			if(isset($depth1Value['InstanceName'])){
1115
				$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
1116
			}
1117
			if(isset($depth1Value['InstanceId'])){
1118
				$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceId'] = $depth1Value['InstanceId'];
1119
			}
1120
			if(isset($depth1Value['RegionId'])){
1121
				$this->options['query']['Instances.' . ($depth1 + 1) . '.RegionId'] = $depth1Value['RegionId'];
1122
			}
1123
			if(isset($depth1Value['Category'])){
1124
				$this->options['query']['Instances.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1125
			}
1126
		}
1127
1128
		return $this;
1129
    }
1130
}
1131
1132
/**
1133
 * @method string getPolicyType()
1134
 * @method $this withPolicyType($value)
1135
 * @method string getGroupId()
1136
 * @method $this withGroupId($value)
1137
 * @method string getEndTime()
1138
 * @method $this withEndTime($value)
1139
 * @method string getStartTime()
1140
 * @method $this withStartTime($value)
1141
 */
1142
class CreateMonitorGroupNotifyPolicy extends Rpc
1143
{
1144
}
1145
1146
/**
1147
 * @method string getProcessName()
1148
 * @method $this withProcessName($value)
1149
 * @method string getInstanceId()
1150
 * @method $this withInstanceId($value)
1151
 * @method string getProcessUser()
1152
 * @method $this withProcessUser($value)
1153
 */
1154
class CreateMonitoringAgentProcess extends Rpc
1155
{
1156
}
1157
1158
/**
1159
 * @method string getReportProject()
1160
 * @method $this withReportProject($value)
1161
 * @method string getTaskName()
1162
 * @method $this withTaskName($value)
1163
 * @method string getAlertIds()
1164
 * @method $this withAlertIds($value)
1165
 * @method string getAddress()
1166
 * @method $this withAddress($value)
1167
 * @method string getTaskType()
1168
 * @method $this withTaskType($value)
1169
 * @method string getEndTime()
1170
 * @method $this withEndTime($value)
1171
 * @method string getIspCities()
1172
 * @method $this withIspCities($value)
1173
 * @method string getOptionsJson()
1174
 * @method $this withOptionsJson($value)
1175
 * @method string getIntervalUnit()
1176
 * @method $this withIntervalUnit($value)
1177
 * @method string getInterval()
1178
 * @method $this withInterval($value)
1179
 */
1180
class CreateSiteMonitor extends Rpc
1181
{
1182
}
1183
1184
/**
1185
 * @method string getContactName()
1186
 * @method $this withContactName($value)
1187
 */
1188
class DeleteContact extends Rpc
1189
{
1190
}
1191
1192
/**
1193
 * @method string getContactGroupName()
1194
 * @method $this withContactGroupName($value)
1195
 */
1196
class DeleteContactGroup extends Rpc
1197
{
1198
}
1199
1200
/**
1201
 * @method string getGroupId()
1202
 * @method $this withGroupId($value)
1203
 * @method string getUUID()
1204
 * @method $this withUUID($value)
1205
 * @method string getMetricName()
1206
 * @method $this withMetricName($value)
1207
 * @method string getMd5()
1208
 * @method $this withMd5($value)
1209
 */
1210
class DeleteCustomMetric extends Rpc
1211
{
1212
}
1213
1214
/**
1215
 * @method string getDynamicTagRuleId()
1216
 * @method $this withDynamicTagRuleId($value)
1217
 */
1218
class DeleteDynamicTagGroup extends Rpc
1219
{
1220
}
1221
1222
/**
1223
 * @method array getRuleNames()
1224
 */
1225
class DeleteEventRules extends Rpc
1226
{
1227
1228
    /**
1229
     * @param array $ruleNames
1230
     *
1231
     * @return $this
1232
     */
1233
	public function withRuleNames(array $ruleNames)
1234
	{
1235
	    $this->data['RuleNames'] = $ruleNames;
1236
		foreach ($ruleNames as $i => $iValue) {
1237
			$this->options['query']['RuleNames.' . ($i + 1)] = $iValue;
1238
		}
1239
1240
		return $this;
1241
    }
1242
}
1243
1244
/**
1245
 * @method string getRuleName()
1246
 * @method $this withRuleName($value)
1247
 * @method array getIds()
1248
 */
1249
class DeleteEventRuleTargets extends Rpc
1250
{
1251
1252
    /**
1253
     * @param array $ids
1254
     *
1255
     * @return $this
1256
     */
1257
	public function withIds(array $ids)
1258
	{
1259
	    $this->data['Ids'] = $ids;
1260
		foreach ($ids as $i => $iValue) {
1261
			$this->options['query']['Ids.' . ($i + 1)] = $iValue;
1262
		}
1263
1264
		return $this;
1265
    }
1266
}
1267
1268
/**
1269
 * @method string getDestName()
1270
 * @method $this withDestName($value)
1271
 */
1272
class DeleteExporterOutput extends Rpc
1273
{
1274
}
1275
1276
/**
1277
 * @method string getRuleName()
1278
 * @method $this withRuleName($value)
1279
 */
1280
class DeleteExporterRule extends Rpc
1281
{
1282
}
1283
1284
/**
1285
 * @method string getGroupId()
1286
 * @method $this withGroupId($value)
1287
 * @method string getId()
1288
 * @method $this withId($value)
1289
 */
1290
class DeleteGroupMonitoringAgentProcess extends Rpc
1291
{
1292
}
1293
1294
/**
1295
 * @method array getId()
1296
 */
1297
class DeleteHostAvailability extends Rpc
1298
{
1299
1300
    /**
1301
     * @param array $id
1302
     *
1303
     * @return $this
1304
     */
1305
	public function withId(array $id)
1306
	{
1307
	    $this->data['Id'] = $id;
1308
		foreach ($id as $i => $iValue) {
1309
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
1310
		}
1311
1312
		return $this;
1313
    }
1314
}
1315
1316
/**
1317
 * @method string getLogId()
1318
 * @method $this withLogId($value)
1319
 */
1320
class DeleteLogMonitor extends Rpc
1321
{
1322
}
1323
1324
/**
1325
 * @method string getResources()
1326
 * @method $this withResources($value)
1327
 * @method string getRuleId()
1328
 * @method $this withRuleId($value)
1329
 */
1330
class DeleteMetricRuleResources extends Rpc
1331
{
1332
}
1333
1334
/**
1335
 * @method array getId()
1336
 */
1337
class DeleteMetricRules extends Rpc
1338
{
1339
1340
    /**
1341
     * @param array $id
1342
     *
1343
     * @return $this
1344
     */
1345
	public function withId(array $id)
1346
	{
1347
	    $this->data['Id'] = $id;
1348
		foreach ($id as $i => $iValue) {
1349
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
1350
		}
1351
1352
		return $this;
1353
    }
1354
}
1355
1356
/**
1357
 * @method array getTargetIds()
1358
 * @method string getRuleId()
1359
 * @method $this withRuleId($value)
1360
 */
1361
class DeleteMetricRuleTargets extends Rpc
1362
{
1363
1364
    /**
1365
     * @param array $targetIds
1366
     *
1367
     * @return $this
1368
     */
1369
	public function withTargetIds(array $targetIds)
1370
	{
1371
	    $this->data['TargetIds'] = $targetIds;
1372
		foreach ($targetIds as $i => $iValue) {
1373
			$this->options['query']['TargetIds.' . ($i + 1)] = $iValue;
1374
		}
1375
1376
		return $this;
1377
    }
1378
}
1379
1380
/**
1381
 * @method string getTemplateId()
1382
 * @method $this withTemplateId($value)
1383
 */
1384
class DeleteMetricRuleTemplate extends Rpc
1385
{
1386
}
1387
1388
/**
1389
 * @method string getGroupId()
1390
 * @method $this withGroupId($value)
1391
 */
1392
class DeleteMonitorGroup extends Rpc
1393
{
1394
}
1395
1396
/**
1397
 * @method string getGroupId()
1398
 * @method $this withGroupId($value)
1399
 * @method string getCategory()
1400
 * @method $this withCategory($value)
1401
 */
1402
class DeleteMonitorGroupDynamicRule extends Rpc
1403
{
1404
}
1405
1406
/**
1407
 * @method string getGroupId()
1408
 * @method $this withGroupId($value)
1409
 * @method string getInstanceIdList()
1410
 * @method $this withInstanceIdList($value)
1411
 * @method string getCategory()
1412
 * @method $this withCategory($value)
1413
 */
1414
class DeleteMonitorGroupInstances extends Rpc
1415
{
1416
}
1417
1418
/**
1419
 * @method string getPolicyType()
1420
 * @method $this withPolicyType($value)
1421
 * @method string getGroupId()
1422
 * @method $this withGroupId($value)
1423
 */
1424
class DeleteMonitorGroupNotifyPolicy extends Rpc
1425
{
1426
}
1427
1428
/**
1429
 * @method string getProcessName()
1430
 * @method $this withProcessName($value)
1431
 * @method string getInstanceId()
1432
 * @method $this withInstanceId($value)
1433
 * @method string getProcessId()
1434
 * @method $this withProcessId($value)
1435
 */
1436
class DeleteMonitoringAgentProcess extends Rpc
1437
{
1438
}
1439
1440
/**
1441
 * @method string getIsDeleteAlarms()
1442
 * @method $this withIsDeleteAlarms($value)
1443
 * @method string getTaskIds()
1444
 * @method $this withTaskIds($value)
1445
 */
1446
class DeleteSiteMonitors extends Rpc
1447
{
1448
}
1449
1450
/**
1451
 * @method string getProduct()
1452
 * @method $this withProduct($value)
1453
 */
1454
class DescribeActiveMetricRuleList extends Rpc
1455
{
1456
}
1457
1458
/**
1459
 * @method string getRuleName()
1460
 * @method $this withRuleName($value)
1461
 * @method string getStartTime()
1462
 * @method $this withStartTime($value)
1463
 * @method string getPageSize()
1464
 * @method $this withPageSize($value)
1465
 * @method string getState()
1466
 * @method $this withState($value)
1467
 * @method string getMetricName()
1468
 * @method $this withMetricName($value)
1469
 * @method string getGroupId()
1470
 * @method $this withGroupId($value)
1471
 * @method string getEndTime()
1472
 * @method $this withEndTime($value)
1473
 * @method string getAscending()
1474
 * @method $this withAscending($value)
1475
 * @method string getNamespace()
1476
 * @method $this withNamespace($value)
1477
 * @method string getPage()
1478
 * @method $this withPage($value)
1479
 * @method string getRuleId()
1480
 * @method $this withRuleId($value)
1481
 * @method string getStatus()
1482
 * @method $this withStatus($value)
1483
 */
1484
class DescribeAlertHistoryList extends Rpc
1485
{
1486
}
1487
1488
/**
1489
 * @method string getGroupId()
1490
 * @method $this withGroupId($value)
1491
 * @method string getPageSize()
1492
 * @method $this withPageSize($value)
1493
 * @method string getNamespace()
1494
 * @method $this withNamespace($value)
1495
 * @method string getPage()
1496
 * @method $this withPage($value)
1497
 * @method string getRuleId()
1498
 * @method $this withRuleId($value)
1499
 * @method string getDimensions()
1500
 * @method $this withDimensions($value)
1501
 */
1502
class DescribeAlertingMetricRuleResources extends Rpc
1503
{
1504
1505
    /** @var string */
1506
    public $method = 'GET';
1507
}
1508
1509
/**
1510
 * @method string getSendStatus()
1511
 * @method $this withSendStatus($value)
1512
 * @method string getContactGroup()
1513
 * @method $this withContactGroup($value)
1514
 * @method string getSearchKey()
1515
 * @method $this withSearchKey($value)
1516
 * @method string getRuleName()
1517
 * @method $this withRuleName($value)
1518
 * @method string getStartTime()
1519
 * @method $this withStartTime($value)
1520
 * @method string getPageNumber()
1521
 * @method $this withPageNumber($value)
1522
 * @method string getLastMin()
1523
 * @method $this withLastMin($value)
1524
 * @method string getPageSize()
1525
 * @method $this withPageSize($value)
1526
 * @method string getMetricName()
1527
 * @method $this withMetricName($value)
1528
 * @method string getProduct()
1529
 * @method $this withProduct($value)
1530
 * @method string getLevel()
1531
 * @method $this withLevel($value)
1532
 * @method string getGroupId()
1533
 * @method $this withGroupId($value)
1534
 * @method string getEndTime()
1535
 * @method $this withEndTime($value)
1536
 * @method string getGroupBy()
1537
 * @method $this withGroupBy($value)
1538
 * @method string getNamespace()
1539
 * @method $this withNamespace($value)
1540
 */
1541
class DescribeAlertLogCount extends Rpc
1542
{
1543
}
1544
1545
/**
1546
 * @method string getSendStatus()
1547
 * @method $this withSendStatus($value)
1548
 * @method string getContactGroup()
1549
 * @method $this withContactGroup($value)
1550
 * @method string getSearchKey()
1551
 * @method $this withSearchKey($value)
1552
 * @method string getRuleName()
1553
 * @method $this withRuleName($value)
1554
 * @method string getStartTime()
1555
 * @method $this withStartTime($value)
1556
 * @method string getPageNumber()
1557
 * @method $this withPageNumber($value)
1558
 * @method string getLastMin()
1559
 * @method $this withLastMin($value)
1560
 * @method string getPageSize()
1561
 * @method $this withPageSize($value)
1562
 * @method string getMetricName()
1563
 * @method $this withMetricName($value)
1564
 * @method string getProduct()
1565
 * @method $this withProduct($value)
1566
 * @method string getLevel()
1567
 * @method $this withLevel($value)
1568
 * @method string getGroupId()
1569
 * @method $this withGroupId($value)
1570
 * @method string getEndTime()
1571
 * @method $this withEndTime($value)
1572
 * @method string getGroupBy()
1573
 * @method $this withGroupBy($value)
1574
 * @method string getNamespace()
1575
 * @method $this withNamespace($value)
1576
 */
1577
class DescribeAlertLogHistogram extends Rpc
1578
{
1579
}
1580
1581
/**
1582
 * @method string getSendStatus()
1583
 * @method $this withSendStatus($value)
1584
 * @method string getContactGroup()
1585
 * @method $this withContactGroup($value)
1586
 * @method string getSearchKey()
1587
 * @method $this withSearchKey($value)
1588
 * @method string getRuleName()
1589
 * @method $this withRuleName($value)
1590
 * @method string getStartTime()
1591
 * @method $this withStartTime($value)
1592
 * @method string getPageNumber()
1593
 * @method $this withPageNumber($value)
1594
 * @method string getLastMin()
1595
 * @method $this withLastMin($value)
1596
 * @method string getPageSize()
1597
 * @method $this withPageSize($value)
1598
 * @method string getMetricName()
1599
 * @method $this withMetricName($value)
1600
 * @method string getProduct()
1601
 * @method $this withProduct($value)
1602
 * @method string getLevel()
1603
 * @method $this withLevel($value)
1604
 * @method string getGroupId()
1605
 * @method $this withGroupId($value)
1606
 * @method string getEndTime()
1607
 * @method $this withEndTime($value)
1608
 * @method string getGroupBy()
1609
 * @method $this withGroupBy($value)
1610
 * @method string getNamespace()
1611
 * @method $this withNamespace($value)
1612
 * @method string getRuleId()
1613
 * @method $this withRuleId($value)
1614
 */
1615
class DescribeAlertLogList extends Rpc
1616
{
1617
}
1618
1619
/**
1620
 * @method string getPageNumber()
1621
 * @method $this withPageNumber($value)
1622
 * @method string getPageSize()
1623
 * @method $this withPageSize($value)
1624
 */
1625
class DescribeContactGroupList extends Rpc
1626
{
1627
}
1628
1629
/**
1630
 * @method string getChanelType()
1631
 * @method $this withChanelType($value)
1632
 * @method string getPageNumber()
1633
 * @method $this withPageNumber($value)
1634
 * @method string getContactName()
1635
 * @method $this withContactName($value)
1636
 * @method string getPageSize()
1637
 * @method $this withPageSize($value)
1638
 * @method string getChanelValue()
1639
 * @method $this withChanelValue($value)
1640
 */
1641
class DescribeContactList extends Rpc
1642
{
1643
}
1644
1645
/**
1646
 * @method string getContactGroupName()
1647
 * @method $this withContactGroupName($value)
1648
 */
1649
class DescribeContactListByContactGroup extends Rpc
1650
{
1651
}
1652
1653
/**
1654
 * @method string getEventId()
1655
 * @method $this withEventId($value)
1656
 * @method string getStartTime()
1657
 * @method $this withStartTime($value)
1658
 * @method string getSearchKeywords()
1659
 * @method $this withSearchKeywords($value)
1660
 * @method string getPageNumber()
1661
 * @method $this withPageNumber($value)
1662
 * @method string getPageSize()
1663
 * @method $this withPageSize($value)
1664
 * @method string getGroupId()
1665
 * @method $this withGroupId($value)
1666
 * @method string getEndTime()
1667
 * @method $this withEndTime($value)
1668
 * @method string getName()
1669
 * @method $this withName($value)
1670
 */
1671
class DescribeCustomEventAttribute extends Rpc
1672
{
1673
}
1674
1675
/**
1676
 * @method string getEventId()
1677
 * @method $this withEventId($value)
1678
 * @method string getGroupId()
1679
 * @method $this withGroupId($value)
1680
 * @method string getEndTime()
1681
 * @method $this withEndTime($value)
1682
 * @method string getStartTime()
1683
 * @method $this withStartTime($value)
1684
 * @method string getSearchKeywords()
1685
 * @method $this withSearchKeywords($value)
1686
 * @method string getName()
1687
 * @method $this withName($value)
1688
 */
1689
class DescribeCustomEventCount extends Rpc
1690
{
1691
}
1692
1693
/**
1694
 * @method string getEventId()
1695
 * @method $this withEventId($value)
1696
 * @method string getLevel()
1697
 * @method $this withLevel($value)
1698
 * @method string getGroupId()
1699
 * @method $this withGroupId($value)
1700
 * @method string getEndTime()
1701
 * @method $this withEndTime($value)
1702
 * @method string getStartTime()
1703
 * @method $this withStartTime($value)
1704
 * @method string getSearchKeywords()
1705
 * @method $this withSearchKeywords($value)
1706
 * @method string getName()
1707
 * @method $this withName($value)
1708
 */
1709
class DescribeCustomEventHistogram extends Rpc
1710
{
1711
}
1712
1713
/**
1714
 * @method string getGroupId()
1715
 * @method $this withGroupId($value)
1716
 * @method string getPageNumber()
1717
 * @method $this withPageNumber($value)
1718
 * @method string getPageSize()
1719
 * @method $this withPageSize($value)
1720
 * @method string getMetricName()
1721
 * @method $this withMetricName($value)
1722
 * @method string getDimension()
1723
 * @method $this withDimension($value)
1724
 * @method string getMd5()
1725
 * @method $this withMd5($value)
1726
 */
1727
class DescribeCustomMetricList extends Rpc
1728
{
1729
}
1730
1731
/**
1732
 * @method string getTagValue()
1733
 * @method $this withTagValue($value)
1734
 * @method string getPageNumber()
1735
 * @method $this withPageNumber($value)
1736
 * @method string getPageSize()
1737
 * @method $this withPageSize($value)
1738
 * @method string getTagKey()
1739
 * @method $this withTagKey($value)
1740
 * @method string getTagRegionId()
1741
 * @method $this withTagRegionId($value)
1742
 */
1743
class DescribeDynamicTagRuleList extends Rpc
1744
{
1745
}
1746
1747
/**
1748
 * @method string getRuleName()
1749
 * @method $this withRuleName($value)
1750
 * @method string getSilenceTime()
1751
 * @method $this withSilenceTime($value)
1752
 */
1753
class DescribeEventRuleAttribute extends Rpc
1754
{
1755
}
1756
1757
/**
1758
 * @method string getPageNumber()
1759
 * @method $this withPageNumber($value)
1760
 * @method string getPageSize()
1761
 * @method $this withPageSize($value)
1762
 * @method string getNamePrefix()
1763
 * @method $this withNamePrefix($value)
1764
 * @method string getGroupId()
1765
 * @method $this withGroupId($value)
1766
 */
1767
class DescribeEventRuleList extends Rpc
1768
{
1769
}
1770
1771
/**
1772
 * @method string getRuleName()
1773
 * @method $this withRuleName($value)
1774
 */
1775
class DescribeEventRuleTargetList extends Rpc
1776
{
1777
}
1778
1779
/**
1780
 * @method string getPageNumber()
1781
 * @method $this withPageNumber($value)
1782
 * @method string getPageSize()
1783
 * @method $this withPageSize($value)
1784
 */
1785
class DescribeExporterOutputList extends Rpc
1786
{
1787
}
1788
1789
/**
1790
 * @method string getPageNumber()
1791
 * @method $this withPageNumber($value)
1792
 * @method string getPageSize()
1793
 * @method $this withPageSize($value)
1794
 */
1795
class DescribeExporterRuleList extends Rpc
1796
{
1797
}
1798
1799
/**
1800
 * @method string getGroupId()
1801
 * @method $this withGroupId($value)
1802
 * @method string getProcessName()
1803
 * @method $this withProcessName($value)
1804
 * @method string getPageNumber()
1805
 * @method $this withPageNumber($value)
1806
 * @method string getPageSize()
1807
 * @method $this withPageSize($value)
1808
 */
1809
class DescribeGroupMonitoringAgentProcess extends Rpc
1810
{
1811
}
1812
1813
/**
1814
 * @method string getGroupId()
1815
 * @method $this withGroupId($value)
1816
 * @method string getTaskName()
1817
 * @method $this withTaskName($value)
1818
 * @method string getPageNumber()
1819
 * @method $this withPageNumber($value)
1820
 * @method string getPageSize()
1821
 * @method $this withPageSize($value)
1822
 * @method string getIds()
1823
 * @method $this withIds($value)
1824
 * @method string getId()
1825
 * @method $this withId($value)
1826
 */
1827
class DescribeHostAvailabilityList extends Rpc
1828
{
1829
}
1830
1831
/**
1832
 * @method string getMetricName()
1833
 * @method $this withMetricName($value)
1834
 */
1835
class DescribeLogMonitorAttribute extends Rpc
1836
{
1837
1838
    /** @var string */
1839
    public $method = 'GET';
1840
}
1841
1842
/**
1843
 * @method string getGroupId()
1844
 * @method $this withGroupId($value)
1845
 * @method string getPageNumber()
1846
 * @method $this withPageNumber($value)
1847
 * @method string getPageSize()
1848
 * @method $this withPageSize($value)
1849
 * @method string getSearchValue()
1850
 * @method $this withSearchValue($value)
1851
 */
1852
class DescribeLogMonitorList extends Rpc
1853
{
1854
}
1855
1856
/**
1857
 * @method string getPeriod()
1858
 * @method $this withPeriod($value)
1859
 * @method string getLength()
1860
 * @method $this withLength($value)
1861
 * @method string getEndTime()
1862
 * @method $this withEndTime($value)
1863
 * @method string getExpress()
1864
 * @method $this withExpress($value)
1865
 * @method string getStartTime()
1866
 * @method $this withStartTime($value)
1867
 * @method string getNamespace()
1868
 * @method $this withNamespace($value)
1869
 * @method string getMetricName()
1870
 * @method $this withMetricName($value)
1871
 * @method string getDimensions()
1872
 * @method $this withDimensions($value)
1873
 */
1874
class DescribeMetricData extends Rpc
1875
{
1876
}
1877
1878
/**
1879
 * @method string getExpress()
1880
 * @method $this withExpress($value)
1881
 * @method string getStartTime()
1882
 * @method $this withStartTime($value)
1883
 * @method string getNextToken()
1884
 * @method $this withNextToken($value)
1885
 * @method string getMetricName()
1886
 * @method $this withMetricName($value)
1887
 * @method string getPeriod()
1888
 * @method $this withPeriod($value)
1889
 * @method string getLength()
1890
 * @method $this withLength($value)
1891
 * @method string getEndTime()
1892
 * @method $this withEndTime($value)
1893
 * @method string getNamespace()
1894
 * @method $this withNamespace($value)
1895
 * @method string getDimensions()
1896
 * @method $this withDimensions($value)
1897
 */
1898
class DescribeMetricLast extends Rpc
1899
{
1900
}
1901
1902
/**
1903
 * @method string getExpress()
1904
 * @method $this withExpress($value)
1905
 * @method string getStartTime()
1906
 * @method $this withStartTime($value)
1907
 * @method string getNextToken()
1908
 * @method $this withNextToken($value)
1909
 * @method string getMetricName()
1910
 * @method $this withMetricName($value)
1911
 * @method string getPeriod()
1912
 * @method $this withPeriod($value)
1913
 * @method string getLength()
1914
 * @method $this withLength($value)
1915
 * @method string getEndTime()
1916
 * @method $this withEndTime($value)
1917
 * @method string getNamespace()
1918
 * @method $this withNamespace($value)
1919
 * @method string getDimensions()
1920
 * @method $this withDimensions($value)
1921
 */
1922
class DescribeMetricList extends Rpc
1923
{
1924
}
1925
1926
/**
1927
 * @method string getPageNumber()
1928
 * @method $this withPageNumber($value)
1929
 * @method string getLabels()
1930
 * @method $this withLabels($value)
1931
 * @method string getNamespace()
1932
 * @method $this withNamespace($value)
1933
 * @method string getPageSize()
1934
 * @method $this withPageSize($value)
1935
 * @method string getMetricName()
1936
 * @method $this withMetricName($value)
1937
 */
1938
class DescribeMetricMetaList extends Rpc
1939
{
1940
}
1941
1942
/**
1943
 * @method string getNamespace()
1944
 * @method $this withNamespace($value)
1945
 * @method string getMetricName()
1946
 * @method $this withMetricName($value)
1947
 */
1948
class DescribeMetricRuleCount extends Rpc
1949
{
1950
1951
    /** @var string */
1952
    public $method = 'GET';
1953
}
1954
1955
/**
1956
 * @method string getEnableState()
1957
 * @method $this withEnableState($value)
1958
 * @method string getRuleName()
1959
 * @method $this withRuleName($value)
1960
 * @method string getPageSize()
1961
 * @method $this withPageSize($value)
1962
 * @method string getMetricName()
1963
 * @method $this withMetricName($value)
1964
 * @method string getGroupId()
1965
 * @method $this withGroupId($value)
1966
 * @method string getGroupBy()
1967
 * @method $this withGroupBy($value)
1968
 * @method string getRuleIds()
1969
 * @method $this withRuleIds($value)
1970
 * @method string getNamespace()
1971
 * @method $this withNamespace($value)
1972
 * @method string getAlertState()
1973
 * @method $this withAlertState($value)
1974
 * @method string getPage()
1975
 * @method $this withPage($value)
1976
 * @method string getDimensions()
1977
 * @method $this withDimensions($value)
1978
 */
1979
class DescribeMetricRuleList extends Rpc
1980
{
1981
}
1982
1983
/**
1984
 * @method string getRuleId()
1985
 * @method $this withRuleId($value)
1986
 */
1987
class DescribeMetricRuleTargets extends Rpc
1988
{
1989
}
1990
1991
/**
1992
 * @method string getTemplateId()
1993
 * @method $this withTemplateId($value)
1994
 * @method string getName()
1995
 * @method $this withName($value)
1996
 */
1997
class DescribeMetricRuleTemplateAttribute extends Rpc
1998
{
1999
}
2000
2001
/**
2002
 * @method string getOrderBy()
2003
 * @method $this withOrderBy($value)
2004
 * @method string getHistory()
2005
 * @method $this withHistory($value)
2006
 * @method string getTemplateId()
2007
 * @method $this withTemplateId($value)
2008
 * @method string getPageNumber()
2009
 * @method $this withPageNumber($value)
2010
 * @method string getName()
2011
 * @method $this withName($value)
2012
 * @method string getPageSize()
2013
 * @method $this withPageSize($value)
2014
 * @method string getKeyword()
2015
 * @method $this withKeyword($value)
2016
 * @method string getOrder()
2017
 * @method $this withOrder($value)
2018
 */
2019
class DescribeMetricRuleTemplateList extends Rpc
2020
{
2021
}
2022
2023
/**
2024
 * @method string getExpress()
2025
 * @method $this withExpress($value)
2026
 * @method string getStartTime()
2027
 * @method $this withStartTime($value)
2028
 * @method string getMetricName()
2029
 * @method $this withMetricName($value)
2030
 * @method string getPeriod()
2031
 * @method $this withPeriod($value)
2032
 * @method string getLength()
2033
 * @method $this withLength($value)
2034
 * @method string getEndTime()
2035
 * @method $this withEndTime($value)
2036
 * @method string getOrderby()
2037
 * @method $this withOrderby($value)
2038
 * @method string getOrderDesc()
2039
 * @method $this withOrderDesc($value)
2040
 * @method string getNamespace()
2041
 * @method $this withNamespace($value)
2042
 * @method string getDimensions()
2043
 * @method $this withDimensions($value)
2044
 */
2045
class DescribeMetricTop extends Rpc
2046
{
2047
}
2048
2049
/**
2050
 * @method string getGroupId()
2051
 * @method $this withGroupId($value)
2052
 */
2053
class DescribeMonitorGroupCategories extends Rpc
2054
{
2055
}
2056
2057
/**
2058
 * @method string getGroupId()
2059
 * @method $this withGroupId($value)
2060
 */
2061
class DescribeMonitorGroupDynamicRules extends Rpc
2062
{
2063
}
2064
2065
/**
2066
 * @method string getGroupId()
2067
 * @method $this withGroupId($value)
2068
 * @method string getPageNumber()
2069
 * @method $this withPageNumber($value)
2070
 * @method string getTotal()
2071
 * @method $this withTotal($value)
2072
 * @method string getInstanceIds()
2073
 * @method $this withInstanceIds($value)
2074
 * @method string getPageSize()
2075
 * @method $this withPageSize($value)
2076
 * @method string getCategory()
2077
 * @method $this withCategory($value)
2078
 * @method string getKeyword()
2079
 * @method $this withKeyword($value)
2080
 */
2081
class DescribeMonitorGroupInstanceAttribute extends Rpc
2082
{
2083
}
2084
2085
/**
2086
 * @method string getGroupId()
2087
 * @method $this withGroupId($value)
2088
 * @method string getPageNumber()
2089
 * @method $this withPageNumber($value)
2090
 * @method string getInstanceIds()
2091
 * @method $this withInstanceIds($value)
2092
 * @method string getPageSize()
2093
 * @method $this withPageSize($value)
2094
 * @method string getCategory()
2095
 * @method $this withCategory($value)
2096
 * @method string getKeyword()
2097
 * @method $this withKeyword($value)
2098
 */
2099
class DescribeMonitorGroupInstances extends Rpc
2100
{
2101
}
2102
2103
/**
2104
 * @method string getPolicyType()
2105
 * @method $this withPolicyType($value)
2106
 * @method string getGroupId()
2107
 * @method $this withGroupId($value)
2108
 * @method string getPageNumber()
2109
 * @method $this withPageNumber($value)
2110
 * @method string getPageSize()
2111
 * @method $this withPageSize($value)
2112
 */
2113
class DescribeMonitorGroupNotifyPolicyList extends Rpc
2114
{
2115
}
2116
2117
/**
2118
 * @method string getSelectContactGroups()
2119
 * @method $this withSelectContactGroups($value)
2120
 * @method string getIncludeTemplateHistory()
2121
 * @method $this withIncludeTemplateHistory($value)
2122
 * @method string getDynamicTagRuleId()
2123
 * @method $this withDynamicTagRuleId($value)
2124
 * @method string getType()
2125
 * @method $this withType($value)
2126
 * @method string getPageNumber()
2127
 * @method $this withPageNumber($value)
2128
 * @method string getResourceGroupId()
2129
 * @method $this withResourceGroupId($value)
2130
 * @method string getGroupFounderTagKey()
2131
 * @method $this withGroupFounderTagKey($value)
2132
 * @method string getPageSize()
2133
 * @method $this withPageSize($value)
2134
 * @method string getGroupFounderTagValue()
2135
 * @method $this withGroupFounderTagValue($value)
2136
 * @method array getTag()
2137
 * @method string getKeyword()
2138
 * @method $this withKeyword($value)
2139
 * @method string getGroupId()
2140
 * @method $this withGroupId($value)
2141
 * @method string getGroupName()
2142
 * @method $this withGroupName($value)
2143
 * @method string getInstanceId()
2144
 * @method $this withInstanceId($value)
2145
 * @method string getServiceId()
2146
 * @method $this withServiceId($value)
2147
 */
2148
class DescribeMonitorGroups extends Rpc
2149
{
2150
2151
    /**
2152
     * @param array $tag
2153
     *
2154
     * @return $this
2155
     */
2156
	public function withTag(array $tag)
2157
	{
2158
	    $this->data['Tag'] = $tag;
2159
		foreach ($tag as $depth1 => $depth1Value) {
2160
			if(isset($depth1Value['Value'])){
2161
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2162
			}
2163
			if(isset($depth1Value['Key'])){
2164
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2165
			}
2166
		}
2167
2168
		return $this;
2169
    }
2170
}
2171
2172
class DescribeMonitoringAgentAccessKey extends Rpc
2173
{
2174
}
2175
2176
class DescribeMonitoringAgentConfig extends Rpc
2177
{
2178
}
2179
2180
/**
2181
 * @method string getSerialNumbers()
2182
 * @method $this withSerialNumbers($value)
2183
 * @method string getPageNumber()
2184
 * @method $this withPageNumber($value)
2185
 * @method string getHostName()
2186
 * @method $this withHostName($value)
2187
 * @method string getInstanceRegionId()
2188
 * @method $this withInstanceRegionId($value)
2189
 * @method string getPageSize()
2190
 * @method $this withPageSize($value)
2191
 * @method string getAliyunHost()
2192
 * @method $this withAliyunHost($value)
2193
 * @method string getKeyWord()
2194
 * @method $this withKeyWord($value)
2195
 * @method string getInstanceIds()
2196
 * @method $this withInstanceIds($value)
2197
 * @method string getStatus()
2198
 * @method $this withStatus($value)
2199
 */
2200
class DescribeMonitoringAgentHosts extends Rpc
2201
{
2202
}
2203
2204
/**
2205
 * @method string getInstanceId()
2206
 * @method $this withInstanceId($value)
2207
 */
2208
class DescribeMonitoringAgentProcesses extends Rpc
2209
{
2210
}
2211
2212
/**
2213
 * @method string getInstanceIds()
2214
 * @method $this withInstanceIds($value)
2215
 */
2216
class DescribeMonitoringAgentStatuses extends Rpc
2217
{
2218
}
2219
2220
class DescribeMonitoringConfig extends Rpc
2221
{
2222
}
2223
2224
/**
2225
 * @method string getShowUsed()
2226
 * @method $this withShowUsed($value)
2227
 */
2228
class DescribeMonitorResourceQuotaAttribute extends Rpc
2229
{
2230
}
2231
2232
/**
2233
 * @method string getNextToken()
2234
 * @method $this withNextToken($value)
2235
 */
2236
class DescribeProductResourceTagKeyList extends Rpc
2237
{
2238
}
2239
2240
class DescribeProductsOfActiveMetricRule extends Rpc
2241
{
2242
}
2243
2244
/**
2245
 * @method string getPageSize()
2246
 * @method $this withPageSize($value)
2247
 * @method string getPageNumber()
2248
 * @method $this withPageNumber($value)
2249
 * @method string getLabels()
2250
 * @method $this withLabels($value)
2251
 */
2252
class DescribeProjectMeta extends Rpc
2253
{
2254
}
2255
2256
/**
2257
 * @method string getIncludeAlert()
2258
 * @method $this withIncludeAlert($value)
2259
 * @method string getTaskId()
2260
 * @method $this withTaskId($value)
2261
 */
2262
class DescribeSiteMonitorAttribute extends Rpc
2263
{
2264
}
2265
2266
/**
2267
 * @method string getPeriod()
2268
 * @method $this withPeriod($value)
2269
 * @method string getLength()
2270
 * @method $this withLength($value)
2271
 * @method string getEndTime()
2272
 * @method $this withEndTime($value)
2273
 * @method string getStartTime()
2274
 * @method $this withStartTime($value)
2275
 * @method string getType()
2276
 * @method $this withType($value)
2277
 * @method string getNextToken()
2278
 * @method $this withNextToken($value)
2279
 * @method string getMetricName()
2280
 * @method $this withMetricName($value)
2281
 * @method string getTaskId()
2282
 * @method $this withTaskId($value)
2283
 */
2284
class DescribeSiteMonitorData extends Rpc
2285
{
2286
}
2287
2288
/**
2289
 * @method string getCity()
2290
 * @method $this withCity($value)
2291
 * @method string getIsp()
2292
 * @method $this withIsp($value)
2293
 * @method string getAPIProbe()
2294
 * @method $this withAPIProbe($value)
2295
 * @method string getIPV4()
2296
 * @method $this withIPV4($value)
2297
 * @method string getIPV6()
2298
 * @method $this withIPV6($value)
2299
 */
2300
class DescribeSiteMonitorISPCityList extends Rpc
2301
{
2302
}
2303
2304
/**
2305
 * @method string getTaskType()
2306
 * @method $this withTaskType($value)
2307
 * @method string getPageSize()
2308
 * @method $this withPageSize($value)
2309
 * @method string getPage()
2310
 * @method $this withPage($value)
2311
 * @method string getKeyword()
2312
 * @method $this withKeyword($value)
2313
 * @method string getTaskId()
2314
 * @method $this withTaskId($value)
2315
 */
2316
class DescribeSiteMonitorList extends Rpc
2317
{
2318
}
2319
2320
/**
2321
 * @method string getCity()
2322
 * @method $this withCity($value)
2323
 * @method string getIsp()
2324
 * @method $this withIsp($value)
2325
 * @method string getStartTime()
2326
 * @method $this withStartTime($value)
2327
 * @method string getTaskIds()
2328
 * @method $this withTaskIds($value)
2329
 * @method string getNextToken()
2330
 * @method $this withNextToken($value)
2331
 * @method string getMetricName()
2332
 * @method $this withMetricName($value)
2333
 * @method string getLength()
2334
 * @method $this withLength($value)
2335
 * @method string getEndTime()
2336
 * @method $this withEndTime($value)
2337
 * @method string getFilter()
2338
 * @method $this withFilter($value)
2339
 * @method string getDimensions()
2340
 * @method $this withDimensions($value)
2341
 */
2342
class DescribeSiteMonitorLog extends Rpc
2343
{
2344
}
2345
2346
class DescribeSiteMonitorQuota extends Rpc
2347
{
2348
}
2349
2350
/**
2351
 * @method string getTimeRange()
2352
 * @method $this withTimeRange($value)
2353
 * @method string getStartTime()
2354
 * @method $this withStartTime($value)
2355
 * @method string getMetricName()
2356
 * @method $this withMetricName($value)
2357
 * @method string getTaskId()
2358
 * @method $this withTaskId($value)
2359
 */
2360
class DescribeSiteMonitorStatistics extends Rpc
2361
{
2362
}
2363
2364
/**
2365
 * @method string getStartTime()
2366
 * @method $this withStartTime($value)
2367
 * @method string getSearchKeywords()
2368
 * @method $this withSearchKeywords($value)
2369
 * @method string getPageNumber()
2370
 * @method $this withPageNumber($value)
2371
 * @method string getPageSize()
2372
 * @method $this withPageSize($value)
2373
 * @method string getProduct()
2374
 * @method $this withProduct($value)
2375
 * @method string getLevel()
2376
 * @method $this withLevel($value)
2377
 * @method string getGroupId()
2378
 * @method $this withGroupId($value)
2379
 * @method string getEndTime()
2380
 * @method $this withEndTime($value)
2381
 * @method string getName()
2382
 * @method $this withName($value)
2383
 * @method string getEventType()
2384
 * @method $this withEventType($value)
2385
 * @method string getStatus()
2386
 * @method $this withStatus($value)
2387
 */
2388
class DescribeSystemEventAttribute extends Rpc
2389
{
2390
}
2391
2392
/**
2393
 * @method string getStartTime()
2394
 * @method $this withStartTime($value)
2395
 * @method string getSearchKeywords()
2396
 * @method $this withSearchKeywords($value)
2397
 * @method string getProduct()
2398
 * @method $this withProduct($value)
2399
 * @method string getLevel()
2400
 * @method $this withLevel($value)
2401
 * @method string getGroupId()
2402
 * @method $this withGroupId($value)
2403
 * @method string getEndTime()
2404
 * @method $this withEndTime($value)
2405
 * @method string getName()
2406
 * @method $this withName($value)
2407
 * @method string getEventType()
2408
 * @method $this withEventType($value)
2409
 * @method string getStatus()
2410
 * @method $this withStatus($value)
2411
 */
2412
class DescribeSystemEventCount extends Rpc
2413
{
2414
}
2415
2416
/**
2417
 * @method string getStartTime()
2418
 * @method $this withStartTime($value)
2419
 * @method string getSearchKeywords()
2420
 * @method $this withSearchKeywords($value)
2421
 * @method string getProduct()
2422
 * @method $this withProduct($value)
2423
 * @method string getLevel()
2424
 * @method $this withLevel($value)
2425
 * @method string getGroupId()
2426
 * @method $this withGroupId($value)
2427
 * @method string getEndTime()
2428
 * @method $this withEndTime($value)
2429
 * @method string getName()
2430
 * @method $this withName($value)
2431
 * @method string getEventType()
2432
 * @method $this withEventType($value)
2433
 * @method string getStatus()
2434
 * @method $this withStatus($value)
2435
 */
2436
class DescribeSystemEventHistogram extends Rpc
2437
{
2438
}
2439
2440
class DescribeSystemEventMetaList extends Rpc
2441
{
2442
}
2443
2444
/**
2445
 * @method string getPageNumber()
2446
 * @method $this withPageNumber($value)
2447
 * @method string getPageSize()
2448
 * @method $this withPageSize($value)
2449
 */
2450
class DescribeTagKeyList extends Rpc
2451
{
2452
}
2453
2454
/**
2455
 * @method string getPageNumber()
2456
 * @method $this withPageNumber($value)
2457
 * @method string getPageSize()
2458
 * @method $this withPageSize($value)
2459
 * @method string getTagKey()
2460
 * @method $this withTagKey($value)
2461
 */
2462
class DescribeTagValueList extends Rpc
2463
{
2464
}
2465
2466
/**
2467
 * @method array getId()
2468
 */
2469
class DescribeUnhealthyHostAvailability extends Rpc
2470
{
2471
2472
    /**
2473
     * @param array $id
2474
     *
2475
     * @return $this
2476
     */
2477
	public function withId(array $id)
2478
	{
2479
	    $this->data['Id'] = $id;
2480
		foreach ($id as $i => $iValue) {
2481
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
2482
		}
2483
2484
		return $this;
2485
    }
2486
}
2487
2488
/**
2489
 * @method string getProduct()
2490
 * @method $this withProduct($value)
2491
 */
2492
class DisableActiveMetricRule extends Rpc
2493
{
2494
}
2495
2496
/**
2497
 * @method array getRuleNames()
2498
 */
2499
class DisableEventRules extends Rpc
2500
{
2501
2502
    /**
2503
     * @param array $ruleNames
2504
     *
2505
     * @return $this
2506
     */
2507
	public function withRuleNames(array $ruleNames)
2508
	{
2509
	    $this->data['RuleNames'] = $ruleNames;
2510
		foreach ($ruleNames as $i => $iValue) {
2511
			$this->options['query']['RuleNames.' . ($i + 1)] = $iValue;
2512
		}
2513
2514
		return $this;
2515
    }
2516
}
2517
2518
/**
2519
 * @method array getId()
2520
 */
2521
class DisableHostAvailability extends Rpc
2522
{
2523
2524
    /**
2525
     * @param array $id
2526
     *
2527
     * @return $this
2528
     */
2529
	public function withId(array $id)
2530
	{
2531
	    $this->data['Id'] = $id;
2532
		foreach ($id as $i => $iValue) {
2533
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
2534
		}
2535
2536
		return $this;
2537
    }
2538
}
2539
2540
/**
2541
 * @method array getRuleId()
2542
 */
2543
class DisableMetricRules extends Rpc
2544
{
2545
2546
    /**
2547
     * @param array $ruleId
2548
     *
2549
     * @return $this
2550
     */
2551
	public function withRuleId(array $ruleId)
2552
	{
2553
	    $this->data['RuleId'] = $ruleId;
2554
		foreach ($ruleId as $i => $iValue) {
2555
			$this->options['query']['RuleId.' . ($i + 1)] = $iValue;
2556
		}
2557
2558
		return $this;
2559
    }
2560
}
2561
2562
/**
2563
 * @method string getTaskIds()
2564
 * @method $this withTaskIds($value)
2565
 */
2566
class DisableSiteMonitors extends Rpc
2567
{
2568
}
2569
2570
/**
2571
 * @method string getProduct()
2572
 * @method $this withProduct($value)
2573
 */
2574
class EnableActiveMetricRule extends Rpc
2575
{
2576
}
2577
2578
/**
2579
 * @method array getRuleNames()
2580
 */
2581
class EnableEventRules extends Rpc
2582
{
2583
2584
    /**
2585
     * @param array $ruleNames
2586
     *
2587
     * @return $this
2588
     */
2589
	public function withRuleNames(array $ruleNames)
2590
	{
2591
	    $this->data['RuleNames'] = $ruleNames;
2592
		foreach ($ruleNames as $i => $iValue) {
2593
			$this->options['query']['RuleNames.' . ($i + 1)] = $iValue;
2594
		}
2595
2596
		return $this;
2597
    }
2598
}
2599
2600
/**
2601
 * @method array getId()
2602
 */
2603
class EnableHostAvailability extends Rpc
2604
{
2605
2606
    /**
2607
     * @param array $id
2608
     *
2609
     * @return $this
2610
     */
2611
	public function withId(array $id)
2612
	{
2613
	    $this->data['Id'] = $id;
2614
		foreach ($id as $i => $iValue) {
2615
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
2616
		}
2617
2618
		return $this;
2619
    }
2620
}
2621
2622
/**
2623
 * @method array getRuleId()
2624
 */
2625
class EnableMetricRules extends Rpc
2626
{
2627
2628
    /**
2629
     * @param array $ruleId
2630
     *
2631
     * @return $this
2632
     */
2633
	public function withRuleId(array $ruleId)
2634
	{
2635
	    $this->data['RuleId'] = $ruleId;
2636
		foreach ($ruleId as $i => $iValue) {
2637
			$this->options['query']['RuleId.' . ($i + 1)] = $iValue;
2638
		}
2639
2640
		return $this;
2641
    }
2642
}
2643
2644
/**
2645
 * @method string getTaskIds()
2646
 * @method $this withTaskIds($value)
2647
 */
2648
class EnableSiteMonitors extends Rpc
2649
{
2650
}
2651
2652
/**
2653
 * @method array getInstanceIds()
2654
 * @method string getForce()
2655
 * @method $this withForce($value)
2656
 * @method string getInstallCommand()
2657
 * @method $this withInstallCommand($value)
2658
 */
2659
class InstallMonitoringAgent extends Rpc
2660
{
2661
2662
    /**
2663
     * @param array $instanceIds
2664
     *
2665
     * @return $this
2666
     */
2667
	public function withInstanceIds(array $instanceIds)
2668
	{
2669
	    $this->data['InstanceIds'] = $instanceIds;
2670
		foreach ($instanceIds as $i => $iValue) {
2671
			$this->options['query']['InstanceIds.' . ($i + 1)] = $iValue;
2672
		}
2673
2674
		return $this;
2675
    }
2676
}
2677
2678
/**
2679
 * @method array getAlertConfig()
2680
 * @method string getGroupId()
2681
 * @method $this withGroupId($value)
2682
 * @method string getMatchExpressFilterRelation()
2683
 * @method $this withMatchExpressFilterRelation($value)
2684
 * @method string getId()
2685
 * @method $this withId($value)
2686
 */
2687
class ModifyGroupMonitoringAgentProcess extends Rpc
2688
{
2689
2690
    /**
2691
     * @param array $alertConfig
2692
     *
2693
     * @return $this
2694
     */
2695
	public function withAlertConfig(array $alertConfig)
2696
	{
2697
	    $this->data['AlertConfig'] = $alertConfig;
2698
		foreach ($alertConfig as $depth1 => $depth1Value) {
2699
			if(isset($depth1Value['Times'])){
2700
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
2701
			}
2702
			if(isset($depth1Value['Webhook'])){
2703
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
2704
			}
2705
			if(isset($depth1Value['NoEffectiveInterval'])){
2706
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
2707
			}
2708
			if(isset($depth1Value['SilenceTime'])){
2709
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
2710
			}
2711
			if(isset($depth1Value['Threshold'])){
2712
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
2713
			}
2714
			if(isset($depth1Value['ComparisonOperator'])){
2715
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
2716
			}
2717
			if(isset($depth1Value['EffectiveInterval'])){
2718
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
2719
			}
2720
			if(isset($depth1Value['EscalationsLevel'])){
2721
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EscalationsLevel'] = $depth1Value['EscalationsLevel'];
2722
			}
2723
			if(isset($depth1Value['Statistics'])){
2724
				$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
2725
			}
2726
		}
2727
2728
		return $this;
2729
    }
2730
}
2731
2732
/**
2733
 * @method string getTaskOptionHttpMethod()
2734
 * @method string getTaskOptionHttpHeader()
2735
 * @method array getAlertConfigEscalationList()
2736
 * @method string getTaskName()
2737
 * @method $this withTaskName($value)
2738
 * @method string getAlertConfigSilenceTime()
2739
 * @method string getTaskOptionHttpResponseCharset()
2740
 * @method string getTaskOptionHttpNegative()
2741
 * @method string getTaskOptionInterval()
2742
 * @method string getAlertConfigNotifyType()
2743
 * @method string getTaskOptionTelnetOrPingHost()
2744
 * @method string getTaskOptionHttpResponseMatchContent()
2745
 * @method string getId()
2746
 * @method $this withId($value)
2747
 * @method array getInstanceList()
2748
 * @method string getGroupId()
2749
 * @method $this withGroupId($value)
2750
 * @method string getAlertConfigEndTime()
2751
 * @method string getTaskOptionHttpURI()
2752
 * @method string getTaskScope()
2753
 * @method $this withTaskScope($value)
2754
 * @method string getTaskOptionHttpPostContent()
2755
 * @method string getAlertConfigStartTime()
2756
 * @method string getAlertConfigWebHook()
2757
 */
2758
class ModifyHostAvailability extends Rpc
2759
{
2760
2761
    /**
2762
     * @param string $value
2763
     *
2764
     * @return $this
2765
     */
2766
    public function withTaskOptionHttpMethod($value)
2767
    {
2768
        $this->data['TaskOptionHttpMethod'] = $value;
2769
        $this->options['query']['TaskOption.HttpMethod'] = $value;
2770
2771
        return $this;
2772
    }
2773
2774
    /**
2775
     * @param string $value
2776
     *
2777
     * @return $this
2778
     */
2779
    public function withTaskOptionHttpHeader($value)
2780
    {
2781
        $this->data['TaskOptionHttpHeader'] = $value;
2782
        $this->options['query']['TaskOption.HttpHeader'] = $value;
2783
2784
        return $this;
2785
    }
2786
2787
    /**
2788
     * @param array $alertConfigEscalationList
2789
     *
2790
     * @return $this
2791
     */
2792
	public function withAlertConfigEscalationList(array $alertConfigEscalationList)
2793
	{
2794
	    $this->data['AlertConfigEscalationList'] = $alertConfigEscalationList;
2795
		foreach ($alertConfigEscalationList as $depth1 => $depth1Value) {
2796
			if(isset($depth1Value['Times'])){
2797
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
2798
			}
2799
			if(isset($depth1Value['MetricName'])){
2800
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
2801
			}
2802
			if(isset($depth1Value['Value'])){
2803
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2804
			}
2805
			if(isset($depth1Value['Operator'])){
2806
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Operator'] = $depth1Value['Operator'];
2807
			}
2808
			if(isset($depth1Value['Aggregate'])){
2809
				$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Aggregate'] = $depth1Value['Aggregate'];
2810
			}
2811
		}
2812
2813
		return $this;
2814
    }
2815
2816
    /**
2817
     * @param string $value
2818
     *
2819
     * @return $this
2820
     */
2821
    public function withAlertConfigSilenceTime($value)
2822
    {
2823
        $this->data['AlertConfigSilenceTime'] = $value;
2824
        $this->options['query']['AlertConfig.SilenceTime'] = $value;
2825
2826
        return $this;
2827
    }
2828
2829
    /**
2830
     * @param string $value
2831
     *
2832
     * @return $this
2833
     */
2834
    public function withTaskOptionHttpResponseCharset($value)
2835
    {
2836
        $this->data['TaskOptionHttpResponseCharset'] = $value;
2837
        $this->options['query']['TaskOption.HttpResponseCharset'] = $value;
2838
2839
        return $this;
2840
    }
2841
2842
    /**
2843
     * @param string $value
2844
     *
2845
     * @return $this
2846
     */
2847
    public function withTaskOptionHttpNegative($value)
2848
    {
2849
        $this->data['TaskOptionHttpNegative'] = $value;
2850
        $this->options['query']['TaskOption.HttpNegative'] = $value;
2851
2852
        return $this;
2853
    }
2854
2855
    /**
2856
     * @param string $value
2857
     *
2858
     * @return $this
2859
     */
2860
    public function withTaskOptionInterval($value)
2861
    {
2862
        $this->data['TaskOptionInterval'] = $value;
2863
        $this->options['query']['TaskOption.Interval'] = $value;
2864
2865
        return $this;
2866
    }
2867
2868
    /**
2869
     * @param string $value
2870
     *
2871
     * @return $this
2872
     */
2873
    public function withAlertConfigNotifyType($value)
2874
    {
2875
        $this->data['AlertConfigNotifyType'] = $value;
2876
        $this->options['query']['AlertConfig.NotifyType'] = $value;
2877
2878
        return $this;
2879
    }
2880
2881
    /**
2882
     * @param string $value
2883
     *
2884
     * @return $this
2885
     */
2886
    public function withTaskOptionTelnetOrPingHost($value)
2887
    {
2888
        $this->data['TaskOptionTelnetOrPingHost'] = $value;
2889
        $this->options['query']['TaskOption.TelnetOrPingHost'] = $value;
2890
2891
        return $this;
2892
    }
2893
2894
    /**
2895
     * @param string $value
2896
     *
2897
     * @return $this
2898
     */
2899
    public function withTaskOptionHttpResponseMatchContent($value)
2900
    {
2901
        $this->data['TaskOptionHttpResponseMatchContent'] = $value;
2902
        $this->options['query']['TaskOption.HttpResponseMatchContent'] = $value;
2903
2904
        return $this;
2905
    }
2906
2907
    /**
2908
     * @param array $instanceList
2909
     *
2910
     * @return $this
2911
     */
2912
	public function withInstanceList(array $instanceList)
2913
	{
2914
	    $this->data['InstanceList'] = $instanceList;
2915
		foreach ($instanceList as $i => $iValue) {
2916
			$this->options['query']['InstanceList.' . ($i + 1)] = $iValue;
2917
		}
2918
2919
		return $this;
2920
    }
2921
2922
    /**
2923
     * @param string $value
2924
     *
2925
     * @return $this
2926
     */
2927
    public function withAlertConfigEndTime($value)
2928
    {
2929
        $this->data['AlertConfigEndTime'] = $value;
2930
        $this->options['query']['AlertConfig.EndTime'] = $value;
2931
2932
        return $this;
2933
    }
2934
2935
    /**
2936
     * @param string $value
2937
     *
2938
     * @return $this
2939
     */
2940
    public function withTaskOptionHttpURI($value)
2941
    {
2942
        $this->data['TaskOptionHttpURI'] = $value;
2943
        $this->options['query']['TaskOption.HttpURI'] = $value;
2944
2945
        return $this;
2946
    }
2947
2948
    /**
2949
     * @param string $value
2950
     *
2951
     * @return $this
2952
     */
2953
    public function withTaskOptionHttpPostContent($value)
2954
    {
2955
        $this->data['TaskOptionHttpPostContent'] = $value;
2956
        $this->options['query']['TaskOption.HttpPostContent'] = $value;
2957
2958
        return $this;
2959
    }
2960
2961
    /**
2962
     * @param string $value
2963
     *
2964
     * @return $this
2965
     */
2966
    public function withAlertConfigStartTime($value)
2967
    {
2968
        $this->data['AlertConfigStartTime'] = $value;
2969
        $this->options['query']['AlertConfig.StartTime'] = $value;
2970
2971
        return $this;
2972
    }
2973
2974
    /**
2975
     * @param string $value
2976
     *
2977
     * @return $this
2978
     */
2979
    public function withAlertConfigWebHook($value)
2980
    {
2981
        $this->data['AlertConfigWebHook'] = $value;
2982
        $this->options['query']['AlertConfig.WebHook'] = $value;
2983
2984
        return $this;
2985
    }
2986
}
2987
2988
/**
2989
 * @method string getHostName()
2990
 * @method $this withHostName($value)
2991
 * @method string getInstanceId()
2992
 * @method $this withInstanceId($value)
2993
 */
2994
class ModifyHostInfo extends Rpc
2995
{
2996
}
2997
2998
/**
2999
 * @method string getRestVersion()
3000
 * @method $this withRestVersion($value)
3001
 * @method string getDescription()
3002
 * @method $this withDescription($value)
3003
 * @method string getTemplateId()
3004
 * @method $this withTemplateId($value)
3005
 * @method string getName()
3006
 * @method $this withName($value)
3007
 * @method array getAlertTemplates()
3008
 */
3009
class ModifyMetricRuleTemplate extends Rpc
3010
{
3011
3012
    /**
3013
     * @param array $alertTemplates
3014
     *
3015
     * @return $this
3016
     */
3017
	public function withAlertTemplates(array $alertTemplates)
3018
	{
3019
	    $this->data['AlertTemplates'] = $alertTemplates;
3020
		foreach ($alertTemplates as $depth1 => $depth1Value) {
3021
			if(isset($depth1Value['EscalationsWarnThreshold'])){
3022
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
3023
			}
3024
			if(isset($depth1Value['Period'])){
3025
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
3026
			}
3027
			if(isset($depth1Value['Webhook'])){
3028
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
3029
			}
3030
			if(isset($depth1Value['EscalationsWarnComparisonOperator'])){
3031
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
3032
			}
3033
			if(isset($depth1Value['EscalationsCriticalStatistics'])){
3034
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
3035
			}
3036
			if(isset($depth1Value['EscalationsInfoTimes'])){
3037
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
3038
			}
3039
			if(isset($depth1Value['RuleName'])){
3040
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
3041
			}
3042
			if(isset($depth1Value['EscalationsInfoStatistics'])){
3043
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
3044
			}
3045
			if(isset($depth1Value['EscalationsCriticalTimes'])){
3046
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
3047
			}
3048
			if(isset($depth1Value['EscalationsInfoComparisonOperator'])){
3049
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
3050
			}
3051
			if(isset($depth1Value['EscalationsInfoThreshold'])){
3052
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
3053
			}
3054
			if(isset($depth1Value['EscalationsWarnStatistics'])){
3055
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
3056
			}
3057
			if(isset($depth1Value['Namespace'])){
3058
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
3059
			}
3060
			if(isset($depth1Value['Selector'])){
3061
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Selector'] = $depth1Value['Selector'];
3062
			}
3063
			if(isset($depth1Value['MetricName'])){
3064
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
3065
			}
3066
			if(isset($depth1Value['EscalationsWarnTimes'])){
3067
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
3068
			}
3069
			if(isset($depth1Value['Category'])){
3070
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
3071
			}
3072
			if(isset($depth1Value['EscalationsCriticalComparisonOperator'])){
3073
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
3074
			}
3075
			if(isset($depth1Value['EscalationsCriticalThreshold'])){
3076
				$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
3077
			}
3078
		}
3079
3080
		return $this;
3081
    }
3082
}
3083
3084
/**
3085
 * @method string getContactGroups()
3086
 * @method $this withContactGroups($value)
3087
 * @method string getGroupId()
3088
 * @method $this withGroupId($value)
3089
 * @method string getGroupName()
3090
 * @method $this withGroupName($value)
3091
 * @method string getBindUrls()
3092
 * @method $this withBindUrls($value)
3093
 * @method string getServiceId()
3094
 * @method $this withServiceId($value)
3095
 */
3096
class ModifyMonitorGroup extends Rpc
3097
{
3098
}
3099
3100
/**
3101
 * @method array getInstances()
3102
 * @method string getGroupId()
3103
 * @method $this withGroupId($value)
3104
 */
3105
class ModifyMonitorGroupInstances extends Rpc
3106
{
3107
3108
    /**
3109
     * @param array $instances
3110
     *
3111
     * @return $this
3112
     */
3113
	public function withInstances(array $instances)
3114
	{
3115
	    $this->data['Instances'] = $instances;
3116
		foreach ($instances as $depth1 => $depth1Value) {
3117
			if(isset($depth1Value['InstanceName'])){
3118
				$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
3119
			}
3120
			if(isset($depth1Value['InstanceId'])){
3121
				$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceId'] = $depth1Value['InstanceId'];
3122
			}
3123
			if(isset($depth1Value['RegionId'])){
3124
				$this->options['query']['Instances.' . ($depth1 + 1) . '.RegionId'] = $depth1Value['RegionId'];
3125
			}
3126
			if(isset($depth1Value['Category'])){
3127
				$this->options['query']['Instances.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
3128
			}
3129
		}
3130
3131
		return $this;
3132
    }
3133
}
3134
3135
/**
3136
 * @method string getAddress()
3137
 * @method $this withAddress($value)
3138
 * @method string getTaskName()
3139
 * @method $this withTaskName($value)
3140
 * @method string getIspCities()
3141
 * @method $this withIspCities($value)
3142
 * @method string getOptionsJson()
3143
 * @method $this withOptionsJson($value)
3144
 * @method string getAlertIds()
3145
 * @method $this withAlertIds($value)
3146
 * @method string getIntervalUnit()
3147
 * @method $this withIntervalUnit($value)
3148
 * @method string getInterval()
3149
 * @method $this withInterval($value)
3150
 * @method string getTaskId()
3151
 * @method $this withTaskId($value)
3152
 */
3153
class ModifySiteMonitor extends Rpc
3154
{
3155
}
3156
3157
class OpenCmsService extends Rpc
3158
{
3159
}
3160
3161
/**
3162
 * @method string getChannelsDingWebHook()
3163
 * @method string getContactName()
3164
 * @method $this withContactName($value)
3165
 * @method string getChannelsMail()
3166
 * @method string getChannelsAliIM()
3167
 * @method string getDescribe()
3168
 * @method $this withDescribe($value)
3169
 * @method string getLang()
3170
 * @method $this withLang($value)
3171
 * @method string getChannelsSMS()
3172
 */
3173
class PutContact extends Rpc
3174
{
3175
3176
    /**
3177
     * @param string $value
3178
     *
3179
     * @return $this
3180
     */
3181
    public function withChannelsDingWebHook($value)
3182
    {
3183
        $this->data['ChannelsDingWebHook'] = $value;
3184
        $this->options['query']['Channels.DingWebHook'] = $value;
3185
3186
        return $this;
3187
    }
3188
3189
    /**
3190
     * @param string $value
3191
     *
3192
     * @return $this
3193
     */
3194
    public function withChannelsMail($value)
3195
    {
3196
        $this->data['ChannelsMail'] = $value;
3197
        $this->options['query']['Channels.Mail'] = $value;
3198
3199
        return $this;
3200
    }
3201
3202
    /**
3203
     * @param string $value
3204
     *
3205
     * @return $this
3206
     */
3207
    public function withChannelsAliIM($value)
3208
    {
3209
        $this->data['ChannelsAliIM'] = $value;
3210
        $this->options['query']['Channels.AliIM'] = $value;
3211
3212
        return $this;
3213
    }
3214
3215
    /**
3216
     * @param string $value
3217
     *
3218
     * @return $this
3219
     */
3220
    public function withChannelsSMS($value)
3221
    {
3222
        $this->data['ChannelsSMS'] = $value;
3223
        $this->options['query']['Channels.SMS'] = $value;
3224
3225
        return $this;
3226
    }
3227
}
3228
3229
/**
3230
 * @method string getEnableSubscribed()
3231
 * @method $this withEnableSubscribed($value)
3232
 * @method string getContactGroupName()
3233
 * @method $this withContactGroupName($value)
3234
 * @method string getDescribe()
3235
 * @method $this withDescribe($value)
3236
 * @method array getContactNames()
3237
 */
3238
class PutContactGroup extends Rpc
3239
{
3240
3241
    /**
3242
     * @param array $contactNames
3243
     *
3244
     * @return $this
3245
     */
3246
	public function withContactNames(array $contactNames)
3247
	{
3248
	    $this->data['ContactNames'] = $contactNames;
3249
		foreach ($contactNames as $i => $iValue) {
3250
			$this->options['query']['ContactNames.' . ($i + 1)] = $iValue;
3251
		}
3252
3253
		return $this;
3254
    }
3255
}
3256
3257
/**
3258
 * @method array getEventInfo()
3259
 */
3260
class PutCustomEvent extends Rpc
3261
{
3262
3263
    /**
3264
     * @param array $eventInfo
3265
     *
3266
     * @return $this
3267
     */
3268
	public function withEventInfo(array $eventInfo)
3269
	{
3270
	    $this->data['EventInfo'] = $eventInfo;
3271
		foreach ($eventInfo as $depth1 => $depth1Value) {
3272
			if(isset($depth1Value['GroupId'])){
3273
				$this->options['query']['EventInfo.' . ($depth1 + 1) . '.GroupId'] = $depth1Value['GroupId'];
3274
			}
3275
			if(isset($depth1Value['Time'])){
3276
				$this->options['query']['EventInfo.' . ($depth1 + 1) . '.Time'] = $depth1Value['Time'];
3277
			}
3278
			if(isset($depth1Value['EventName'])){
3279
				$this->options['query']['EventInfo.' . ($depth1 + 1) . '.EventName'] = $depth1Value['EventName'];
3280
			}
3281
			if(isset($depth1Value['Content'])){
3282
				$this->options['query']['EventInfo.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
3283
			}
3284
		}
3285
3286
		return $this;
3287
    }
3288
}
3289
3290
/**
3291
 * @method string getWebhook()
3292
 * @method $this withWebhook($value)
3293
 * @method string getRuleName()
3294
 * @method $this withRuleName($value)
3295
 * @method string getThreshold()
3296
 * @method $this withThreshold($value)
3297
 * @method string getEffectiveInterval()
3298
 * @method $this withEffectiveInterval($value)
3299
 * @method string getEventName()
3300
 * @method $this withEventName($value)
3301
 * @method string getEmailSubject()
3302
 * @method $this withEmailSubject($value)
3303
 * @method string getMetricName()
3304
 * @method $this withMetricName($value)
3305
 * @method string getPeriod()
3306
 * @method $this withPeriod($value)
3307
 * @method string getContactGroups()
3308
 * @method $this withContactGroups($value)
3309
 * @method string getLevel()
3310
 * @method $this withLevel($value)
3311
 * @method string getGroupId()
3312
 * @method $this withGroupId($value)
3313
 * @method string getRuleId()
3314
 * @method $this withRuleId($value)
3315
 */
3316
class PutCustomEventRule extends Rpc
3317
{
3318
}
3319
3320
/**
3321
 * @method array getMetricList()
3322
 */
3323
class PutCustomMetric extends Rpc
3324
{
3325
3326
    /**
3327
     * @param array $metricList
3328
     *
3329
     * @return $this
3330
     */
3331
	public function withMetricList(array $metricList)
3332
	{
3333
	    $this->data['MetricList'] = $metricList;
3334
		foreach ($metricList as $depth1 => $depth1Value) {
3335
			if(isset($depth1Value['Period'])){
3336
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
3337
			}
3338
			if(isset($depth1Value['GroupId'])){
3339
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.GroupId'] = $depth1Value['GroupId'];
3340
			}
3341
			if(isset($depth1Value['Values'])){
3342
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.Values'] = $depth1Value['Values'];
3343
			}
3344
			if(isset($depth1Value['Time'])){
3345
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.Time'] = $depth1Value['Time'];
3346
			}
3347
			if(isset($depth1Value['Type'])){
3348
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
3349
			}
3350
			if(isset($depth1Value['MetricName'])){
3351
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
3352
			}
3353
			if(isset($depth1Value['Dimensions'])){
3354
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.Dimensions'] = $depth1Value['Dimensions'];
3355
			}
3356
		}
3357
3358
		return $this;
3359
    }
3360
}
3361
3362
/**
3363
 * @method string getWebhook()
3364
 * @method $this withWebhook($value)
3365
 * @method string getRuleName()
3366
 * @method $this withRuleName($value)
3367
 * @method string getThreshold()
3368
 * @method $this withThreshold($value)
3369
 * @method string getEffectiveInterval()
3370
 * @method $this withEffectiveInterval($value)
3371
 * @method string getEmailSubject()
3372
 * @method $this withEmailSubject($value)
3373
 * @method string getEvaluationCount()
3374
 * @method $this withEvaluationCount($value)
3375
 * @method string getSilenceTime()
3376
 * @method $this withSilenceTime($value)
3377
 * @method string getMetricName()
3378
 * @method $this withMetricName($value)
3379
 * @method string getPeriod()
3380
 * @method $this withPeriod($value)
3381
 * @method string getContactGroups()
3382
 * @method $this withContactGroups($value)
3383
 * @method string getLevel()
3384
 * @method $this withLevel($value)
3385
 * @method string getGroupId()
3386
 * @method $this withGroupId($value)
3387
 * @method string getResources()
3388
 * @method $this withResources($value)
3389
 * @method string getRuleId()
3390
 * @method $this withRuleId($value)
3391
 * @method string getComparisonOperator()
3392
 * @method $this withComparisonOperator($value)
3393
 * @method string getStatistics()
3394
 * @method $this withStatistics($value)
3395
 */
3396
class PutCustomMetricRule extends Rpc
3397
{
3398
}
3399
3400
/**
3401
 * @method string getDescription()
3402
 * @method $this withDescription($value)
3403
 * @method string getRuleName()
3404
 * @method $this withRuleName($value)
3405
 * @method string getSilenceTime()
3406
 * @method $this withSilenceTime($value)
3407
 * @method string getState()
3408
 * @method $this withState($value)
3409
 * @method string getGroupId()
3410
 * @method $this withGroupId($value)
3411
 * @method array getEventPattern()
3412
 * @method string getEventType()
3413
 * @method $this withEventType($value)
3414
 */
3415
class PutEventRule extends Rpc
3416
{
3417
3418
    /**
3419
     * @param array $eventPattern
3420
     *
3421
     * @return $this
3422
     */
3423
	public function withEventPattern(array $eventPattern)
3424
	{
3425
	    $this->data['EventPattern'] = $eventPattern;
3426
		foreach ($eventPattern as $depth1 => $depth1Value) {
3427
			foreach ($depth1Value['LevelList'] as $i => $iValue) {
3428
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.LevelList.' . ($i + 1)] = $iValue;
3429
			}
3430
			if(isset($depth1Value['KeywordFilter'])){
3431
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.KeywordFilter'] = $depth1Value['KeywordFilter'];
3432
			}
3433
			if(isset($depth1Value['Product'])){
3434
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.Product'] = $depth1Value['Product'];
3435
			}
3436
			foreach ($depth1Value['StatusList'] as $i => $iValue) {
3437
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.StatusList.' . ($i + 1)] = $iValue;
3438
			}
3439
			foreach ($depth1Value['NameList'] as $i => $iValue) {
3440
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.NameList.' . ($i + 1)] = $iValue;
3441
			}
3442
			if(isset($depth1Value['CustomFilters'])){
3443
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.CustomFilters'] = $depth1Value['CustomFilters'];
3444
			}
3445
			foreach ($depth1Value['EventTypeList'] as $i => $iValue) {
3446
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.EventTypeList.' . ($i + 1)] = $iValue;
3447
			}
3448
			if(isset($depth1Value['SQLFilter'])){
3449
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.SQLFilter'] = $depth1Value['SQLFilter'];
3450
			}
3451
		}
3452
3453
		return $this;
3454
    }
3455
}
3456
3457
/**
3458
 * @method array getWebhookParameters()
3459
 * @method array getContactParameters()
3460
 * @method array getSlsParameters()
3461
 * @method string getRuleName()
3462
 * @method $this withRuleName($value)
3463
 * @method array getOpenApiParameters()
3464
 * @method array getMnsParameters()
3465
 * @method array getFcParameters()
3466
 */
3467
class PutEventRuleTargets extends Rpc
3468
{
3469
3470
    /**
3471
     * @param array $webhookParameters
3472
     *
3473
     * @return $this
3474
     */
3475
	public function withWebhookParameters(array $webhookParameters)
3476
	{
3477
	    $this->data['WebhookParameters'] = $webhookParameters;
3478
		foreach ($webhookParameters as $depth1 => $depth1Value) {
3479
			if(isset($depth1Value['Protocol'])){
3480
				$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Protocol'] = $depth1Value['Protocol'];
3481
			}
3482
			if(isset($depth1Value['Method'])){
3483
				$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Method'] = $depth1Value['Method'];
3484
			}
3485
			if(isset($depth1Value['Id'])){
3486
				$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3487
			}
3488
			if(isset($depth1Value['Url'])){
3489
				$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
3490
			}
3491
		}
3492
3493
		return $this;
3494
    }
3495
3496
    /**
3497
     * @param array $contactParameters
3498
     *
3499
     * @return $this
3500
     */
3501
	public function withContactParameters(array $contactParameters)
3502
	{
3503
	    $this->data['ContactParameters'] = $contactParameters;
3504
		foreach ($contactParameters as $depth1 => $depth1Value) {
3505
			if(isset($depth1Value['Level'])){
3506
				$this->options['query']['ContactParameters.' . ($depth1 + 1) . '.Level'] = $depth1Value['Level'];
3507
			}
3508
			if(isset($depth1Value['Id'])){
3509
				$this->options['query']['ContactParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3510
			}
3511
			if(isset($depth1Value['ContactGroupName'])){
3512
				$this->options['query']['ContactParameters.' . ($depth1 + 1) . '.ContactGroupName'] = $depth1Value['ContactGroupName'];
3513
			}
3514
		}
3515
3516
		return $this;
3517
    }
3518
3519
    /**
3520
     * @param array $slsParameters
3521
     *
3522
     * @return $this
3523
     */
3524
	public function withSlsParameters(array $slsParameters)
3525
	{
3526
	    $this->data['SlsParameters'] = $slsParameters;
3527
		foreach ($slsParameters as $depth1 => $depth1Value) {
3528
			if(isset($depth1Value['Project'])){
3529
				$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.Project'] = $depth1Value['Project'];
3530
			}
3531
			if(isset($depth1Value['Id'])){
3532
				$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3533
			}
3534
			if(isset($depth1Value['Region'])){
3535
				$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
3536
			}
3537
			if(isset($depth1Value['LogStore'])){
3538
				$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.LogStore'] = $depth1Value['LogStore'];
3539
			}
3540
		}
3541
3542
		return $this;
3543
    }
3544
3545
    /**
3546
     * @param array $openApiParameters
3547
     *
3548
     * @return $this
3549
     */
3550
	public function withOpenApiParameters(array $openApiParameters)
3551
	{
3552
	    $this->data['OpenApiParameters'] = $openApiParameters;
3553
		foreach ($openApiParameters as $depth1 => $depth1Value) {
3554
			if(isset($depth1Value['Product'])){
3555
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Product'] = $depth1Value['Product'];
3556
			}
3557
			if(isset($depth1Value['Role'])){
3558
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role'];
3559
			}
3560
			if(isset($depth1Value['Action'])){
3561
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Action'] = $depth1Value['Action'];
3562
			}
3563
			if(isset($depth1Value['Id'])){
3564
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3565
			}
3566
			if(isset($depth1Value['Arn'])){
3567
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Arn'] = $depth1Value['Arn'];
3568
			}
3569
			if(isset($depth1Value['Region'])){
3570
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
3571
			}
3572
			if(isset($depth1Value['Version'])){
3573
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.Version'] = $depth1Value['Version'];
3574
			}
3575
			if(isset($depth1Value['JsonParams'])){
3576
				$this->options['query']['OpenApiParameters.' . ($depth1 + 1) . '.JsonParams'] = $depth1Value['JsonParams'];
3577
			}
3578
		}
3579
3580
		return $this;
3581
    }
3582
3583
    /**
3584
     * @param array $mnsParameters
3585
     *
3586
     * @return $this
3587
     */
3588
	public function withMnsParameters(array $mnsParameters)
3589
	{
3590
	    $this->data['MnsParameters'] = $mnsParameters;
3591
		foreach ($mnsParameters as $depth1 => $depth1Value) {
3592
			if(isset($depth1Value['Topic'])){
3593
				$this->options['query']['MnsParameters.' . ($depth1 + 1) . '.Topic'] = $depth1Value['Topic'];
3594
			}
3595
			if(isset($depth1Value['Id'])){
3596
				$this->options['query']['MnsParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3597
			}
3598
			if(isset($depth1Value['Region'])){
3599
				$this->options['query']['MnsParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
3600
			}
3601
			if(isset($depth1Value['Queue'])){
3602
				$this->options['query']['MnsParameters.' . ($depth1 + 1) . '.Queue'] = $depth1Value['Queue'];
3603
			}
3604
		}
3605
3606
		return $this;
3607
    }
3608
3609
    /**
3610
     * @param array $fcParameters
3611
     *
3612
     * @return $this
3613
     */
3614
	public function withFcParameters(array $fcParameters)
3615
	{
3616
	    $this->data['FcParameters'] = $fcParameters;
3617
		foreach ($fcParameters as $depth1 => $depth1Value) {
3618
			if(isset($depth1Value['FunctionName'])){
3619
				$this->options['query']['FcParameters.' . ($depth1 + 1) . '.FunctionName'] = $depth1Value['FunctionName'];
3620
			}
3621
			if(isset($depth1Value['ServiceName'])){
3622
				$this->options['query']['FcParameters.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
3623
			}
3624
			if(isset($depth1Value['Id'])){
3625
				$this->options['query']['FcParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3626
			}
3627
			if(isset($depth1Value['Region'])){
3628
				$this->options['query']['FcParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
3629
			}
3630
		}
3631
3632
		return $this;
3633
    }
3634
}
3635
3636
/**
3637
 * @method string getDestName()
3638
 * @method $this withDestName($value)
3639
 * @method string getConfigJson()
3640
 * @method $this withConfigJson($value)
3641
 * @method string getDestType()
3642
 * @method $this withDestType($value)
3643
 * @method string getDesc()
3644
 * @method $this withDesc($value)
3645
 */
3646
class PutExporterOutput extends Rpc
3647
{
3648
}
3649
3650
/**
3651
 * @method string getRuleName()
3652
 * @method $this withRuleName($value)
3653
 * @method array getDstNames()
3654
 * @method string getNamespace()
3655
 * @method $this withNamespace($value)
3656
 * @method string getTargetWindows()
3657
 * @method $this withTargetWindows($value)
3658
 * @method string getDescribe()
3659
 * @method $this withDescribe($value)
3660
 * @method string getMetricName()
3661
 * @method $this withMetricName($value)
3662
 */
3663
class PutExporterRule extends Rpc
3664
{
3665
3666
    /**
3667
     * @param array $dstNames
3668
     *
3669
     * @return $this
3670
     */
3671
	public function withDstNames(array $dstNames)
3672
	{
3673
	    $this->data['DstNames'] = $dstNames;
3674
		foreach ($dstNames as $i => $iValue) {
3675
			$this->options['query']['DstNames.' . ($i + 1)] = $iValue;
3676
		}
3677
3678
		return $this;
3679
    }
3680
}
3681
3682
/**
3683
 * @method string getWebhook()
3684
 * @method $this withWebhook($value)
3685
 * @method string getEscalationsWarnComparisonOperator()
3686
 * @method string getDynamicAlertSensitivity()
3687
 * @method $this withDynamicAlertSensitivity($value)
3688
 * @method string getRuleName()
3689
 * @method $this withRuleName($value)
3690
 * @method string getEffectiveInterval()
3691
 * @method $this withEffectiveInterval($value)
3692
 * @method string getNoDataPolicy()
3693
 * @method $this withNoDataPolicy($value)
3694
 * @method string getNoEffectiveInterval()
3695
 * @method $this withNoEffectiveInterval($value)
3696
 * @method string getEmailSubject()
3697
 * @method $this withEmailSubject($value)
3698
 * @method string getEscalationsInfoPreCondition()
3699
 * @method string getMetricName()
3700
 * @method $this withMetricName($value)
3701
 * @method string getEscalationsWarnTimes()
3702
 * @method string getPeriod()
3703
 * @method $this withPeriod($value)
3704
 * @method string getEscalationsWarnThreshold()
3705
 * @method string getContactGroups()
3706
 * @method $this withContactGroups($value)
3707
 * @method string getEscalationsCriticalStatistics()
3708
 * @method string getRuleType()
3709
 * @method $this withRuleType($value)
3710
 * @method string getGroupId()
3711
 * @method $this withGroupId($value)
3712
 * @method string getExtraDimensionJson()
3713
 * @method $this withExtraDimensionJson($value)
3714
 * @method array getLabels()
3715
 * @method string getInterval()
3716
 * @method $this withInterval($value)
3717
 * @method string getRuleId()
3718
 * @method $this withRuleId($value)
3719
 * @method string getEscalationsCriticalThreshold()
3720
 * @method string getEscalationsInfoStatistics()
3721
 * @method string getDynamicAlertHistoryDataRange()
3722
 * @method $this withDynamicAlertHistoryDataRange($value)
3723
 * @method string getEscalationsWarnPreCondition()
3724
 * @method string getEscalationsInfoComparisonOperator()
3725
 * @method string getSilenceTime()
3726
 * @method $this withSilenceTime($value)
3727
 * @method string getCompositeExpression()
3728
 * @method $this withCompositeExpression($value)
3729
 * @method string getEscalationsInfoTimes()
3730
 * @method string getEscalationsCriticalTimes()
3731
 * @method string getEscalationsWarnStatistics()
3732
 * @method string getEscalationsInfoThreshold()
3733
 * @method string getNamespace()
3734
 * @method $this withNamespace($value)
3735
 * @method string getCategory()
3736
 * @method $this withCategory($value)
3737
 * @method string getEscalationsCriticalComparisonOperator()
3738
 * @method string getEscalationsCriticalPreCondition()
3739
 * @method string getDimensions()
3740
 * @method $this withDimensions($value)
3741
 */
3742
class PutGroupMetricRule extends Rpc
3743
{
3744
3745
    /**
3746
     * @param string $value
3747
     *
3748
     * @return $this
3749
     */
3750
    public function withEscalationsWarnComparisonOperator($value)
3751
    {
3752
        $this->data['EscalationsWarnComparisonOperator'] = $value;
3753
        $this->options['query']['Escalations.Warn.ComparisonOperator'] = $value;
3754
3755
        return $this;
3756
    }
3757
3758
    /**
3759
     * @param string $value
3760
     *
3761
     * @return $this
3762
     */
3763
    public function withEscalationsInfoPreCondition($value)
3764
    {
3765
        $this->data['EscalationsInfoPreCondition'] = $value;
3766
        $this->options['query']['Escalations.Info.PreCondition'] = $value;
3767
3768
        return $this;
3769
    }
3770
3771
    /**
3772
     * @param string $value
3773
     *
3774
     * @return $this
3775
     */
3776
    public function withEscalationsWarnTimes($value)
3777
    {
3778
        $this->data['EscalationsWarnTimes'] = $value;
3779
        $this->options['query']['Escalations.Warn.Times'] = $value;
3780
3781
        return $this;
3782
    }
3783
3784
    /**
3785
     * @param string $value
3786
     *
3787
     * @return $this
3788
     */
3789
    public function withEscalationsWarnThreshold($value)
3790
    {
3791
        $this->data['EscalationsWarnThreshold'] = $value;
3792
        $this->options['query']['Escalations.Warn.Threshold'] = $value;
3793
3794
        return $this;
3795
    }
3796
3797
    /**
3798
     * @param string $value
3799
     *
3800
     * @return $this
3801
     */
3802
    public function withEscalationsCriticalStatistics($value)
3803
    {
3804
        $this->data['EscalationsCriticalStatistics'] = $value;
3805
        $this->options['query']['Escalations.Critical.Statistics'] = $value;
3806
3807
        return $this;
3808
    }
3809
3810
    /**
3811
     * @param array $labels
3812
     *
3813
     * @return $this
3814
     */
3815
	public function withLabels(array $labels)
3816
	{
3817
	    $this->data['Labels'] = $labels;
3818
		foreach ($labels as $depth1 => $depth1Value) {
3819
			if(isset($depth1Value['Value'])){
3820
				$this->options['query']['Labels.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
3821
			}
3822
			if(isset($depth1Value['Key'])){
3823
				$this->options['query']['Labels.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
3824
			}
3825
		}
3826
3827
		return $this;
3828
    }
3829
3830
    /**
3831
     * @param string $value
3832
     *
3833
     * @return $this
3834
     */
3835
    public function withEscalationsCriticalThreshold($value)
3836
    {
3837
        $this->data['EscalationsCriticalThreshold'] = $value;
3838
        $this->options['query']['Escalations.Critical.Threshold'] = $value;
3839
3840
        return $this;
3841
    }
3842
3843
    /**
3844
     * @param string $value
3845
     *
3846
     * @return $this
3847
     */
3848
    public function withEscalationsInfoStatistics($value)
3849
    {
3850
        $this->data['EscalationsInfoStatistics'] = $value;
3851
        $this->options['query']['Escalations.Info.Statistics'] = $value;
3852
3853
        return $this;
3854
    }
3855
3856
    /**
3857
     * @param string $value
3858
     *
3859
     * @return $this
3860
     */
3861
    public function withEscalationsWarnPreCondition($value)
3862
    {
3863
        $this->data['EscalationsWarnPreCondition'] = $value;
3864
        $this->options['query']['Escalations.Warn.PreCondition'] = $value;
3865
3866
        return $this;
3867
    }
3868
3869
    /**
3870
     * @param string $value
3871
     *
3872
     * @return $this
3873
     */
3874
    public function withEscalationsInfoComparisonOperator($value)
3875
    {
3876
        $this->data['EscalationsInfoComparisonOperator'] = $value;
3877
        $this->options['query']['Escalations.Info.ComparisonOperator'] = $value;
3878
3879
        return $this;
3880
    }
3881
3882
    /**
3883
     * @param string $value
3884
     *
3885
     * @return $this
3886
     */
3887
    public function withEscalationsInfoTimes($value)
3888
    {
3889
        $this->data['EscalationsInfoTimes'] = $value;
3890
        $this->options['query']['Escalations.Info.Times'] = $value;
3891
3892
        return $this;
3893
    }
3894
3895
    /**
3896
     * @param string $value
3897
     *
3898
     * @return $this
3899
     */
3900
    public function withEscalationsCriticalTimes($value)
3901
    {
3902
        $this->data['EscalationsCriticalTimes'] = $value;
3903
        $this->options['query']['Escalations.Critical.Times'] = $value;
3904
3905
        return $this;
3906
    }
3907
3908
    /**
3909
     * @param string $value
3910
     *
3911
     * @return $this
3912
     */
3913
    public function withEscalationsWarnStatistics($value)
3914
    {
3915
        $this->data['EscalationsWarnStatistics'] = $value;
3916
        $this->options['query']['Escalations.Warn.Statistics'] = $value;
3917
3918
        return $this;
3919
    }
3920
3921
    /**
3922
     * @param string $value
3923
     *
3924
     * @return $this
3925
     */
3926
    public function withEscalationsInfoThreshold($value)
3927
    {
3928
        $this->data['EscalationsInfoThreshold'] = $value;
3929
        $this->options['query']['Escalations.Info.Threshold'] = $value;
3930
3931
        return $this;
3932
    }
3933
3934
    /**
3935
     * @param string $value
3936
     *
3937
     * @return $this
3938
     */
3939
    public function withEscalationsCriticalComparisonOperator($value)
3940
    {
3941
        $this->data['EscalationsCriticalComparisonOperator'] = $value;
3942
        $this->options['query']['Escalations.Critical.ComparisonOperator'] = $value;
3943
3944
        return $this;
3945
    }
3946
3947
    /**
3948
     * @param string $value
3949
     *
3950
     * @return $this
3951
     */
3952
    public function withEscalationsCriticalPreCondition($value)
3953
    {
3954
        $this->data['EscalationsCriticalPreCondition'] = $value;
3955
        $this->options['query']['Escalations.Critical.PreCondition'] = $value;
3956
3957
        return $this;
3958
    }
3959
}
3960
3961
/**
3962
 * @method array getMetricList()
3963
 * @method string getNamespace()
3964
 * @method $this withNamespace($value)
3965
 */
3966
class PutHybridMonitorMetricData extends Rpc
3967
{
3968
3969
    /**
3970
     * @param array $metricList
3971
     *
3972
     * @return $this
3973
     */
3974
	public function withMetricList(array $metricList)
3975
	{
3976
	    $this->data['MetricList'] = $metricList;
3977
		foreach ($metricList as $depth1 => $depth1Value) {
3978
			if(isset($depth1Value['Name'])){
3979
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
3980
			}
3981
			if(isset($depth1Value['Value'])){
3982
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
3983
			}
3984
			foreach ($depth1Value['Labels'] as $depth2 => $depth2Value) {
3985
				if(isset($depth2Value['Value'])){
3986
					$this->options['query']['MetricList.' . ($depth1 + 1) . '.Labels.' . ($depth2 + 1) . '.Value'] = $depth2Value['Value'];
3987
				}
3988
				if(isset($depth2Value['Key'])){
3989
					$this->options['query']['MetricList.' . ($depth1 + 1) . '.Labels.' . ($depth2 + 1) . '.Key'] = $depth2Value['Key'];
3990
				}
3991
			}
3992
			if(isset($depth1Value['TS'])){
3993
				$this->options['query']['MetricList.' . ($depth1 + 1) . '.TS'] = $depth1Value['TS'];
3994
			}
3995
		}
3996
3997
		return $this;
3998
    }
3999
}
4000
4001
/**
4002
 * @method string getSlsLogstore()
4003
 * @method $this withSlsLogstore($value)
4004
 * @method string getSlsProject()
4005
 * @method $this withSlsProject($value)
4006
 * @method array getValueFilter()
4007
 * @method string getMetricExpress()
4008
 * @method $this withMetricExpress($value)
4009
 * @method string getSlsRegionId()
4010
 * @method $this withSlsRegionId($value)
4011
 * @method string getMetricName()
4012
 * @method $this withMetricName($value)
4013
 * @method string getGroupId()
4014
 * @method $this withGroupId($value)
4015
 * @method string getTumblingwindows()
4016
 * @method $this withTumblingwindows($value)
4017
 * @method string getGroupBy()
4018
 * @method $this withGroupBy($value)
4019
 * @method string getValueFilterRelation()
4020
 * @method $this withValueFilterRelation($value)
4021
 * @method string getUnit()
4022
 * @method $this withUnit($value)
4023
 * @method array getGroupbys()
4024
 * @method string getLogId()
4025
 * @method $this withLogId($value)
4026
 * @method array getAggregates()
4027
 */
4028
class PutLogMonitor extends Rpc
4029
{
4030
4031
    /**
4032
     * @param array $valueFilter
4033
     *
4034
     * @return $this
4035
     */
4036
	public function withValueFilter(array $valueFilter)
4037
	{
4038
	    $this->data['ValueFilter'] = $valueFilter;
4039
		foreach ($valueFilter as $depth1 => $depth1Value) {
4040
			if(isset($depth1Value['Value'])){
4041
				$this->options['query']['ValueFilter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4042
			}
4043
			if(isset($depth1Value['Key'])){
4044
				$this->options['query']['ValueFilter.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4045
			}
4046
			if(isset($depth1Value['Operator'])){
4047
				$this->options['query']['ValueFilter.' . ($depth1 + 1) . '.Operator'] = $depth1Value['Operator'];
4048
			}
4049
		}
4050
4051
		return $this;
4052
    }
4053
4054
    /**
4055
     * @param array $groupbys
4056
     *
4057
     * @return $this
4058
     */
4059
	public function withGroupbys(array $groupbys)
4060
	{
4061
	    $this->data['Groupbys'] = $groupbys;
4062
		foreach ($groupbys as $depth1 => $depth1Value) {
4063
			if(isset($depth1Value['FieldName'])){
4064
				$this->options['query']['Groupbys.' . ($depth1 + 1) . '.FieldName'] = $depth1Value['FieldName'];
4065
			}
4066
			if(isset($depth1Value['Alias'])){
4067
				$this->options['query']['Groupbys.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
4068
			}
4069
		}
4070
4071
		return $this;
4072
    }
4073
4074
    /**
4075
     * @param array $aggregates
4076
     *
4077
     * @return $this
4078
     */
4079
	public function withAggregates(array $aggregates)
4080
	{
4081
	    $this->data['Aggregates'] = $aggregates;
4082
		foreach ($aggregates as $depth1 => $depth1Value) {
4083
			if(isset($depth1Value['FieldName'])){
4084
				$this->options['query']['Aggregates.' . ($depth1 + 1) . '.FieldName'] = $depth1Value['FieldName'];
4085
			}
4086
			if(isset($depth1Value['Function'])){
4087
				$this->options['query']['Aggregates.' . ($depth1 + 1) . '.Function'] = $depth1Value['Function'];
4088
			}
4089
			if(isset($depth1Value['Alias'])){
4090
				$this->options['query']['Aggregates.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
4091
			}
4092
		}
4093
4094
		return $this;
4095
    }
4096
}
4097
4098
/**
4099
 * @method array getTargets()
4100
 * @method string getRuleId()
4101
 * @method $this withRuleId($value)
4102
 */
4103
class PutMetricRuleTargets extends Rpc
4104
{
4105
4106
    /**
4107
     * @param array $targets
4108
     *
4109
     * @return $this
4110
     */
4111
	public function withTargets(array $targets)
4112
	{
4113
	    $this->data['Targets'] = $targets;
4114
		foreach ($targets as $depth1 => $depth1Value) {
4115
			if(isset($depth1Value['Level'])){
4116
				$this->options['query']['Targets.' . ($depth1 + 1) . '.Level'] = $depth1Value['Level'];
4117
			}
4118
			if(isset($depth1Value['Id'])){
4119
				$this->options['query']['Targets.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
4120
			}
4121
			if(isset($depth1Value['Arn'])){
4122
				$this->options['query']['Targets.' . ($depth1 + 1) . '.Arn'] = $depth1Value['Arn'];
4123
			}
4124
			if(isset($depth1Value['JsonParams'])){
4125
				$this->options['query']['Targets.' . ($depth1 + 1) . '.JsonParams'] = $depth1Value['JsonParams'];
4126
			}
4127
		}
4128
4129
		return $this;
4130
    }
4131
}
4132
4133
/**
4134
 * @method array getGroupRules()
4135
 * @method string getGroupId()
4136
 * @method $this withGroupId($value)
4137
 * @method string getIsAsync()
4138
 * @method $this withIsAsync($value)
4139
 */
4140
class PutMonitorGroupDynamicRule extends Rpc
4141
{
4142
4143
    /**
4144
     * @param array $groupRules
4145
     *
4146
     * @return $this
4147
     */
4148
	public function withGroupRules(array $groupRules)
4149
	{
4150
	    $this->data['GroupRules'] = $groupRules;
4151
		foreach ($groupRules as $depth1 => $depth1Value) {
4152
			if(isset($depth1Value['FilterRelation'])){
4153
				$this->options['query']['GroupRules.' . ($depth1 + 1) . '.FilterRelation'] = $depth1Value['FilterRelation'];
4154
			}
4155
			foreach ($depth1Value['Filters'] as $depth2 => $depth2Value) {
4156
				if(isset($depth2Value['Function'])){
4157
					$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Filters.' . ($depth2 + 1) . '.Function'] = $depth2Value['Function'];
4158
				}
4159
				if(isset($depth2Value['Name'])){
4160
					$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Filters.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
4161
				}
4162
				if(isset($depth2Value['Value'])){
4163
					$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Filters.' . ($depth2 + 1) . '.Value'] = $depth2Value['Value'];
4164
				}
4165
			}
4166
			if(isset($depth1Value['Category'])){
4167
				$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
4168
			}
4169
		}
4170
4171
		return $this;
4172
    }
4173
}
4174
4175
/**
4176
 * @method string getAutoInstall()
4177
 * @method $this withAutoInstall($value)
4178
 * @method string getEnableInstallAgentNewECS()
4179
 * @method $this withEnableInstallAgentNewECS($value)
4180
 */
4181
class PutMonitoringConfig extends Rpc
4182
{
4183
}
4184
4185
/**
4186
 * @method string getWebhook()
4187
 * @method $this withWebhook($value)
4188
 * @method string getEscalationsWarnComparisonOperator()
4189
 * @method string getRuleName()
4190
 * @method $this withRuleName($value)
4191
 * @method string getEffectiveInterval()
4192
 * @method $this withEffectiveInterval($value)
4193
 * @method string getNoDataPolicy()
4194
 * @method $this withNoDataPolicy($value)
4195
 * @method string getNoEffectiveInterval()
4196
 * @method $this withNoEffectiveInterval($value)
4197
 * @method string getEmailSubject()
4198
 * @method $this withEmailSubject($value)
4199
 * @method string getOptions()
4200
 * @method $this withOptions($value)
4201
 * @method string getEscalationsInfoPreCondition()
4202
 * @method string getMetricName()
4203
 * @method $this withMetricName($value)
4204
 * @method string getEscalationsWarnTimes()
4205
 * @method string getPeriod()
4206
 * @method $this withPeriod($value)
4207
 * @method string getEscalationsWarnThreshold()
4208
 * @method string getContactGroups()
4209
 * @method $this withContactGroups($value)
4210
 * @method string getEscalationsCriticalStatistics()
4211
 * @method string getGroupId()
4212
 * @method $this withGroupId($value)
4213
 * @method string getGroupName()
4214
 * @method $this withGroupName($value)
4215
 * @method array getLabels()
4216
 * @method string getInterval()
4217
 * @method $this withInterval($value)
4218
 * @method string getRuleId()
4219
 * @method $this withRuleId($value)
4220
 * @method string getEscalationsCriticalThreshold()
4221
 * @method string getEscalationsInfoStatistics()
4222
 * @method string getEscalationsWarnPreCondition()
4223
 * @method string getEscalationsInfoComparisonOperator()
4224
 * @method string getSilenceTime()
4225
 * @method $this withSilenceTime($value)
4226
 * @method string getPrometheus()
4227
 * @method $this withPrometheus($value)
4228
 * @method string getCompositeExpression()
4229
 * @method $this withCompositeExpression($value)
4230
 * @method string getResources()
4231
 * @method $this withResources($value)
4232
 * @method string getEscalationsInfoTimes()
4233
 * @method string getGroupBy()
4234
 * @method $this withGroupBy($value)
4235
 * @method string getEscalationsCriticalTimes()
4236
 * @method string getEscalationsWarnStatistics()
4237
 * @method string getEscalationsInfoThreshold()
4238
 * @method string getNamespace()
4239
 * @method $this withNamespace($value)
4240
 * @method string getEscalationsCriticalComparisonOperator()
4241
 * @method string getEscalationsCriticalPreCondition()
4242
 */
4243
class PutResourceMetricRule extends Rpc
4244
{
4245
4246
    /**
4247
     * @param string $value
4248
     *
4249
     * @return $this
4250
     */
4251
    public function withEscalationsWarnComparisonOperator($value)
4252
    {
4253
        $this->data['EscalationsWarnComparisonOperator'] = $value;
4254
        $this->options['query']['Escalations.Warn.ComparisonOperator'] = $value;
4255
4256
        return $this;
4257
    }
4258
4259
    /**
4260
     * @param string $value
4261
     *
4262
     * @return $this
4263
     */
4264
    public function withEscalationsInfoPreCondition($value)
4265
    {
4266
        $this->data['EscalationsInfoPreCondition'] = $value;
4267
        $this->options['query']['Escalations.Info.PreCondition'] = $value;
4268
4269
        return $this;
4270
    }
4271
4272
    /**
4273
     * @param string $value
4274
     *
4275
     * @return $this
4276
     */
4277
    public function withEscalationsWarnTimes($value)
4278
    {
4279
        $this->data['EscalationsWarnTimes'] = $value;
4280
        $this->options['query']['Escalations.Warn.Times'] = $value;
4281
4282
        return $this;
4283
    }
4284
4285
    /**
4286
     * @param string $value
4287
     *
4288
     * @return $this
4289
     */
4290
    public function withEscalationsWarnThreshold($value)
4291
    {
4292
        $this->data['EscalationsWarnThreshold'] = $value;
4293
        $this->options['query']['Escalations.Warn.Threshold'] = $value;
4294
4295
        return $this;
4296
    }
4297
4298
    /**
4299
     * @param string $value
4300
     *
4301
     * @return $this
4302
     */
4303
    public function withEscalationsCriticalStatistics($value)
4304
    {
4305
        $this->data['EscalationsCriticalStatistics'] = $value;
4306
        $this->options['query']['Escalations.Critical.Statistics'] = $value;
4307
4308
        return $this;
4309
    }
4310
4311
    /**
4312
     * @param array $labels
4313
     *
4314
     * @return $this
4315
     */
4316
	public function withLabels(array $labels)
4317
	{
4318
	    $this->data['Labels'] = $labels;
4319
		foreach ($labels as $depth1 => $depth1Value) {
4320
			if(isset($depth1Value['Value'])){
4321
				$this->options['query']['Labels.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4322
			}
4323
			if(isset($depth1Value['Key'])){
4324
				$this->options['query']['Labels.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4325
			}
4326
		}
4327
4328
		return $this;
4329
    }
4330
4331
    /**
4332
     * @param string $value
4333
     *
4334
     * @return $this
4335
     */
4336
    public function withEscalationsCriticalThreshold($value)
4337
    {
4338
        $this->data['EscalationsCriticalThreshold'] = $value;
4339
        $this->options['query']['Escalations.Critical.Threshold'] = $value;
4340
4341
        return $this;
4342
    }
4343
4344
    /**
4345
     * @param string $value
4346
     *
4347
     * @return $this
4348
     */
4349
    public function withEscalationsInfoStatistics($value)
4350
    {
4351
        $this->data['EscalationsInfoStatistics'] = $value;
4352
        $this->options['query']['Escalations.Info.Statistics'] = $value;
4353
4354
        return $this;
4355
    }
4356
4357
    /**
4358
     * @param string $value
4359
     *
4360
     * @return $this
4361
     */
4362
    public function withEscalationsWarnPreCondition($value)
4363
    {
4364
        $this->data['EscalationsWarnPreCondition'] = $value;
4365
        $this->options['query']['Escalations.Warn.PreCondition'] = $value;
4366
4367
        return $this;
4368
    }
4369
4370
    /**
4371
     * @param string $value
4372
     *
4373
     * @return $this
4374
     */
4375
    public function withEscalationsInfoComparisonOperator($value)
4376
    {
4377
        $this->data['EscalationsInfoComparisonOperator'] = $value;
4378
        $this->options['query']['Escalations.Info.ComparisonOperator'] = $value;
4379
4380
        return $this;
4381
    }
4382
4383
    /**
4384
     * @param string $value
4385
     *
4386
     * @return $this
4387
     */
4388
    public function withEscalationsInfoTimes($value)
4389
    {
4390
        $this->data['EscalationsInfoTimes'] = $value;
4391
        $this->options['query']['Escalations.Info.Times'] = $value;
4392
4393
        return $this;
4394
    }
4395
4396
    /**
4397
     * @param string $value
4398
     *
4399
     * @return $this
4400
     */
4401
    public function withEscalationsCriticalTimes($value)
4402
    {
4403
        $this->data['EscalationsCriticalTimes'] = $value;
4404
        $this->options['query']['Escalations.Critical.Times'] = $value;
4405
4406
        return $this;
4407
    }
4408
4409
    /**
4410
     * @param string $value
4411
     *
4412
     * @return $this
4413
     */
4414
    public function withEscalationsWarnStatistics($value)
4415
    {
4416
        $this->data['EscalationsWarnStatistics'] = $value;
4417
        $this->options['query']['Escalations.Warn.Statistics'] = $value;
4418
4419
        return $this;
4420
    }
4421
4422
    /**
4423
     * @param string $value
4424
     *
4425
     * @return $this
4426
     */
4427
    public function withEscalationsInfoThreshold($value)
4428
    {
4429
        $this->data['EscalationsInfoThreshold'] = $value;
4430
        $this->options['query']['Escalations.Info.Threshold'] = $value;
4431
4432
        return $this;
4433
    }
4434
4435
    /**
4436
     * @param string $value
4437
     *
4438
     * @return $this
4439
     */
4440
    public function withEscalationsCriticalComparisonOperator($value)
4441
    {
4442
        $this->data['EscalationsCriticalComparisonOperator'] = $value;
4443
        $this->options['query']['Escalations.Critical.ComparisonOperator'] = $value;
4444
4445
        return $this;
4446
    }
4447
4448
    /**
4449
     * @param string $value
4450
     *
4451
     * @return $this
4452
     */
4453
    public function withEscalationsCriticalPreCondition($value)
4454
    {
4455
        $this->data['EscalationsCriticalPreCondition'] = $value;
4456
        $this->options['query']['Escalations.Critical.PreCondition'] = $value;
4457
4458
        return $this;
4459
    }
4460
}
4461
4462
/**
4463
 * @method array getRules()
4464
 */
4465
class PutResourceMetricRules extends Rpc
4466
{
4467
4468
    /**
4469
     * @param array $rules
4470
     *
4471
     * @return $this
4472
     */
4473
	public function withRules(array $rules)
4474
	{
4475
	    $this->data['Rules'] = $rules;
4476
		foreach ($rules as $depth1 => $depth1Value) {
4477
			if(isset($depth1Value['Webhook'])){
4478
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
4479
			}
4480
			if(isset($depth1Value['EscalationsWarnComparisonOperator'])){
4481
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
4482
			}
4483
			if(isset($depth1Value['DynamicAlertSensitivity'])){
4484
				$this->options['query']['Rules.' . ($depth1 + 1) . '.DynamicAlertSensitivity'] = $depth1Value['DynamicAlertSensitivity'];
4485
			}
4486
			if(isset($depth1Value['RuleName'])){
4487
				$this->options['query']['Rules.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
4488
			}
4489
			if(isset($depth1Value['EscalationsInfoStatistics'])){
4490
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
4491
			}
4492
			if(isset($depth1Value['EffectiveInterval'])){
4493
				$this->options['query']['Rules.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
4494
			}
4495
			if(isset($depth1Value['DynamicAlertHistoryDataRange'])){
4496
				$this->options['query']['Rules.' . ($depth1 + 1) . '.DynamicAlertHistoryDataRange'] = $depth1Value['DynamicAlertHistoryDataRange'];
4497
			}
4498
			if(isset($depth1Value['EscalationsWarnPreCondition'])){
4499
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.PreCondition'] = $depth1Value['EscalationsWarnPreCondition'];
4500
			}
4501
			if(isset($depth1Value['EscalationsInfoComparisonOperator'])){
4502
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
4503
			}
4504
			if(isset($depth1Value['NoDataPolicy'])){
4505
				$this->options['query']['Rules.' . ($depth1 + 1) . '.NoDataPolicy'] = $depth1Value['NoDataPolicy'];
4506
			}
4507
			if(isset($depth1Value['NoEffectiveInterval'])){
4508
				$this->options['query']['Rules.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
4509
			}
4510
			if(isset($depth1Value['EmailSubject'])){
4511
				$this->options['query']['Rules.' . ($depth1 + 1) . '.EmailSubject'] = $depth1Value['EmailSubject'];
4512
			}
4513
			if(isset($depth1Value['Options'])){
4514
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Options'] = $depth1Value['Options'];
4515
			}
4516
			if(isset($depth1Value['SilenceTime'])){
4517
				$this->options['query']['Rules.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
4518
			}
4519
			if(isset($depth1Value['Prometheus'])){
4520
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Prometheus'] = $depth1Value['Prometheus'];
4521
			}
4522
			if(isset($depth1Value['EscalationsInfoPreCondition'])){
4523
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.PreCondition'] = $depth1Value['EscalationsInfoPreCondition'];
4524
			}
4525
			if(isset($depth1Value['MetricName'])){
4526
				$this->options['query']['Rules.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
4527
			}
4528
			if(isset($depth1Value['EscalationsWarnTimes'])){
4529
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
4530
			}
4531
			if(isset($depth1Value['CompositeExpression'])){
4532
				$this->options['query']['Rules.' . ($depth1 + 1) . '.CompositeExpression'] = $depth1Value['CompositeExpression'];
4533
			}
4534
			if(isset($depth1Value['EscalationsWarnThreshold'])){
4535
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
4536
			}
4537
			if(isset($depth1Value['Period'])){
4538
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
4539
			}
4540
			if(isset($depth1Value['ContactGroups'])){
4541
				$this->options['query']['Rules.' . ($depth1 + 1) . '.ContactGroups'] = $depth1Value['ContactGroups'];
4542
			}
4543
			if(isset($depth1Value['EscalationsCriticalStatistics'])){
4544
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
4545
			}
4546
			if(isset($depth1Value['RuleType'])){
4547
				$this->options['query']['Rules.' . ($depth1 + 1) . '.RuleType'] = $depth1Value['RuleType'];
4548
			}
4549
			if(isset($depth1Value['GroupId'])){
4550
				$this->options['query']['Rules.' . ($depth1 + 1) . '.GroupId'] = $depth1Value['GroupId'];
4551
			}
4552
			if(isset($depth1Value['EscalationsInfoTimes'])){
4553
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
4554
			}
4555
			if(isset($depth1Value['Resources'])){
4556
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Resources'] = $depth1Value['Resources'];
4557
			}
4558
			foreach ($depth1Value['Labels'] as $depth2 => $depth2Value) {
4559
				if(isset($depth2Value['Value'])){
4560
					$this->options['query']['Rules.' . ($depth1 + 1) . '.Labels.' . ($depth2 + 1) . '.Value'] = $depth2Value['Value'];
4561
				}
4562
				if(isset($depth2Value['Key'])){
4563
					$this->options['query']['Rules.' . ($depth1 + 1) . '.Labels.' . ($depth2 + 1) . '.Key'] = $depth2Value['Key'];
4564
				}
4565
			}
4566
			if(isset($depth1Value['EscalationsCriticalTimes'])){
4567
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
4568
			}
4569
			if(isset($depth1Value['EscalationsInfoThreshold'])){
4570
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
4571
			}
4572
			if(isset($depth1Value['EscalationsWarnStatistics'])){
4573
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
4574
			}
4575
			if(isset($depth1Value['Namespace'])){
4576
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
4577
			}
4578
			if(isset($depth1Value['Interval'])){
4579
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Interval'] = $depth1Value['Interval'];
4580
			}
4581
			if(isset($depth1Value['RuleId'])){
4582
				$this->options['query']['Rules.' . ($depth1 + 1) . '.RuleId'] = $depth1Value['RuleId'];
4583
			}
4584
			if(isset($depth1Value['EscalationsCriticalComparisonOperator'])){
4585
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
4586
			}
4587
			if(isset($depth1Value['EscalationsCriticalPreCondition'])){
4588
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.PreCondition'] = $depth1Value['EscalationsCriticalPreCondition'];
4589
			}
4590
			if(isset($depth1Value['EscalationsCriticalThreshold'])){
4591
				$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
4592
			}
4593
		}
4594
4595
		return $this;
4596
    }
4597
}
4598
4599
/**
4600
 * @method array getGroupIds()
4601
 * @method array getTag()
4602
 */
4603
class RemoveTags extends Rpc
4604
{
4605
4606
    /**
4607
     * @param array $groupIds
4608
     *
4609
     * @return $this
4610
     */
4611
	public function withGroupIds(array $groupIds)
4612
	{
4613
	    $this->data['GroupIds'] = $groupIds;
4614
		foreach ($groupIds as $i => $iValue) {
4615
			$this->options['query']['GroupIds.' . ($i + 1)] = $iValue;
4616
		}
4617
4618
		return $this;
4619
    }
4620
4621
    /**
4622
     * @param array $tag
4623
     *
4624
     * @return $this
4625
     */
4626
	public function withTag(array $tag)
4627
	{
4628
	    $this->data['Tag'] = $tag;
4629
		foreach ($tag as $depth1 => $depth1Value) {
4630
			if(isset($depth1Value['Value'])){
4631
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4632
			}
4633
			if(isset($depth1Value['Key'])){
4634
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4635
			}
4636
		}
4637
4638
		return $this;
4639
    }
4640
}
4641
4642
/**
4643
 * @method string getProduct()
4644
 * @method $this withProduct($value)
4645
 * @method string getGroupId()
4646
 * @method $this withGroupId($value)
4647
 * @method string getEventName()
4648
 * @method $this withEventName($value)
4649
 * @method string getEventContent()
4650
 * @method $this withEventContent($value)
4651
 */
4652
class SendDryRunSystemEvent extends Rpc
4653
{
4654
}
4655
4656
/**
4657
 * @method string getInstanceId()
4658
 * @method $this withInstanceId($value)
4659
 */
4660
class UninstallMonitoringAgent extends Rpc
4661
{
4662
}
4663