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 ( 926006...dee090 )
by
unknown
04:21
created

SearchTraces   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 6
dl 0
loc 17
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withTag() 0 9 2
1
<?php
2
3
namespace AlibabaCloud\ARMS\V20190808;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateAlertContact createAlertContact(array $options = [])
9
 * @method CreateAlertContactGroup createAlertContactGroup(array $options = [])
10
 * @method CreateRetcodeApp createRetcodeApp(array $options = [])
11
 * @method DeleteAlertContact deleteAlertContact(array $options = [])
12
 * @method DeleteAlertContactGroup deleteAlertContactGroup(array $options = [])
13
 * @method DeleteAlertRules deleteAlertRules(array $options = [])
14
 * @method DeleteRetcodeApp deleteRetcodeApp(array $options = [])
15
 * @method GetPrometheusApiToken getPrometheusApiToken(array $options = [])
16
 * @method GetRetcodeShareUrl getRetcodeShareUrl(array $options = [])
17
 * @method GetTrace getTrace(array $options = [])
18
 * @method ImportAppAlertRules importAppAlertRules(array $options = [])
19
 * @method ImportCustomAlertRules importCustomAlertRules(array $options = [])
20
 * @method ListClusterFromGrafana listClusterFromGrafana(array $options = [])
21
 * @method ListPromClusters listPromClusters(array $options = [])
22
 * @method ListRetcodeApps listRetcodeApps(array $options = [])
23
 * @method ListTraceApps listTraceApps(array $options = [])
24
 * @method QueryDataset queryDataset(array $options = [])
25
 * @method QueryMetric queryMetric(array $options = [])
26
 * @method SearchAlertContact searchAlertContact(array $options = [])
27
 * @method SearchAlertContactGroup searchAlertContactGroup(array $options = [])
28
 * @method SearchAlertHistories searchAlertHistories(array $options = [])
29
 * @method SearchAlertRules searchAlertRules(array $options = [])
30
 * @method SearchEvents searchEvents(array $options = [])
31
 * @method SearchRetcodeAppByPage searchRetcodeAppByPage(array $options = [])
32
 * @method SearchTraceAppByName searchTraceAppByName(array $options = [])
33
 * @method SearchTraceAppByPage searchTraceAppByPage(array $options = [])
34
 * @method SearchTraces searchTraces(array $options = [])
35
 * @method SetRetcodeShareStatus setRetcodeShareStatus(array $options = [])
36
 * @method StartAlert startAlert(array $options = [])
37
 * @method StopAlert stopAlert(array $options = [])
38
 * @method UpdateAlertContact updateAlertContact(array $options = [])
39
 * @method UpdateAlertContactGroup updateAlertContactGroup(array $options = [])
40
 * @method UpdateAlertRule updateAlertRule(array $options = [])
41
 */
42
class ARMSApiResolver extends ApiResolver
43
{
44
}
45
46
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
47
{
48
    /** @var string */
49
    public $product = 'ARMS';
50
51
    /** @var string */
52
    public $version = '2019-08-08';
53
54
    /** @var string */
55
    public $method = 'POST';
56
57
    /** @var string */
58
    public $serviceCode = 'arms';
59
}
60
61
/**
62
 * @method string getPhoneNum()
63
 * @method $this withPhoneNum($value)
64
 * @method string getProxyUserId()
65
 * @method $this withProxyUserId($value)
66
 * @method string getContactName()
67
 * @method $this withContactName($value)
68
 * @method string getDingRobotWebhookUrl()
69
 * @method $this withDingRobotWebhookUrl($value)
70
 * @method string getEmail()
71
 * @method $this withEmail($value)
72
 * @method string getSystemNoc()
73
 * @method $this withSystemNoc($value)
74
 */
75
class CreateAlertContact extends Rpc
76
{
77
}
78
79
/**
80
 * @method string getContactGroupName()
81
 * @method $this withContactGroupName($value)
82
 * @method string getProxyUserId()
83
 * @method $this withProxyUserId($value)
84
 * @method string getContactIds()
85
 * @method $this withContactIds($value)
86
 */
87
class CreateAlertContactGroup extends Rpc
88
{
89
}
90
91
/**
92
 * @method string getRetcodeAppName()
93
 * @method $this withRetcodeAppName($value)
94
 * @method string getRetcodeAppType()
95
 * @method $this withRetcodeAppType($value)
96
 */
97
class CreateRetcodeApp extends Rpc
98
{
99
}
100
101
/**
102
 * @method string getContactId()
103
 * @method $this withContactId($value)
104
 * @method string getProxyUserId()
105
 * @method $this withProxyUserId($value)
106
 */
107
class DeleteAlertContact extends Rpc
108
{
109
}
110
111
/**
112
 * @method string getContactGroupId()
113
 * @method $this withContactGroupId($value)
114
 * @method string getProxyUserId()
115
 * @method $this withProxyUserId($value)
116
 */
117
class DeleteAlertContactGroup extends Rpc
118
{
119
}
120
121
/**
122
 * @method string getAlertIds()
123
 * @method $this withAlertIds($value)
124
 * @method string getProxyUserId()
125
 * @method $this withProxyUserId($value)
126
 */
127
class DeleteAlertRules extends Rpc
128
{
129
}
130
131
/**
132
 * @method string getAppId()
133
 * @method $this withAppId($value)
134
 */
135
class DeleteRetcodeApp extends Rpc
136
{
137
}
138
139
class GetPrometheusApiToken extends Rpc
140
{
141
}
142
143
/**
144
 * @method string getPid()
145
 * @method $this withPid($value)
146
 */
147
class GetRetcodeShareUrl extends Rpc
148
{
149
}
150
151
/**
152
 * @method string getTraceID()
153
 * @method $this withTraceID($value)
154
 */
155
class GetTrace extends Rpc
156
{
157
}
158
159
/**
160
 * @method string getIsAutoStart()
161
 * @method $this withIsAutoStart($value)
162
 * @method string getProxyUserId()
163
 * @method $this withProxyUserId($value)
164
 * @method string getContactGroupIds()
165
 * @method $this withContactGroupIds($value)
166
 * @method string getPids()
167
 * @method $this withPids($value)
168
 * @method string getTemplageAlertConfig()
169
 * @method $this withTemplageAlertConfig($value)
170
 * @method string getTemplateAlertId()
171
 * @method $this withTemplateAlertId($value)
172
 */
173
class ImportAppAlertRules extends Rpc
174
{
175
}
176
177
/**
178
 * @method string getIsAutoStart()
179
 * @method $this withIsAutoStart($value)
180
 * @method string getContactGroupIds()
181
 * @method $this withContactGroupIds($value)
182
 * @method string getProxyUserId()
183
 * @method $this withProxyUserId($value)
184
 * @method string getTemplageAlertConfig()
185
 * @method $this withTemplageAlertConfig($value)
186
 */
187
class ImportCustomAlertRules extends Rpc
188
{
189
}
190
191
class ListClusterFromGrafana extends Rpc
192
{
193
}
194
195
class ListPromClusters extends Rpc
196
{
197
}
198
199
/**
200
 * @method string getSecurityToken()
201
 * @method $this withSecurityToken($value)
202
 */
203
class ListRetcodeApps extends Rpc
204
{
205
}
206
207
class ListTraceApps extends Rpc
208
{
209
}
210
211
/**
212
 * @method string getDateStr()
213
 * @method $this withDateStr($value)
214
 * @method string getMinTime()
215
 * @method $this withMinTime($value)
216
 * @method string getProxyUserId()
217
 * @method $this withProxyUserId($value)
218
 * @method string getReduceTail()
219
 * @method $this withReduceTail($value)
220
 * @method string getMaxTime()
221
 * @method $this withMaxTime($value)
222
 * @method array getOptionalDims()
223
 * @method array getMeasures()
224
 * @method string getIntervalInSec()
225
 * @method $this withIntervalInSec($value)
226
 * @method string getIsDrillDown()
227
 * @method $this withIsDrillDown($value)
228
 * @method string getHungryMode()
229
 * @method $this withHungryMode($value)
230
 * @method string getOrderByKey()
231
 * @method $this withOrderByKey($value)
232
 * @method string getLimit()
233
 * @method $this withLimit($value)
234
 * @method string getDatasetId()
235
 * @method $this withDatasetId($value)
236
 * @method array getRequiredDims()
237
 * @method array getDimensions()
238
 */
239
class QueryDataset extends Rpc
240
{
241
242
    /**
243
     * @param array $optionalDims
244
     *
245
     * @return $this
246
     */
247
	public function withOptionalDims(array $optionalDims)
248
	{
249
	    $this->data['OptionalDims'] = $optionalDims;
250
		foreach ($optionalDims as $depth1 => $depth1Value) {
251
			$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
252
			$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
253
			$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
254
		}
255
256
		return $this;
257
    }
258
259
    /**
260
     * @param array $measures
261
     *
262
     * @return $this
263
     */
264
	public function withMeasures(array $measures)
265
	{
266
	    $this->data['Measures'] = $measures;
267
		foreach ($measures as $i => $iValue) {
268
			$this->options['query']['Measures.' . ($i + 1)] = $iValue;
269
		}
270
271
		return $this;
272
    }
273
274
    /**
275
     * @param array $requiredDims
276
     *
277
     * @return $this
278
     */
279
	public function withRequiredDims(array $requiredDims)
280
	{
281
	    $this->data['RequiredDims'] = $requiredDims;
282
		foreach ($requiredDims as $depth1 => $depth1Value) {
283
			$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
284
			$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
285
			$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
286
		}
287
288
		return $this;
289
    }
290
291
    /**
292
     * @param array $dimensions
293
     *
294
     * @return $this
295
     */
296
	public function withDimensions(array $dimensions)
297
	{
298
	    $this->data['Dimensions'] = $dimensions;
299
		foreach ($dimensions as $depth1 => $depth1Value) {
300
			$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
301
			$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
302
			$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
303
		}
304
305
		return $this;
306
    }
307
}
308
309
/**
310
 * @method string getEndTime()
311
 * @method $this withEndTime($value)
312
 * @method string getOrderBy()
313
 * @method $this withOrderBy($value)
314
 * @method string getStartTime()
315
 * @method $this withStartTime($value)
316
 * @method array getFilters()
317
 * @method string getProxyUserId()
318
 * @method $this withProxyUserId($value)
319
 * @method array getMeasures()
320
 * @method string getIntervalInSec()
321
 * @method $this withIntervalInSec($value)
322
 * @method string getMetric()
323
 * @method $this withMetric($value)
324
 * @method string getLimit()
325
 * @method $this withLimit($value)
326
 * @method array getDimensions()
327
 * @method string getOrder()
328
 * @method $this withOrder($value)
329
 */
330
class QueryMetric extends Rpc
331
{
332
333
    /**
334
     * @param array $filters
335
     *
336
     * @return $this
337
     */
338
	public function withFilters(array $filters)
339
	{
340
	    $this->data['Filters'] = $filters;
341
		foreach ($filters as $depth1 => $depth1Value) {
342
			$this->options['query']['Filters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
343
			$this->options['query']['Filters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
344
		}
345
346
		return $this;
347
    }
348
349
    /**
350
     * @param array $measures
351
     *
352
     * @return $this
353
     */
354
	public function withMeasures(array $measures)
355
	{
356
	    $this->data['Measures'] = $measures;
357
		foreach ($measures as $i => $iValue) {
358
			$this->options['query']['Measures.' . ($i + 1)] = $iValue;
359
		}
360
361
		return $this;
362
    }
363
364
    /**
365
     * @param array $dimensions
366
     *
367
     * @return $this
368
     */
369
	public function withDimensions(array $dimensions)
370
	{
371
	    $this->data['Dimensions'] = $dimensions;
372
		foreach ($dimensions as $i => $iValue) {
373
			$this->options['query']['Dimensions.' . ($i + 1)] = $iValue;
374
		}
375
376
		return $this;
377
    }
378
}
379
380
/**
381
 * @method string getCurrentPage()
382
 * @method $this withCurrentPage($value)
383
 * @method string getProxyUserId()
384
 * @method $this withProxyUserId($value)
385
 * @method string getContactName()
386
 * @method $this withContactName($value)
387
 * @method string getPhone()
388
 * @method $this withPhone($value)
389
 * @method string getPageSize()
390
 * @method $this withPageSize($value)
391
 * @method string getEmail()
392
 * @method $this withEmail($value)
393
 */
394
class SearchAlertContact extends Rpc
395
{
396
}
397
398
/**
399
 * @method string getContactName()
400
 * @method $this withContactName($value)
401
 * @method string getContactId()
402
 * @method $this withContactId($value)
403
 * @method string getContactGroupName()
404
 * @method $this withContactGroupName($value)
405
 * @method string getProxyUserId()
406
 * @method $this withProxyUserId($value)
407
 */
408
class SearchAlertContactGroup extends Rpc
409
{
410
}
411
412
/**
413
 * @method string getEndTime()
414
 * @method $this withEndTime($value)
415
 * @method string getCurrentPage()
416
 * @method $this withCurrentPage($value)
417
 * @method string getStartTime()
418
 * @method $this withStartTime($value)
419
 * @method string getProxyUserId()
420
 * @method $this withProxyUserId($value)
421
 * @method string getAlertType()
422
 * @method $this withAlertType($value)
423
 * @method string getPageSize()
424
 * @method $this withPageSize($value)
425
 * @method string getAlertId()
426
 * @method $this withAlertId($value)
427
 */
428
class SearchAlertHistories extends Rpc
429
{
430
}
431
432
/**
433
 * @method string getAppType()
434
 * @method $this withAppType($value)
435
 * @method string getCurrentPage()
436
 * @method $this withCurrentPage($value)
437
 * @method string getPid()
438
 * @method $this withPid($value)
439
 * @method string getProxyUserId()
440
 * @method $this withProxyUserId($value)
441
 * @method string getTitle()
442
 * @method $this withTitle($value)
443
 * @method string getType()
444
 * @method $this withType($value)
445
 * @method string getPageSize()
446
 * @method $this withPageSize($value)
447
 */
448
class SearchAlertRules extends Rpc
449
{
450
}
451
452
/**
453
 * @method string getIsTrigger()
454
 * @method $this withIsTrigger($value)
455
 * @method string getAppType()
456
 * @method $this withAppType($value)
457
 * @method string getEndTime()
458
 * @method $this withEndTime($value)
459
 * @method string getPid()
460
 * @method $this withPid($value)
461
 * @method string getCurrentPage()
462
 * @method $this withCurrentPage($value)
463
 * @method string getStartTime()
464
 * @method $this withStartTime($value)
465
 * @method string getProxyUserId()
466
 * @method $this withProxyUserId($value)
467
 * @method string getAlertType()
468
 * @method $this withAlertType($value)
469
 * @method string getPageSize()
470
 * @method $this withPageSize($value)
471
 * @method string getAlertId()
472
 * @method $this withAlertId($value)
473
 */
474
class SearchEvents extends Rpc
475
{
476
}
477
478
/**
479
 * @method string getRetcodeAppName()
480
 * @method $this withRetcodeAppName($value)
481
 * @method string getPageSize()
482
 * @method $this withPageSize($value)
483
 * @method string getPageNumber()
484
 * @method $this withPageNumber($value)
485
 */
486
class SearchRetcodeAppByPage extends Rpc
487
{
488
}
489
490
/**
491
 * @method string getTraceAppName()
492
 * @method $this withTraceAppName($value)
493
 */
494
class SearchTraceAppByName extends Rpc
495
{
496
}
497
498
/**
499
 * @method string getTraceAppName()
500
 * @method $this withTraceAppName($value)
501
 * @method string getPageSize()
502
 * @method $this withPageSize($value)
503
 * @method string getPageNumber()
504
 * @method $this withPageNumber($value)
505
 */
506
class SearchTraceAppByPage extends Rpc
507
{
508
}
509
510
/**
511
 * @method string getEndTime()
512
 * @method $this withEndTime($value)
513
 * @method string getStartTime()
514
 * @method $this withStartTime($value)
515
 * @method string getReverse()
516
 * @method $this withReverse($value)
517
 * @method string getMinDuration()
518
 * @method $this withMinDuration($value)
519
 * @method string getServiceIp()
520
 * @method $this withServiceIp($value)
521
 * @method string getOperationName()
522
 * @method $this withOperationName($value)
523
 * @method string getServiceName()
524
 * @method $this withServiceName($value)
525
 * @method array getTag()
526
 */
527
class SearchTraces extends Rpc
528
{
529
530
    /**
531
     * @param array $tag
532
     *
533
     * @return $this
534
     */
535
	public function withTag(array $tag)
536
	{
537
	    $this->data['Tag'] = $tag;
538
		foreach ($tag as $depth1 => $depth1Value) {
539
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
540
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
541
		}
542
543
		return $this;
544
    }
545
}
546
547
/**
548
 * @method string getPid()
549
 * @method $this withPid($value)
550
 * @method string getStatus()
551
 * @method $this withStatus($value)
552
 */
553
class SetRetcodeShareStatus extends Rpc
554
{
555
}
556
557
/**
558
 * @method string getAlertId()
559
 * @method $this withAlertId($value)
560
 * @method string getProxyUserId()
561
 * @method $this withProxyUserId($value)
562
 */
563
class StartAlert extends Rpc
564
{
565
}
566
567
/**
568
 * @method string getAlertId()
569
 * @method $this withAlertId($value)
570
 * @method string getProxyUserId()
571
 * @method $this withProxyUserId($value)
572
 */
573
class StopAlert extends Rpc
574
{
575
}
576
577
/**
578
 * @method string getContactId()
579
 * @method $this withContactId($value)
580
 * @method string getPhoneNum()
581
 * @method $this withPhoneNum($value)
582
 * @method string getProxyUserId()
583
 * @method $this withProxyUserId($value)
584
 * @method string getContactName()
585
 * @method $this withContactName($value)
586
 * @method string getDingRobotWebhookUrl()
587
 * @method $this withDingRobotWebhookUrl($value)
588
 * @method string getEmail()
589
 * @method $this withEmail($value)
590
 * @method string getSystemNoc()
591
 * @method $this withSystemNoc($value)
592
 */
593
class UpdateAlertContact extends Rpc
594
{
595
}
596
597
/**
598
 * @method string getContactGroupId()
599
 * @method $this withContactGroupId($value)
600
 * @method string getContactGroupName()
601
 * @method $this withContactGroupName($value)
602
 * @method string getProxyUserId()
603
 * @method $this withProxyUserId($value)
604
 * @method string getContactIds()
605
 * @method $this withContactIds($value)
606
 */
607
class UpdateAlertContactGroup extends Rpc
608
{
609
}
610
611
/**
612
 * @method string getIsAutoStart()
613
 * @method $this withIsAutoStart($value)
614
 * @method string getProxyUserId()
615
 * @method $this withProxyUserId($value)
616
 * @method string getContactGroupIds()
617
 * @method $this withContactGroupIds($value)
618
 * @method string getAlertId()
619
 * @method $this withAlertId($value)
620
 * @method string getTemplageAlertConfig()
621
 * @method $this withTemplageAlertConfig($value)
622
 */
623
class UpdateAlertRule extends Rpc
624
{
625
}
626