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.
Passed
Push — master ( 38d41f...1ea5d6 )
by
unknown
05:30
created

GetMultipleTrace   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 16
c 0
b 0
f 0
rs 10

1 Method

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