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 ( 1ca3d9...6b95fb )
by
unknown
18:36
created

Recommend::withItems()   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
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Airec\V20181012;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ModifyExposureSettings modifyExposureSettings(array $options = [])
9
 * @method DescribeExposureSettings describeExposureSettings(array $options = [])
10
 * @method ListInstanceTask listInstanceTask(array $options = [])
11
 * @method ListDashboardParameters listDashboardParameters(array $options = [])
12
 * @method ListDashboard listDashboard(array $options = [])
13
 * @method ListDashboardUid listDashboardUid(array $options = [])
14
 * @method DescribeDataSetReport describeDataSetReport(array $options = [])
15
 * @method UpgradeInstance upgradeInstance(array $options = [])
16
 * @method ValidateInstance validateInstance(array $options = [])
17
 * @method ListMix listMix(array $options = [])
18
 * @method RunInstance runInstance(array $options = [])
19
 * @method ModifyMix modifyMix(array $options = [])
20
 * @method DeleteMix deleteMix(array $options = [])
21
 * @method CreateDiversify createDiversify(array $options = [])
22
 * @method DeleteDiversify deleteDiversify(array $options = [])
23
 * @method ListDiversify listDiversify(array $options = [])
24
 * @method DescribeDiversify describeDiversify(array $options = [])
25
 * @method ModifyDiversify modifyDiversify(array $options = [])
26
 * @method ListDataSet listDataSet(array $options = [])
27
 * @method AttachDataset attachDataset(array $options = [])
28
 * @method StopDataSet stopDataSet(array $options = [])
29
 * @method DeleteDataSet deleteDataSet(array $options = [])
30
 * @method PushIntervention pushIntervention(array $options = [])
31
 * @method DescribeQuota describeQuota(array $options = [])
32
 * @method ListDataSource listDataSource(array $options = [])
33
 * @method DescribeMix describeMix(array $options = [])
34
 * @method CreateMix createMix(array $options = [])
35
 * @method ModifyInstance modifyInstance(array $options = [])
36
 * @method DescribeInstance describeInstance(array $options = [])
37
 * @method Recommend recommend(array $options = [])
38
 * @method PushDocument pushDocument(array $options = [])
39
 * @method CreateInstance createInstance(array $options = [])
40
 * @method ModifyDataSource modifyDataSource(array $options = [])
41
 * @method DescribeDataSetMessage describeDataSetMessage(array $options = [])
42
 * @method ListInstance listInstance(array $options = [])
43
 */
44
class AirecApiResolver extends ApiResolver
45
{
46
}
47
48
class Roa extends \AlibabaCloud\Client\Resolver\Roa
49
{
50
    /** @var string */
51
    public $product = 'Airec';
52
53
    /** @var string */
54
    public $version = '2018-10-12';
55
56
    /** @var string */
57
    public $serviceCode = 'airec';
58
}
59
60
/**
61
 * @method string getInstanceId()
62
 * @method $this withInstanceId($value)
63
 */
64
class ModifyExposureSettings extends Roa
65
{
66
    /** @var string */
67
    public $pathPattern = '/openapi/instances/[InstanceId]/exposure-settings';
68
69
    /** @var string */
70
    public $method = 'PUT';
71
}
72
73
/**
74
 * @method string getInstanceId()
75
 * @method $this withInstanceId($value)
76
 */
77
class DescribeExposureSettings extends Roa
78
{
79
    /** @var string */
80
    public $pathPattern = '/openapi/instances/[InstanceId]/exposure-settings';
81
}
82
83
/**
84
 * @method string getInstanceId()
85
 * @method $this withInstanceId($value)
86
 */
87
class ListInstanceTask extends Roa
88
{
89
    /** @var string */
90
    public $pathPattern = '/openapi/instances/[InstanceId]/tasks';
91
}
92
93
/**
94
 * @method string getInstanceId()
95
 * @method $this withInstanceId($value)
96
 */
97
class ListDashboardParameters extends Roa
98
{
99
    /** @var string */
100
    public $pathPattern = '/openapi/instances/[InstanceId]/dashboard/parameters';
101
}
102
103
/**
104
 * @method string getTraceId()
105
 * @method string getInstanceId()
106
 * @method $this withInstanceId($value)
107
 * @method string getEndDate()
108
 * @method string getSize()
109
 * @method string getSceneId()
110
 * @method string getPage()
111
 * @method string getStartDate()
112
 */
113
class ListDashboard extends Roa
114
{
115
    /** @var string */
116
    public $pathPattern = '/openapi/instances/[InstanceId]/dashboard/statistics';
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withTraceId($value)
124
    {
125
        $this->data['TraceId'] = $value;
126
        $this->options['query']['TraceId'] = $value;
127
128
        return $this;
129
    }
130
131
    /**
132
     * @param string $value
133
     *
134
     * @return $this
135
     */
136
    public function withEndDate($value)
137
    {
138
        $this->data['EndDate'] = $value;
139
        $this->options['query']['EndDate'] = $value;
140
141
        return $this;
142
    }
143
144
    /**
145
     * @param string $value
146
     *
147
     * @return $this
148
     */
149
    public function withSize($value)
150
    {
151
        $this->data['Size'] = $value;
152
        $this->options['query']['Size'] = $value;
153
154
        return $this;
155
    }
156
157
    /**
158
     * @param string $value
159
     *
160
     * @return $this
161
     */
162
    public function withSceneId($value)
163
    {
164
        $this->data['SceneId'] = $value;
165
        $this->options['query']['SceneId'] = $value;
166
167
        return $this;
168
    }
169
170
    /**
171
     * @param string $value
172
     *
173
     * @return $this
174
     */
175
    public function withPage($value)
176
    {
177
        $this->data['Page'] = $value;
178
        $this->options['query']['Page'] = $value;
179
180
        return $this;
181
    }
182
183
    /**
184
     * @param string $value
185
     *
186
     * @return $this
187
     */
188
    public function withStartDate($value)
189
    {
190
        $this->data['StartDate'] = $value;
191
        $this->options['query']['StartDate'] = $value;
192
193
        return $this;
194
    }
195
}
196
197
/**
198
 * @method string getInstanceId()
199
 * @method $this withInstanceId($value)
200
 */
201
class ListDashboardUid extends Roa
202
{
203
    /** @var string */
204
    public $pathPattern = '/openapi/instances/[InstanceId]/dashboard/uid';
205
}
206
207
/**
208
 * @method string getVersionId()
209
 * @method $this withVersionId($value)
210
 * @method string getInstanceId()
211
 * @method $this withInstanceId($value)
212
 */
213
class DescribeDataSetReport extends Roa
214
{
215
    /** @var string */
216
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSets/[VersionId]/report';
217
}
218
219
/**
220
 * @method string getInstanceId()
221
 * @method $this withInstanceId($value)
222
 */
223
class UpgradeInstance extends Roa
224
{
225
    /** @var string */
226
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/upgrade';
227
228
    /** @var string */
229
    public $method = 'POST';
230
}
231
232
/**
233
 * @method string getInstanceId()
234
 * @method $this withInstanceId($value)
235
 */
236
class ValidateInstance extends Roa
237
{
238
    /** @var string */
239
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/validate';
240
241
    /** @var string */
242
    public $method = 'POST';
243
}
244
245
/**
246
 * @method string getInstanceId()
247
 * @method $this withInstanceId($value)
248
 */
249
class ListMix extends Roa
250
{
251
    /** @var string */
252
    public $pathPattern = '/openapi/instances/[InstanceId]/mixes';
253
}
254
255
/**
256
 * @method string getInstanceId()
257
 * @method $this withInstanceId($value)
258
 */
259
class RunInstance extends Roa
260
{
261
    /** @var string */
262
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/import';
263
264
    /** @var string */
265
    public $method = 'POST';
266
}
267
268
/**
269
 * @method string getInstanceId()
270
 * @method $this withInstanceId($value)
271
 * @method string getName()
272
 * @method $this withName($value)
273
 */
274
class ModifyMix extends Roa
275
{
276
    /** @var string */
277
    public $pathPattern = '/openapi/instances/[InstanceId]/mixes/[Name]';
278
279
    /** @var string */
280
    public $method = 'PUT';
281
}
282
283
/**
284
 * @method string getInstanceId()
285
 * @method $this withInstanceId($value)
286
 * @method string getName()
287
 * @method $this withName($value)
288
 */
289
class DeleteMix extends Roa
290
{
291
    /** @var string */
292
    public $pathPattern = '/openapi/instances/[InstanceId]/mixes/[Name]';
293
294
    /** @var string */
295
    public $method = 'DELETE';
296
}
297
298
/**
299
 * @method string getInstanceId()
300
 * @method $this withInstanceId($value)
301
 */
302
class CreateDiversify extends Roa
303
{
304
    /** @var string */
305
    public $pathPattern = '/openapi/instances/[InstanceId]/diversifies';
306
307
    /** @var string */
308
    public $method = 'POST';
309
}
310
311
/**
312
 * @method string getInstanceId()
313
 * @method $this withInstanceId($value)
314
 * @method string getName()
315
 * @method $this withName($value)
316
 */
317
class DeleteDiversify extends Roa
318
{
319
    /** @var string */
320
    public $pathPattern = '/openapi/instances/[InstanceId]/diversifies/[Name]';
321
322
    /** @var string */
323
    public $method = 'DELETE';
324
}
325
326
/**
327
 * @method string getInstanceId()
328
 * @method $this withInstanceId($value)
329
 */
330
class ListDiversify extends Roa
331
{
332
    /** @var string */
333
    public $pathPattern = '/openapi/instances/[InstanceId]/diversifies';
334
}
335
336
/**
337
 * @method string getInstanceId()
338
 * @method $this withInstanceId($value)
339
 * @method string getName()
340
 * @method $this withName($value)
341
 */
342
class DescribeDiversify extends Roa
343
{
344
    /** @var string */
345
    public $pathPattern = '/openapi/instances/[InstanceId]/diversifies/[Name]';
346
}
347
348
/**
349
 * @method string getInstanceId()
350
 * @method $this withInstanceId($value)
351
 * @method string getName()
352
 * @method $this withName($value)
353
 */
354
class ModifyDiversify extends Roa
355
{
356
    /** @var string */
357
    public $pathPattern = '/openapi/instances/[InstanceId]/diversifies/[Name]';
358
359
    /** @var string */
360
    public $method = 'PUT';
361
}
362
363
/**
364
 * @method string getInstanceId()
365
 * @method $this withInstanceId($value)
366
 */
367
class ListDataSet extends Roa
368
{
369
    /** @var string */
370
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSets';
371
}
372
373
/**
374
 * @method string getVersionId()
375
 * @method $this withVersionId($value)
376
 * @method string getInstanceId()
377
 * @method $this withInstanceId($value)
378
 */
379
class AttachDataset extends Roa
380
{
381
    /** @var string */
382
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSets/[VersionId]/actions/current';
383
384
    /** @var string */
385
    public $method = 'POST';
386
}
387
388
/**
389
 * @method string getVersionId()
390
 * @method $this withVersionId($value)
391
 * @method string getInstanceId()
392
 * @method $this withInstanceId($value)
393
 */
394
class StopDataSet extends Roa
395
{
396
    /** @var string */
397
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSets/[VersionId]/actions/stop';
398
399
    /** @var string */
400
    public $method = 'POST';
401
}
402
403
/**
404
 * @method string getVersionId()
405
 * @method $this withVersionId($value)
406
 * @method string getInstanceId()
407
 * @method $this withInstanceId($value)
408
 */
409
class DeleteDataSet extends Roa
410
{
411
    /** @var string */
412
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSets/[VersionId]';
413
414
    /** @var string */
415
    public $method = 'DELETE';
416
}
417
418
/**
419
 * @method string getInstanceId()
420
 * @method $this withInstanceId($value)
421
 */
422
class PushIntervention extends Roa
423
{
424
    /** @var string */
425
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/intervene';
426
427
    /** @var string */
428
    public $method = 'POST';
429
}
430
431
/**
432
 * @method string getInstanceId()
433
 * @method $this withInstanceId($value)
434
 */
435
class DescribeQuota extends Roa
436
{
437
    /** @var string */
438
    public $pathPattern = '/openapi/instances/[InstanceId]/quota';
439
}
440
441
/**
442
 * @method string getInstanceId()
443
 * @method $this withInstanceId($value)
444
 */
445
class ListDataSource extends Roa
446
{
447
    /** @var string */
448
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSources';
449
}
450
451
/**
452
 * @method string getInstanceId()
453
 * @method $this withInstanceId($value)
454
 * @method string getName()
455
 * @method $this withName($value)
456
 */
457
class DescribeMix extends Roa
458
{
459
    /** @var string */
460
    public $pathPattern = '/openapi/instances/[InstanceId]/mixes/[Name]';
461
}
462
463
/**
464
 * @method string getInstanceId()
465
 * @method $this withInstanceId($value)
466
 */
467
class CreateMix extends Roa
468
{
469
    /** @var string */
470
    public $pathPattern = '/openapi/instances/[InstanceId]/mixes';
471
472
    /** @var string */
473
    public $method = 'POST';
474
}
475
476
/**
477
 * @method string getInstanceId()
478
 * @method $this withInstanceId($value)
479
 */
480
class ModifyInstance extends Roa
481
{
482
    /** @var string */
483
    public $pathPattern = '/openapi/instances/[InstanceId]';
484
485
    /** @var string */
486
    public $method = 'PUT';
487
}
488
489
/**
490
 * @method string getInstanceId()
491
 * @method $this withInstanceId($value)
492
 */
493
class DescribeInstance extends Roa
494
{
495
    /** @var string */
496
    public $pathPattern = '/openapi/instances/[InstanceId]';
497
}
498
499
/**
500
 * @method string getReturnCount()
501
 * @method string getInstanceId()
502
 * @method $this withInstanceId($value)
503
 * @method string getIp()
504
 * @method string getSceneId()
505
 * @method string getImei()
506
 * @method string getUserId()
507
 * @method string getItems()
508
 */
509
class Recommend extends Roa
510
{
511
    /** @var string */
512
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/recommend';
513
514
    /**
515
     * @param string $value
516
     *
517
     * @return $this
518
     */
519
    public function withReturnCount($value)
520
    {
521
        $this->data['ReturnCount'] = $value;
522
        $this->options['query']['ReturnCount'] = $value;
523
524
        return $this;
525
    }
526
527
    /**
528
     * @param string $value
529
     *
530
     * @return $this
531
     */
532
    public function withIp($value)
533
    {
534
        $this->data['Ip'] = $value;
535
        $this->options['query']['Ip'] = $value;
536
537
        return $this;
538
    }
539
540
    /**
541
     * @param string $value
542
     *
543
     * @return $this
544
     */
545
    public function withSceneId($value)
546
    {
547
        $this->data['SceneId'] = $value;
548
        $this->options['query']['SceneId'] = $value;
549
550
        return $this;
551
    }
552
553
    /**
554
     * @param string $value
555
     *
556
     * @return $this
557
     */
558
    public function withImei($value)
559
    {
560
        $this->data['Imei'] = $value;
561
        $this->options['query']['Imei'] = $value;
562
563
        return $this;
564
    }
565
566
    /**
567
     * @param string $value
568
     *
569
     * @return $this
570
     */
571
    public function withUserId($value)
572
    {
573
        $this->data['UserId'] = $value;
574
        $this->options['query']['UserId'] = $value;
575
576
        return $this;
577
    }
578
579
    /**
580
     * @param string $value
581
     *
582
     * @return $this
583
     */
584
    public function withItems($value)
585
    {
586
        $this->data['Items'] = $value;
587
        $this->options['query']['Items'] = $value;
588
589
        return $this;
590
    }
591
}
592
593
/**
594
 * @method string getInstanceId()
595
 * @method $this withInstanceId($value)
596
 * @method string getTableName()
597
 * @method $this withTableName($value)
598
 */
599
class PushDocument extends Roa
600
{
601
    /** @var string */
602
    public $pathPattern = '/openapi/instances/[InstanceId]/tables/[TableName]/actions/bulk';
603
604
    /** @var string */
605
    public $method = 'POST';
606
}
607
608
class CreateInstance extends Roa
609
{
610
    /** @var string */
611
    public $pathPattern = '/openapi/instances';
612
613
    /** @var string */
614
    public $method = 'POST';
615
}
616
617
/**
618
 * @method string getInstanceId()
619
 * @method $this withInstanceId($value)
620
 * @method string getTableName()
621
 * @method $this withTableName($value)
622
 */
623
class ModifyDataSource extends Roa
624
{
625
    /** @var string */
626
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSources/[TableName]';
627
628
    /** @var string */
629
    public $method = 'PUT';
630
}
631
632
/**
633
 * @method string getVersionId()
634
 * @method $this withVersionId($value)
635
 * @method string getInstanceId()
636
 * @method $this withInstanceId($value)
637
 */
638
class DescribeDataSetMessage extends Roa
639
{
640
    /** @var string */
641
    public $pathPattern = '/openapi/instances/[InstanceId]/dataSets/[VersionId]/messages';
642
}
643
644
class ListInstance extends Roa
645
{
646
    /** @var string */
647
    public $pathPattern = '/openapi/instances';
648
}
649