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 ( cdb8b0...4979ef )
by
unknown
06:31
created

DeleteAvatar   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A withExtParamsCLS() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Avatar\V20220130;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CancelVideoTask cancelVideoTask(array $options = [])
9
 * @method CloseTimedResetOperate closeTimedResetOperate(array $options = [])
10
 * @method Create2dAvatar create2dAvatar(array $options = [])
11
 * @method DeleteAvatar deleteAvatar(array $options = [])
12
 * @method DuplexDecision duplexDecision(array $options = [])
13
 * @method GetVideoTaskInfo getVideoTaskInfo(array $options = [])
14
 * @method LicenseAuth licenseAuth(array $options = [])
15
 * @method QueryAvatar queryAvatar(array $options = [])
16
 * @method QueryAvatarList queryAvatarList(array $options = [])
17
 * @method QueryRunningInstance queryRunningInstance(array $options = [])
18
 * @method QueryTimedResetOperateStatus queryTimedResetOperateStatus(array $options = [])
19
 * @method SendCommand sendCommand(array $options = [])
20
 * @method SendMessage sendMessage(array $options = [])
21
 * @method SendText sendText(array $options = [])
22
 * @method SendVaml sendVaml(array $options = [])
23
 * @method StartInstance startInstance(array $options = [])
24
 * @method StartTimedResetOperate startTimedResetOperate(array $options = [])
25
 * @method StopInstance stopInstance(array $options = [])
26
 * @method SubmitAudioTo2DAvatarVideoTask submitAudioTo2DAvatarVideoTask(array $options = [])
27
 * @method SubmitAudioTo3DAvatarVideoTask submitAudioTo3DAvatarVideoTask(array $options = [])
28
 * @method SubmitTextTo2DAvatarVideoTask submitTextTo2DAvatarVideoTask(array $options = [])
29
 * @method SubmitTextTo3DAvatarVideoTask submitTextTo3DAvatarVideoTask(array $options = [])
30
 * @method Update2dAvatar update2dAvatar(array $options = [])
31
 */
32
class AvatarApiResolver extends ApiResolver
33
{
34
}
35
36
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
37
{
38
    /** @var string */
39
    public $product = 'avatar';
40
41
    /** @var string */
42
    public $version = '2022-01-30';
43
44
    /** @var string */
45
    public $method = 'POST';
46
}
47
48
/**
49
 * @method string getApp()
50
 * @method $this withApp($value)
51
 * @method string getTenantId()
52
 * @method $this withTenantId($value)
53
 * @method string getTaskUuid()
54
 * @method $this withTaskUuid($value)
55
 */
56
class CancelVideoTask extends Rpc
57
{
58
}
59
60
/**
61
 * @method string getInstanceId()
62
 * @method $this withInstanceId($value)
63
 * @method string getTenantId()
64
 * @method $this withTenantId($value)
65
 */
66
class CloseTimedResetOperate extends Rpc
67
{
68
}
69
70
/**
71
 * @method string getImage()
72
 * @method $this withImage($value)
73
 * @method string getOrientation()
74
 * @method $this withOrientation($value)
75
 * @method string getDescription()
76
 * @method $this withDescription($value)
77
 * @method string getVideo()
78
 * @method $this withVideo($value)
79
 * @method string getPortrait()
80
 * @method $this withPortrait($value)
81
 * @method string getExtParams()
82
 * @method $this withExtParams($value)
83
 * @method string getTransparent()
84
 * @method $this withTransparent($value)
85
 * @method string getCallbackParams()
86
 * @method $this withCallbackParams($value)
87
 * @method string getTenantId()
88
 * @method $this withTenantId($value)
89
 * @method string getName()
90
 * @method $this withName($value)
91
 * @method string getExtParamsCLS()
92
 * @method string getCallback()
93
 * @method $this withCallback($value)
94
 * @method string getCallbackParamsCLS()
95
 */
96
class Create2dAvatar extends Rpc
97
{
98
99
    /**
100
     * @param string $value
101
     *
102
     * @return $this
103
     */
104
    public function withExtParamsCLS($value)
105
    {
106
        $this->data['ExtParamsCLS'] = $value;
107
        $this->options['query']['ExtParams_CLS'] = $value;
108
109
        return $this;
110
    }
111
112
    /**
113
     * @param string $value
114
     *
115
     * @return $this
116
     */
117
    public function withCallbackParamsCLS($value)
118
    {
119
        $this->data['CallbackParamsCLS'] = $value;
120
        $this->options['query']['CallbackParams_CLS'] = $value;
121
122
        return $this;
123
    }
124
}
125
126
/**
127
 * @method string getCode()
128
 * @method $this withCode($value)
129
 * @method string getTenantId()
130
 * @method $this withTenantId($value)
131
 * @method string getExtParamsCLS()
132
 * @method string getExtParams()
133
 * @method $this withExtParams($value)
134
 */
135
class DeleteAvatar extends Rpc
136
{
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withExtParamsCLS($value)
144
    {
145
        $this->data['ExtParamsCLS'] = $value;
146
        $this->options['query']['ExtParams_CLS'] = $value;
147
148
        return $this;
149
    }
150
}
151
152
/**
153
 * @method string getInterruptType()
154
 * @method $this withInterruptType($value)
155
 * @method string getCustomKeywords()
156
 * @method $this withCustomKeywords($value)
157
 * @method string getSessionId()
158
 * @method $this withSessionId($value)
159
 * @method string getDialogStatus()
160
 * @method $this withDialogStatus($value)
161
 * @method string getDialogContext()
162
 * @method $this withDialogContext($value)
163
 * @method string getCallTime()
164
 * @method $this withCallTime($value)
165
 * @method string getAppId()
166
 * @method $this withAppId($value)
167
 * @method string getTenantId()
168
 * @method $this withTenantId($value)
169
 * @method string getText()
170
 * @method $this withText($value)
171
 * @method string getBizRequestId()
172
 * @method $this withBizRequestId($value)
173
 */
174
class DuplexDecision extends Rpc
175
{
176
}
177
178
/**
179
 * @method string getApp()
180
 * @method $this withApp($value)
181
 * @method string getTenantId()
182
 * @method $this withTenantId($value)
183
 * @method string getTaskUuid()
184
 * @method $this withTaskUuid($value)
185
 */
186
class GetVideoTaskInfo extends Rpc
187
{
188
189
    /** @var string */
190
    public $method = 'GET';
191
}
192
193
/**
194
 * @method string getLicense()
195
 * @method $this withLicense($value)
196
 * @method string getAppId()
197
 * @method $this withAppId($value)
198
 * @method string getTenantId()
199
 * @method $this withTenantId($value)
200
 */
201
class LicenseAuth extends Rpc
202
{
203
}
204
205
/**
206
 * @method string getCode()
207
 * @method $this withCode($value)
208
 * @method string getTenantId()
209
 * @method $this withTenantId($value)
210
 * @method string getExtParamsCLS()
211
 * @method string getExtParams()
212
 * @method $this withExtParams($value)
213
 */
214
class QueryAvatar extends Rpc
215
{
216
217
    /**
218
     * @param string $value
219
     *
220
     * @return $this
221
     */
222
    public function withExtParamsCLS($value)
223
    {
224
        $this->data['ExtParamsCLS'] = $value;
225
        $this->options['query']['ExtParams_CLS'] = $value;
226
227
        return $this;
228
    }
229
}
230
231
/**
232
 * @method string getModelType()
233
 * @method $this withModelType($value)
234
 * @method string getPageNo()
235
 * @method $this withPageNo($value)
236
 * @method string getTenantId()
237
 * @method $this withTenantId($value)
238
 * @method string getPageSize()
239
 * @method $this withPageSize($value)
240
 * @method string getExtParamsCLS()
241
 * @method string getExtParams()
242
 * @method $this withExtParams($value)
243
 */
244
class QueryAvatarList extends Rpc
245
{
246
247
    /**
248
     * @param string $value
249
     *
250
     * @return $this
251
     */
252
    public function withExtParamsCLS($value)
253
    {
254
        $this->data['ExtParamsCLS'] = $value;
255
        $this->options['query']['ExtParams_CLS'] = $value;
256
257
        return $this;
258
    }
259
}
260
261
/**
262
 * @method string getApp()
263
 * @method $this withApp($value)
264
 * @method string getTenantId()
265
 * @method $this withTenantId($value)
266
 * @method string getSessionId()
267
 * @method $this withSessionId($value)
268
 */
269
class QueryRunningInstance extends Rpc
270
{
271
}
272
273
/**
274
 * @method string getInstanceId()
275
 * @method $this withInstanceId($value)
276
 * @method string getTenantId()
277
 * @method $this withTenantId($value)
278
 */
279
class QueryTimedResetOperateStatus extends Rpc
280
{
281
}
282
283
/**
284
 * @method string getFeedback()
285
 * @method $this withFeedback($value)
286
 * @method string getCode()
287
 * @method $this withCode($value)
288
 * @method string getUniqueCode()
289
 * @method $this withUniqueCode($value)
290
 * @method string getTenantId()
291
 * @method $this withTenantId($value)
292
 * @method string getSessionId()
293
 * @method $this withSessionId($value)
294
 * @method string getContent()
295
 * @method $this withContent($value)
296
 */
297
class SendCommand extends Rpc
298
{
299
}
300
301
/**
302
 * @method string getFeedback()
303
 * @method $this withFeedback($value)
304
 * @method string getStreamExtension()
305
 * @method $this withStreamExtension($value)
306
 * @method string getTextRequest()
307
 * @method $this withTextRequest($value)
308
 * @method string getTenantId()
309
 * @method $this withTenantId($value)
310
 * @method string getVAMLRequest()
311
 * @method $this withVAMLRequest($value)
312
 * @method string getSessionId()
313
 * @method $this withSessionId($value)
314
 */
315
class SendMessage extends Rpc
316
{
317
}
318
319
/**
320
 * @method string getFeedback()
321
 * @method $this withFeedback($value)
322
 * @method string getUniqueCode()
323
 * @method $this withUniqueCode($value)
324
 * @method string getStreamExtension()
325
 * @method $this withStreamExtension($value)
326
 * @method string getTenantId()
327
 * @method $this withTenantId($value)
328
 * @method string getInterrupt()
329
 * @method $this withInterrupt($value)
330
 * @method string getSessionId()
331
 * @method $this withSessionId($value)
332
 * @method string getText()
333
 * @method $this withText($value)
334
 */
335
class SendText extends Rpc
336
{
337
}
338
339
/**
340
 * @method string getTenantId()
341
 * @method $this withTenantId($value)
342
 * @method string getSessionId()
343
 * @method $this withSessionId($value)
344
 * @method string getVaml()
345
 * @method $this withVaml($value)
346
 */
347
class SendVaml extends Rpc
348
{
349
}
350
351
/**
352
 * @method string getApp()
353
 * @method $this withApp($value)
354
 * @method string getTenantId()
355
 * @method $this withTenantId($value)
356
 * @method string getChannel()
357
 * @method $this withChannel($value)
358
 * @method string getCommandRequest()
359
 * @method $this withCommandRequest($value)
360
 * @method string getUser()
361
 * @method $this withUser($value)
362
 */
363
class StartInstance extends Rpc
364
{
365
}
366
367
/**
368
 * @method string getInstanceId()
369
 * @method $this withInstanceId($value)
370
 * @method string getTenantId()
371
 * @method $this withTenantId($value)
372
 */
373
class StartTimedResetOperate extends Rpc
374
{
375
}
376
377
/**
378
 * @method string getTenantId()
379
 * @method $this withTenantId($value)
380
 * @method string getSessionId()
381
 * @method $this withSessionId($value)
382
 */
383
class StopInstance extends Rpc
384
{
385
}
386
387
/**
388
 * @method string getApp()
389
 * @method $this withApp($value)
390
 * @method string getAvatarInfo()
391
 * @method $this withAvatarInfo($value)
392
 * @method string getTitle()
393
 * @method $this withTitle($value)
394
 * @method string getExtParams()
395
 * @method $this withExtParams($value)
396
 * @method string getUrl()
397
 * @method $this withUrl($value)
398
 * @method string getVideoInfo()
399
 * @method $this withVideoInfo($value)
400
 * @method string getCallbackParams()
401
 * @method $this withCallbackParams($value)
402
 * @method string getTenantId()
403
 * @method $this withTenantId($value)
404
 * @method string getCallback()
405
 * @method $this withCallback($value)
406
 * @method string getExtParamsCLS()
407
 * @method string getCallbackParamsCLS()
408
 */
409
class SubmitAudioTo2DAvatarVideoTask extends Rpc
410
{
411
412
    /**
413
     * @param string $value
414
     *
415
     * @return $this
416
     */
417
    public function withExtParamsCLS($value)
418
    {
419
        $this->data['ExtParamsCLS'] = $value;
420
        $this->options['query']['ExtParams_CLS'] = $value;
421
422
        return $this;
423
    }
424
425
    /**
426
     * @param string $value
427
     *
428
     * @return $this
429
     */
430
    public function withCallbackParamsCLS($value)
431
    {
432
        $this->data['CallbackParamsCLS'] = $value;
433
        $this->options['query']['CallbackParams_CLS'] = $value;
434
435
        return $this;
436
    }
437
}
438
439
/**
440
 * @method string getApp()
441
 * @method $this withApp($value)
442
 * @method string getAvatarInfo()
443
 * @method $this withAvatarInfo($value)
444
 * @method string getTitle()
445
 * @method $this withTitle($value)
446
 * @method string getExtParams()
447
 * @method $this withExtParams($value)
448
 * @method string getUrl()
449
 * @method $this withUrl($value)
450
 * @method string getVideoInfo()
451
 * @method $this withVideoInfo($value)
452
 * @method string getCallbackParams()
453
 * @method $this withCallbackParams($value)
454
 * @method string getTenantId()
455
 * @method $this withTenantId($value)
456
 * @method string getCallback()
457
 * @method $this withCallback($value)
458
 * @method string getExtParamsCLS()
459
 * @method string getCallbackParamsCLS()
460
 */
461
class SubmitAudioTo3DAvatarVideoTask extends Rpc
462
{
463
464
    /**
465
     * @param string $value
466
     *
467
     * @return $this
468
     */
469
    public function withExtParamsCLS($value)
470
    {
471
        $this->data['ExtParamsCLS'] = $value;
472
        $this->options['query']['ExtParams_CLS'] = $value;
473
474
        return $this;
475
    }
476
477
    /**
478
     * @param string $value
479
     *
480
     * @return $this
481
     */
482
    public function withCallbackParamsCLS($value)
483
    {
484
        $this->data['CallbackParamsCLS'] = $value;
485
        $this->options['query']['CallbackParams_CLS'] = $value;
486
487
        return $this;
488
    }
489
}
490
491
/**
492
 * @method string getApp()
493
 * @method $this withApp($value)
494
 * @method string getAudioInfo()
495
 * @method $this withAudioInfo($value)
496
 * @method string getAvatarInfo()
497
 * @method $this withAvatarInfo($value)
498
 * @method string getTitle()
499
 * @method $this withTitle($value)
500
 * @method string getExtParams()
501
 * @method $this withExtParams($value)
502
 * @method string getVideoInfo()
503
 * @method $this withVideoInfo($value)
504
 * @method string getCallbackParams()
505
 * @method $this withCallbackParams($value)
506
 * @method string getTenantId()
507
 * @method $this withTenantId($value)
508
 * @method string getCallback()
509
 * @method $this withCallback($value)
510
 * @method string getExtParamsCLS()
511
 * @method string getText()
512
 * @method $this withText($value)
513
 * @method string getCallbackParamsCLS()
514
 */
515
class SubmitTextTo2DAvatarVideoTask extends Rpc
516
{
517
518
    /**
519
     * @param string $value
520
     *
521
     * @return $this
522
     */
523
    public function withExtParamsCLS($value)
524
    {
525
        $this->data['ExtParamsCLS'] = $value;
526
        $this->options['query']['ExtParams_CLS'] = $value;
527
528
        return $this;
529
    }
530
531
    /**
532
     * @param string $value
533
     *
534
     * @return $this
535
     */
536
    public function withCallbackParamsCLS($value)
537
    {
538
        $this->data['CallbackParamsCLS'] = $value;
539
        $this->options['query']['CallbackParams_CLS'] = $value;
540
541
        return $this;
542
    }
543
}
544
545
/**
546
 * @method string getApp()
547
 * @method $this withApp($value)
548
 * @method string getAudioInfo()
549
 * @method $this withAudioInfo($value)
550
 * @method string getAvatarInfo()
551
 * @method $this withAvatarInfo($value)
552
 * @method string getTitle()
553
 * @method $this withTitle($value)
554
 * @method string getExtParams()
555
 * @method $this withExtParams($value)
556
 * @method string getVideoInfo()
557
 * @method $this withVideoInfo($value)
558
 * @method string getCallbackParams()
559
 * @method $this withCallbackParams($value)
560
 * @method string getTenantId()
561
 * @method $this withTenantId($value)
562
 * @method string getCallback()
563
 * @method $this withCallback($value)
564
 * @method string getExtParamsCLS()
565
 * @method string getText()
566
 * @method $this withText($value)
567
 * @method string getCallbackParamsCLS()
568
 */
569
class SubmitTextTo3DAvatarVideoTask extends Rpc
570
{
571
572
    /**
573
     * @param string $value
574
     *
575
     * @return $this
576
     */
577
    public function withExtParamsCLS($value)
578
    {
579
        $this->data['ExtParamsCLS'] = $value;
580
        $this->options['query']['ExtParams_CLS'] = $value;
581
582
        return $this;
583
    }
584
585
    /**
586
     * @param string $value
587
     *
588
     * @return $this
589
     */
590
    public function withCallbackParamsCLS($value)
591
    {
592
        $this->data['CallbackParamsCLS'] = $value;
593
        $this->options['query']['CallbackParams_CLS'] = $value;
594
595
        return $this;
596
    }
597
}
598
599
/**
600
 * @method string getImage()
601
 * @method $this withImage($value)
602
 * @method string getOrientation()
603
 * @method $this withOrientation($value)
604
 * @method string getCode()
605
 * @method $this withCode($value)
606
 * @method string getDescription()
607
 * @method $this withDescription($value)
608
 * @method string getVideo()
609
 * @method $this withVideo($value)
610
 * @method string getPortrait()
611
 * @method $this withPortrait($value)
612
 * @method string getExtParams()
613
 * @method $this withExtParams($value)
614
 * @method string getTransparent()
615
 * @method $this withTransparent($value)
616
 * @method string getCallbackParams()
617
 * @method $this withCallbackParams($value)
618
 * @method string getTenantId()
619
 * @method $this withTenantId($value)
620
 * @method string getName()
621
 * @method $this withName($value)
622
 * @method string getExtParamsCLS()
623
 * @method string getCallback()
624
 * @method $this withCallback($value)
625
 * @method string getCallbackParamsCLS()
626
 */
627
class Update2dAvatar extends Rpc
628
{
629
630
    /**
631
     * @param string $value
632
     *
633
     * @return $this
634
     */
635
    public function withExtParamsCLS($value)
636
    {
637
        $this->data['ExtParamsCLS'] = $value;
638
        $this->options['query']['ExtParams_CLS'] = $value;
639
640
        return $this;
641
    }
642
643
    /**
644
     * @param string $value
645
     *
646
     * @return $this
647
     */
648
    public function withCallbackParamsCLS($value)
649
    {
650
        $this->data['CallbackParamsCLS'] = $value;
651
        $this->options['query']['CallbackParams_CLS'] = $value;
652
653
        return $this;
654
    }
655
}
656