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 ( 534b55...54c64b )
by
unknown
06:43
created

SaveTraceAppConfig   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 4
eloc 8
c 1
b 0
f 0
dl 0
loc 21
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withSettings() 0 13 4
1
<?php
2
3
namespace AlibabaCloud\ARMS\V20190808;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddGrafana addGrafana(array $options = [])
9
 * @method AddIntegration addIntegration(array $options = [])
10
 * @method CheckDataConsistency checkDataConsistency(array $options = [])
11
 * @method CheckServiceLinkedRoleForDeleting checkServiceLinkedRoleForDeleting(array $options = [])
12
 * @method ConfigApp configApp(array $options = [])
13
 * @method CreateAlertContact createAlertContact(array $options = [])
14
 * @method CreateAlertContactGroup createAlertContactGroup(array $options = [])
15
 * @method CreateRetcodeApp createRetcodeApp(array $options = [])
16
 * @method CreateWehook createWehook(array $options = [])
17
 * @method DeleteAlertContact deleteAlertContact(array $options = [])
18
 * @method DeleteAlertContactGroup deleteAlertContactGroup(array $options = [])
19
 * @method DeleteAlertRules deleteAlertRules(array $options = [])
20
 * @method DeleteRetcodeApp deleteRetcodeApp(array $options = [])
21
 * @method DeleteTraceApp deleteTraceApp(array $options = [])
22
 * @method DescribeTraceLicenseKey describeTraceLicenseKey(array $options = [])
23
 * @method DescribeTraceLocation describeTraceLocation(array $options = [])
24
 * @method GetAppApiByPage getAppApiByPage(array $options = [])
25
 * @method GetConsistencySnapshot getConsistencySnapshot(array $options = [])
26
 * @method GetMultipleTrace getMultipleTrace(array $options = [])
27
 * @method GetPrometheusApiToken getPrometheusApiToken(array $options = [])
28
 * @method GetRetcodeShareUrl getRetcodeShareUrl(array $options = [])
29
 * @method GetStack getStack(array $options = [])
30
 * @method GetTrace getTrace(array $options = [])
31
 * @method GetTraceApp getTraceApp(array $options = [])
32
 * @method ImportAppAlertRules importAppAlertRules(array $options = [])
33
 * @method ImportCustomAlertRules importCustomAlertRules(array $options = [])
34
 * @method ListClusterFromGrafana listClusterFromGrafana(array $options = [])
35
 * @method ListDashboards listDashboards(array $options = [])
36
 * @method ListPromClusters listPromClusters(array $options = [])
37
 * @method ListRetcodeApps listRetcodeApps(array $options = [])
38
 * @method ListTraceApps listTraceApps(array $options = [])
39
 * @method QueryDataset queryDataset(array $options = [])
40
 * @method QueryMetric queryMetric(array $options = [])
41
 * @method QueryMetricByPage queryMetricByPage(array $options = [])
42
 * @method SaveTraceAppConfig saveTraceAppConfig(array $options = [])
43
 * @method SearchAlertContact searchAlertContact(array $options = [])
44
 * @method SearchAlertContactGroup searchAlertContactGroup(array $options = [])
45
 * @method SearchAlertHistories searchAlertHistories(array $options = [])
46
 * @method SearchAlertRules searchAlertRules(array $options = [])
47
 * @method SearchEvents searchEvents(array $options = [])
48
 * @method SearchRetcodeAppByPage searchRetcodeAppByPage(array $options = [])
49
 * @method SearchTraceAppByName searchTraceAppByName(array $options = [])
50
 * @method SearchTraceAppByPage searchTraceAppByPage(array $options = [])
51
 * @method SearchTraces searchTraces(array $options = [])
52
 * @method SearchTracesByPage searchTracesByPage(array $options = [])
53
 * @method SetRetcodeShareStatus setRetcodeShareStatus(array $options = [])
54
 * @method StartAlert startAlert(array $options = [])
55
 * @method StopAlert stopAlert(array $options = [])
56
 * @method UpdateAlertContact updateAlertContact(array $options = [])
57
 * @method UpdateAlertContactGroup updateAlertContactGroup(array $options = [])
58
 * @method UpdateAlertRule updateAlertRule(array $options = [])
59
 * @method UpdateWebhook updateWebhook(array $options = [])
60
 */
61
class ARMSApiResolver extends ApiResolver
62
{
63
}
64
65
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
66
{
67
    /** @var string */
68
    public $product = 'ARMS';
69
70
    /** @var string */
71
    public $version = '2019-08-08';
72
73
    /** @var string */
74
    public $method = 'POST';
75
76
    /** @var string */
77
    public $serviceCode = 'arms';
78
}
79
80
/**
81
 * @method string getIntegration()
82
 * @method $this withIntegration($value)
83
 * @method string getClusterId()
84
 * @method $this withClusterId($value)
85
 */
86
class AddGrafana extends Rpc
87
{
88
}
89
90
/**
91
 * @method string getIntegration()
92
 * @method $this withIntegration($value)
93
 * @method string getClusterId()
94
 * @method $this withClusterId($value)
95
 */
96
class AddIntegration extends Rpc
97
{
98
}
99
100
/**
101
 * @method string getCurrentTimestamp()
102
 * @method $this withCurrentTimestamp($value)
103
 * @method string getAppType()
104
 * @method $this withAppType($value)
105
 * @method string getPid()
106
 * @method $this withPid($value)
107
 * @method string getProxyUserId()
108
 * @method $this withProxyUserId($value)
109
 */
110
class CheckDataConsistency extends Rpc
111
{
112
}
113
114
/**
115
 * @method string getSPIRegionId()
116
 * @method $this withSPIRegionId($value)
117
 * @method string getRoleArn()
118
 * @method $this withRoleArn($value)
119
 * @method string getDeletionTaskId()
120
 * @method $this withDeletionTaskId($value)
121
 * @method string getServiceName()
122
 * @method $this withServiceName($value)
123
 */
124
class CheckServiceLinkedRoleForDeleting extends Rpc
125
{
126
}
127
128
/**
129
 * @method string getAppIds()
130
 * @method $this withAppIds($value)
131
 * @method string getEnable()
132
 * @method $this withEnable($value)
133
 */
134
class ConfigApp extends Rpc
135
{
136
}
137
138
/**
139
 * @method string getPhoneNum()
140
 * @method $this withPhoneNum($value)
141
 * @method string getProxyUserId()
142
 * @method $this withProxyUserId($value)
143
 * @method string getContactName()
144
 * @method $this withContactName($value)
145
 * @method string getDingRobotWebhookUrl()
146
 * @method $this withDingRobotWebhookUrl($value)
147
 * @method string getEmail()
148
 * @method $this withEmail($value)
149
 * @method string getSystemNoc()
150
 * @method $this withSystemNoc($value)
151
 */
152
class CreateAlertContact extends Rpc
153
{
154
}
155
156
/**
157
 * @method string getContactGroupName()
158
 * @method $this withContactGroupName($value)
159
 * @method string getProxyUserId()
160
 * @method $this withProxyUserId($value)
161
 * @method string getContactIds()
162
 * @method $this withContactIds($value)
163
 */
164
class CreateAlertContactGroup extends Rpc
165
{
166
}
167
168
/**
169
 * @method string getRetcodeAppName()
170
 * @method $this withRetcodeAppName($value)
171
 * @method string getRetcodeAppType()
172
 * @method $this withRetcodeAppType($value)
173
 */
174
class CreateRetcodeApp extends Rpc
175
{
176
}
177
178
/**
179
 * @method string getHeaders()
180
 * @method $this withHeaders($value)
181
 * @method string getMethod()
182
 * @method $this withMethod($value)
183
 * @method string getParams()
184
 * @method $this withParams($value)
185
 * @method string getProxyUserId()
186
 * @method $this withProxyUserId($value)
187
 * @method string getBody()
188
 * @method $this withBody($value)
189
 * @method string getUrl()
190
 * @method $this withUrl($value)
191
 * @method string getContactName()
192
 * @method $this withContactName($value)
193
 */
194
class CreateWehook extends Rpc
195
{
196
}
197
198
/**
199
 * @method string getContactId()
200
 * @method $this withContactId($value)
201
 * @method string getProxyUserId()
202
 * @method $this withProxyUserId($value)
203
 */
204
class DeleteAlertContact extends Rpc
205
{
206
}
207
208
/**
209
 * @method string getContactGroupId()
210
 * @method $this withContactGroupId($value)
211
 * @method string getProxyUserId()
212
 * @method $this withProxyUserId($value)
213
 */
214
class DeleteAlertContactGroup extends Rpc
215
{
216
}
217
218
/**
219
 * @method string getAlertIds()
220
 * @method $this withAlertIds($value)
221
 * @method string getProxyUserId()
222
 * @method $this withProxyUserId($value)
223
 */
224
class DeleteAlertRules extends Rpc
225
{
226
}
227
228
/**
229
 * @method string getAppId()
230
 * @method $this withAppId($value)
231
 */
232
class DeleteRetcodeApp extends Rpc
233
{
234
}
235
236
/**
237
 * @method string getAppId()
238
 * @method $this withAppId($value)
239
 * @method string getPid()
240
 * @method $this withPid($value)
241
 * @method string getType()
242
 * @method $this withType($value)
243
 */
244
class DeleteTraceApp extends Rpc
245
{
246
}
247
248
class DescribeTraceLicenseKey extends Rpc
249
{
250
}
251
252
class DescribeTraceLocation extends Rpc
253
{
254
}
255
256
/**
257
 * @method string getEndTime()
258
 * @method $this withEndTime($value)
259
 * @method string getCurrentPage()
260
 * @method $this withCurrentPage($value)
261
 * @method string getPId()
262
 * @method $this withPId($value)
263
 * @method string getStartTime()
264
 * @method $this withStartTime($value)
265
 * @method string getPageSize()
266
 * @method $this withPageSize($value)
267
 * @method string getIntervalMills()
268
 * @method $this withIntervalMills($value)
269
 */
270
class GetAppApiByPage extends Rpc
271
{
272
}
273
274
/**
275
 * @method string getCurrentTimestamp()
276
 * @method $this withCurrentTimestamp($value)
277
 * @method string getAppType()
278
 * @method $this withAppType($value)
279
 * @method string getPid()
280
 * @method $this withPid($value)
281
 * @method string getProxyUserId()
282
 * @method $this withProxyUserId($value)
283
 */
284
class GetConsistencySnapshot extends Rpc
285
{
286
}
287
288
/**
289
 * @method array getTraceIDs()
290
 */
291
class GetMultipleTrace extends Rpc
292
{
293
294
    /**
295
     * @param array $traceIDs
296
     *
297
     * @return $this
298
     */
299
	public function withTraceIDs(array $traceIDs)
300
	{
301
	    $this->data['TraceIDs'] = $traceIDs;
302
		foreach ($traceIDs as $i => $iValue) {
303
			$this->options['query']['TraceIDs.' . ($i + 1)] = $iValue;
304
		}
305
306
		return $this;
307
    }
308
}
309
310
class GetPrometheusApiToken extends Rpc
311
{
312
}
313
314
/**
315
 * @method string getPid()
316
 * @method $this withPid($value)
317
 */
318
class GetRetcodeShareUrl extends Rpc
319
{
320
}
321
322
/**
323
 * @method string getTraceID()
324
 * @method $this withTraceID($value)
325
 * @method string getRpcID()
326
 * @method $this withRpcID($value)
327
 * @method string getPid()
328
 * @method $this withPid($value)
329
 */
330
class GetStack extends Rpc
331
{
332
}
333
334
/**
335
 * @method string getTraceID()
336
 * @method $this withTraceID($value)
337
 */
338
class GetTrace extends Rpc
339
{
340
}
341
342
/**
343
 * @method string getPid()
344
 * @method $this withPid($value)
345
 */
346
class GetTraceApp extends Rpc
347
{
348
}
349
350
/**
351
 * @method string getIsAutoStart()
352
 * @method $this withIsAutoStart($value)
353
 * @method string getProxyUserId()
354
 * @method $this withProxyUserId($value)
355
 * @method string getContactGroupIds()
356
 * @method $this withContactGroupIds($value)
357
 * @method string getPids()
358
 * @method $this withPids($value)
359
 * @method string getTemplageAlertConfig()
360
 * @method $this withTemplageAlertConfig($value)
361
 * @method string getTemplateAlertId()
362
 * @method $this withTemplateAlertId($value)
363
 */
364
class ImportAppAlertRules extends Rpc
365
{
366
}
367
368
/**
369
 * @method string getIsAutoStart()
370
 * @method $this withIsAutoStart($value)
371
 * @method string getProxyUserId()
372
 * @method $this withProxyUserId($value)
373
 * @method string getContactGroupIds()
374
 * @method $this withContactGroupIds($value)
375
 * @method string getTemplateAlertConfig()
376
 * @method $this withTemplateAlertConfig($value)
377
 * @method string getTemplageAlertConfig()
378
 * @method $this withTemplageAlertConfig($value)
379
 */
380
class ImportCustomAlertRules extends Rpc
381
{
382
}
383
384
class ListClusterFromGrafana extends Rpc
385
{
386
}
387
388
/**
389
 * @method string getClusterId()
390
 * @method $this withClusterId($value)
391
 */
392
class ListDashboards extends Rpc
393
{
394
}
395
396
class ListPromClusters extends Rpc
397
{
398
}
399
400
/**
401
 * @method string getSecurityToken()
402
 * @method $this withSecurityToken($value)
403
 */
404
class ListRetcodeApps extends Rpc
405
{
406
}
407
408
class ListTraceApps extends Rpc
409
{
410
}
411
412
/**
413
 * @method string getDateStr()
414
 * @method $this withDateStr($value)
415
 * @method string getMinTime()
416
 * @method $this withMinTime($value)
417
 * @method string getProxyUserId()
418
 * @method $this withProxyUserId($value)
419
 * @method string getReduceTail()
420
 * @method $this withReduceTail($value)
421
 * @method string getMaxTime()
422
 * @method $this withMaxTime($value)
423
 * @method array getOptionalDims()
424
 * @method array getMeasures()
425
 * @method string getIntervalInSec()
426
 * @method $this withIntervalInSec($value)
427
 * @method string getIsDrillDown()
428
 * @method $this withIsDrillDown($value)
429
 * @method string getHungryMode()
430
 * @method $this withHungryMode($value)
431
 * @method string getOrderByKey()
432
 * @method $this withOrderByKey($value)
433
 * @method string getLimit()
434
 * @method $this withLimit($value)
435
 * @method string getDatasetId()
436
 * @method $this withDatasetId($value)
437
 * @method array getRequiredDims()
438
 * @method array getDimensions()
439
 */
440
class QueryDataset extends Rpc
441
{
442
443
    /**
444
     * @param array $optionalDims
445
     *
446
     * @return $this
447
     */
448
	public function withOptionalDims(array $optionalDims)
449
	{
450
	    $this->data['OptionalDims'] = $optionalDims;
451
		foreach ($optionalDims as $depth1 => $depth1Value) {
452
			if(isset($depth1Value['Type'])){
453
				$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
454
			}
455
			if(isset($depth1Value['Value'])){
456
				$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
457
			}
458
			if(isset($depth1Value['Key'])){
459
				$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
460
			}
461
		}
462
463
		return $this;
464
    }
465
466
    /**
467
     * @param array $measures
468
     *
469
     * @return $this
470
     */
471
	public function withMeasures(array $measures)
472
	{
473
	    $this->data['Measures'] = $measures;
474
		foreach ($measures as $i => $iValue) {
475
			$this->options['query']['Measures.' . ($i + 1)] = $iValue;
476
		}
477
478
		return $this;
479
    }
480
481
    /**
482
     * @param array $requiredDims
483
     *
484
     * @return $this
485
     */
486
	public function withRequiredDims(array $requiredDims)
487
	{
488
	    $this->data['RequiredDims'] = $requiredDims;
489
		foreach ($requiredDims as $depth1 => $depth1Value) {
490
			if(isset($depth1Value['Type'])){
491
				$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
492
			}
493
			if(isset($depth1Value['Value'])){
494
				$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
495
			}
496
			if(isset($depth1Value['Key'])){
497
				$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
498
			}
499
		}
500
501
		return $this;
502
    }
503
504
    /**
505
     * @param array $dimensions
506
     *
507
     * @return $this
508
     */
509
	public function withDimensions(array $dimensions)
510
	{
511
	    $this->data['Dimensions'] = $dimensions;
512
		foreach ($dimensions as $depth1 => $depth1Value) {
513
			if(isset($depth1Value['Type'])){
514
				$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
515
			}
516
			if(isset($depth1Value['Value'])){
517
				$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
518
			}
519
			if(isset($depth1Value['Key'])){
520
				$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
521
			}
522
		}
523
524
		return $this;
525
    }
526
}
527
528
/**
529
 * @method string getConsistencyQueryStrategy()
530
 * @method $this withConsistencyQueryStrategy($value)
531
 * @method string getEndTime()
532
 * @method $this withEndTime($value)
533
 * @method string getOrderBy()
534
 * @method $this withOrderBy($value)
535
 * @method string getStartTime()
536
 * @method $this withStartTime($value)
537
 * @method array getFilters()
538
 * @method string getConsistencyDataKey()
539
 * @method $this withConsistencyDataKey($value)
540
 * @method string getProxyUserId()
541
 * @method $this withProxyUserId($value)
542
 * @method array getMeasures()
543
 * @method string getIntervalInSec()
544
 * @method $this withIntervalInSec($value)
545
 * @method string getMetric()
546
 * @method $this withMetric($value)
547
 * @method string getLimit()
548
 * @method $this withLimit($value)
549
 * @method array getDimensions()
550
 * @method string getOrder()
551
 * @method $this withOrder($value)
552
 */
553
class QueryMetric extends Rpc
554
{
555
556
    /**
557
     * @param array $filters
558
     *
559
     * @return $this
560
     */
561
	public function withFilters(array $filters)
562
	{
563
	    $this->data['Filters'] = $filters;
564
		foreach ($filters as $depth1 => $depth1Value) {
565
			if(isset($depth1Value['Value'])){
566
				$this->options['query']['Filters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
567
			}
568
			if(isset($depth1Value['Key'])){
569
				$this->options['query']['Filters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
570
			}
571
		}
572
573
		return $this;
574
    }
575
576
    /**
577
     * @param array $measures
578
     *
579
     * @return $this
580
     */
581
	public function withMeasures(array $measures)
582
	{
583
	    $this->data['Measures'] = $measures;
584
		foreach ($measures as $i => $iValue) {
585
			$this->options['query']['Measures.' . ($i + 1)] = $iValue;
586
		}
587
588
		return $this;
589
    }
590
591
    /**
592
     * @param array $dimensions
593
     *
594
     * @return $this
595
     */
596
	public function withDimensions(array $dimensions)
597
	{
598
	    $this->data['Dimensions'] = $dimensions;
599
		foreach ($dimensions as $i => $iValue) {
600
			$this->options['query']['Dimensions.' . ($i + 1)] = $iValue;
601
		}
602
603
		return $this;
604
    }
605
}
606
607
/**
608
 * @method string getConsistencyQueryStrategy()
609
 * @method $this withConsistencyQueryStrategy($value)
610
 * @method string getEndTime()
611
 * @method $this withEndTime($value)
612
 * @method string getOrderBy()
613
 * @method $this withOrderBy($value)
614
 * @method string getCurrentPage()
615
 * @method $this withCurrentPage($value)
616
 * @method string getStartTime()
617
 * @method $this withStartTime($value)
618
 * @method array getFilters()
619
 * @method string getConsistencyDataKey()
620
 * @method $this withConsistencyDataKey($value)
621
 * @method string getProxyUserId()
622
 * @method $this withProxyUserId($value)
623
 * @method array getMeasures()
624
 * @method string getIntervalInSec()
625
 * @method $this withIntervalInSec($value)
626
 * @method string getMetric()
627
 * @method $this withMetric($value)
628
 * @method string getPageSize()
629
 * @method $this withPageSize($value)
630
 * @method array getDimensions()
631
 * @method string getOrder()
632
 * @method $this withOrder($value)
633
 */
634
class QueryMetricByPage extends Rpc
635
{
636
637
    /**
638
     * @param array $filters
639
     *
640
     * @return $this
641
     */
642
	public function withFilters(array $filters)
643
	{
644
	    $this->data['Filters'] = $filters;
645
		foreach ($filters as $depth1 => $depth1Value) {
646
			if(isset($depth1Value['Value'])){
647
				$this->options['query']['Filters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
648
			}
649
			if(isset($depth1Value['Key'])){
650
				$this->options['query']['Filters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
651
			}
652
		}
653
654
		return $this;
655
    }
656
657
    /**
658
     * @param array $measures
659
     *
660
     * @return $this
661
     */
662
	public function withMeasures(array $measures)
663
	{
664
	    $this->data['Measures'] = $measures;
665
		foreach ($measures as $i => $iValue) {
666
			$this->options['query']['Measures.' . ($i + 1)] = $iValue;
667
		}
668
669
		return $this;
670
    }
671
672
    /**
673
     * @param array $dimensions
674
     *
675
     * @return $this
676
     */
677
	public function withDimensions(array $dimensions)
678
	{
679
	    $this->data['Dimensions'] = $dimensions;
680
		foreach ($dimensions as $i => $iValue) {
681
			$this->options['query']['Dimensions.' . ($i + 1)] = $iValue;
682
		}
683
684
		return $this;
685
    }
686
}
687
688
/**
689
 * @method array getSettings()
690
 * @method string getPid()
691
 * @method $this withPid($value)
692
 */
693
class SaveTraceAppConfig extends Rpc
694
{
695
696
    /**
697
     * @param array $settings
698
     *
699
     * @return $this
700
     */
701
	public function withSettings(array $settings)
702
	{
703
	    $this->data['Settings'] = $settings;
704
		foreach ($settings as $depth1 => $depth1Value) {
705
			if(isset($depth1Value['Value'])){
706
				$this->options['query']['Settings.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
707
			}
708
			if(isset($depth1Value['Key'])){
709
				$this->options['query']['Settings.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
710
			}
711
		}
712
713
		return $this;
714
    }
715
}
716
717
/**
718
 * @method string getCurrentPage()
719
 * @method $this withCurrentPage($value)
720
 * @method string getProxyUserId()
721
 * @method $this withProxyUserId($value)
722
 * @method string getContactIds()
723
 * @method $this withContactIds($value)
724
 * @method string getContactName()
725
 * @method $this withContactName($value)
726
 * @method string getPhone()
727
 * @method $this withPhone($value)
728
 * @method string getPageSize()
729
 * @method $this withPageSize($value)
730
 * @method string getEmail()
731
 * @method $this withEmail($value)
732
 */
733
class SearchAlertContact extends Rpc
734
{
735
}
736
737
/**
738
 * @method string getContactId()
739
 * @method $this withContactId($value)
740
 * @method string getIsDetail()
741
 * @method $this withIsDetail($value)
742
 * @method string getContactGroupName()
743
 * @method $this withContactGroupName($value)
744
 * @method string getProxyUserId()
745
 * @method $this withProxyUserId($value)
746
 * @method string getContactName()
747
 * @method $this withContactName($value)
748
 * @method string getContactGroupIds()
749
 * @method $this withContactGroupIds($value)
750
 */
751
class SearchAlertContactGroup extends Rpc
752
{
753
}
754
755
/**
756
 * @method string getEndTime()
757
 * @method $this withEndTime($value)
758
 * @method string getCurrentPage()
759
 * @method $this withCurrentPage($value)
760
 * @method string getStartTime()
761
 * @method $this withStartTime($value)
762
 * @method string getProxyUserId()
763
 * @method $this withProxyUserId($value)
764
 * @method string getAlertType()
765
 * @method $this withAlertType($value)
766
 * @method string getPageSize()
767
 * @method $this withPageSize($value)
768
 * @method string getAlertId()
769
 * @method $this withAlertId($value)
770
 */
771
class SearchAlertHistories extends Rpc
772
{
773
}
774
775
/**
776
 * @method string getAppType()
777
 * @method $this withAppType($value)
778
 * @method string getCurrentPage()
779
 * @method $this withCurrentPage($value)
780
 * @method string getPid()
781
 * @method $this withPid($value)
782
 * @method string getProxyUserId()
783
 * @method $this withProxyUserId($value)
784
 * @method string getTitle()
785
 * @method $this withTitle($value)
786
 * @method string getType()
787
 * @method $this withType($value)
788
 * @method string getPageSize()
789
 * @method $this withPageSize($value)
790
 */
791
class SearchAlertRules extends Rpc
792
{
793
}
794
795
/**
796
 * @method string getIsTrigger()
797
 * @method $this withIsTrigger($value)
798
 * @method string getAppType()
799
 * @method $this withAppType($value)
800
 * @method string getEndTime()
801
 * @method $this withEndTime($value)
802
 * @method string getPid()
803
 * @method $this withPid($value)
804
 * @method string getCurrentPage()
805
 * @method $this withCurrentPage($value)
806
 * @method string getStartTime()
807
 * @method $this withStartTime($value)
808
 * @method string getProxyUserId()
809
 * @method $this withProxyUserId($value)
810
 * @method string getAlertType()
811
 * @method $this withAlertType($value)
812
 * @method string getPageSize()
813
 * @method $this withPageSize($value)
814
 * @method string getAlertId()
815
 * @method $this withAlertId($value)
816
 */
817
class SearchEvents extends Rpc
818
{
819
}
820
821
/**
822
 * @method string getRetcodeAppName()
823
 * @method $this withRetcodeAppName($value)
824
 * @method string getPageSize()
825
 * @method $this withPageSize($value)
826
 * @method string getPageNumber()
827
 * @method $this withPageNumber($value)
828
 */
829
class SearchRetcodeAppByPage extends Rpc
830
{
831
}
832
833
/**
834
 * @method string getTraceAppName()
835
 * @method $this withTraceAppName($value)
836
 */
837
class SearchTraceAppByName extends Rpc
838
{
839
}
840
841
/**
842
 * @method string getTraceAppName()
843
 * @method $this withTraceAppName($value)
844
 * @method string getPageSize()
845
 * @method $this withPageSize($value)
846
 * @method string getPageNumber()
847
 * @method $this withPageNumber($value)
848
 */
849
class SearchTraceAppByPage extends Rpc
850
{
851
}
852
853
/**
854
 * @method string getEndTime()
855
 * @method $this withEndTime($value)
856
 * @method string getStartTime()
857
 * @method $this withStartTime($value)
858
 * @method string getReverse()
859
 * @method $this withReverse($value)
860
 * @method string getMinDuration()
861
 * @method $this withMinDuration($value)
862
 * @method string getServiceIp()
863
 * @method $this withServiceIp($value)
864
 * @method array getExclusionFilters()
865
 * @method string getOperationName()
866
 * @method $this withOperationName($value)
867
 * @method string getServiceName()
868
 * @method $this withServiceName($value)
869
 * @method array getTag()
870
 */
871
class SearchTraces extends Rpc
872
{
873
874
    /**
875
     * @param array $exclusionFilters
876
     *
877
     * @return $this
878
     */
879
	public function withExclusionFilters(array $exclusionFilters)
880
	{
881
	    $this->data['ExclusionFilters'] = $exclusionFilters;
882
		foreach ($exclusionFilters as $depth1 => $depth1Value) {
883
			if(isset($depth1Value['Value'])){
884
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
885
			}
886
			if(isset($depth1Value['Key'])){
887
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
888
			}
889
		}
890
891
		return $this;
892
    }
893
894
    /**
895
     * @param array $tag
896
     *
897
     * @return $this
898
     */
899
	public function withTag(array $tag)
900
	{
901
	    $this->data['Tag'] = $tag;
902
		foreach ($tag as $depth1 => $depth1Value) {
903
			if(isset($depth1Value['Value'])){
904
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
905
			}
906
			if(isset($depth1Value['Key'])){
907
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
908
			}
909
		}
910
911
		return $this;
912
    }
913
}
914
915
/**
916
 * @method string getEndTime()
917
 * @method $this withEndTime($value)
918
 * @method string getStartTime()
919
 * @method $this withStartTime($value)
920
 * @method string getReverse()
921
 * @method $this withReverse($value)
922
 * @method string getMinDuration()
923
 * @method $this withMinDuration($value)
924
 * @method string getPageNumber()
925
 * @method $this withPageNumber($value)
926
 * @method string getServiceIp()
927
 * @method $this withServiceIp($value)
928
 * @method array getExclusionFilters()
929
 * @method string getOperationName()
930
 * @method $this withOperationName($value)
931
 * @method string getPageSize()
932
 * @method $this withPageSize($value)
933
 * @method string getServiceName()
934
 * @method $this withServiceName($value)
935
 */
936
class SearchTracesByPage extends Rpc
937
{
938
939
    /**
940
     * @param array $exclusionFilters
941
     *
942
     * @return $this
943
     */
944
	public function withExclusionFilters(array $exclusionFilters)
945
	{
946
	    $this->data['ExclusionFilters'] = $exclusionFilters;
947
		foreach ($exclusionFilters as $depth1 => $depth1Value) {
948
			if(isset($depth1Value['Value'])){
949
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
950
			}
951
			if(isset($depth1Value['Key'])){
952
				$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
953
			}
954
		}
955
956
		return $this;
957
    }
958
}
959
960
/**
961
 * @method string getPid()
962
 * @method $this withPid($value)
963
 * @method string getStatus()
964
 * @method $this withStatus($value)
965
 */
966
class SetRetcodeShareStatus extends Rpc
967
{
968
}
969
970
/**
971
 * @method string getAlertId()
972
 * @method $this withAlertId($value)
973
 * @method string getProxyUserId()
974
 * @method $this withProxyUserId($value)
975
 */
976
class StartAlert extends Rpc
977
{
978
}
979
980
/**
981
 * @method string getAlertId()
982
 * @method $this withAlertId($value)
983
 * @method string getProxyUserId()
984
 * @method $this withProxyUserId($value)
985
 */
986
class StopAlert extends Rpc
987
{
988
}
989
990
/**
991
 * @method string getContactId()
992
 * @method $this withContactId($value)
993
 * @method string getPhoneNum()
994
 * @method $this withPhoneNum($value)
995
 * @method string getProxyUserId()
996
 * @method $this withProxyUserId($value)
997
 * @method string getContactName()
998
 * @method $this withContactName($value)
999
 * @method string getDingRobotWebhookUrl()
1000
 * @method $this withDingRobotWebhookUrl($value)
1001
 * @method string getEmail()
1002
 * @method $this withEmail($value)
1003
 * @method string getSystemNoc()
1004
 * @method $this withSystemNoc($value)
1005
 */
1006
class UpdateAlertContact extends Rpc
1007
{
1008
}
1009
1010
/**
1011
 * @method string getContactGroupId()
1012
 * @method $this withContactGroupId($value)
1013
 * @method string getContactGroupName()
1014
 * @method $this withContactGroupName($value)
1015
 * @method string getProxyUserId()
1016
 * @method $this withProxyUserId($value)
1017
 * @method string getContactIds()
1018
 * @method $this withContactIds($value)
1019
 */
1020
class UpdateAlertContactGroup extends Rpc
1021
{
1022
}
1023
1024
/**
1025
 * @method string getIsAutoStart()
1026
 * @method $this withIsAutoStart($value)
1027
 * @method string getProxyUserId()
1028
 * @method $this withProxyUserId($value)
1029
 * @method string getContactGroupIds()
1030
 * @method $this withContactGroupIds($value)
1031
 * @method string getAlertId()
1032
 * @method $this withAlertId($value)
1033
 * @method string getTemplageAlertConfig()
1034
 * @method $this withTemplageAlertConfig($value)
1035
 */
1036
class UpdateAlertRule extends Rpc
1037
{
1038
}
1039
1040
/**
1041
 * @method string getHeaders()
1042
 * @method $this withHeaders($value)
1043
 * @method string getMethod()
1044
 * @method $this withMethod($value)
1045
 * @method string getContactId()
1046
 * @method $this withContactId($value)
1047
 * @method string getParams()
1048
 * @method $this withParams($value)
1049
 * @method string getProxyUserId()
1050
 * @method $this withProxyUserId($value)
1051
 * @method string getBody()
1052
 * @method $this withBody($value)
1053
 * @method string getUrl()
1054
 * @method $this withUrl($value)
1055
 * @method string getContactName()
1056
 * @method $this withContactName($value)
1057
 */
1058
class UpdateWebhook extends Rpc
1059
{
1060
}
1061