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 ( 9ef2a9...ab639a )
by
unknown
08:05
created

withEscalationsWarnPreCondition()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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