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 ( a83794...fc583e )
by
unknown
04:51
created

ModifyMemberKey::withMemberId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Ledgerdb\V20191122;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AcceptMember acceptMember(array $options = [])
9
 * @method CreateVpcEndpoint createVpcEndpoint(array $options = [])
10
 * @method DeleteLedger deleteLedger(array $options = [])
11
 * @method DeleteMember deleteMember(array $options = [])
12
 * @method DeleteVpcEndpoint deleteVpcEndpoint(array $options = [])
13
 * @method DescribeLedger describeLedger(array $options = [])
14
 * @method DescribeLedgers describeLedgers(array $options = [])
15
 * @method DescribeRegions describeRegions(array $options = [])
16
 * @method DisableMember disableMember(array $options = [])
17
 * @method EnableMember enableMember(array $options = [])
18
 * @method GetJournal getJournal(array $options = [])
19
 * @method GetMember getMember(array $options = [])
20
 * @method InviteMembers inviteMembers(array $options = [])
21
 * @method ListJournals listJournals(array $options = [])
22
 * @method ListMembers listMembers(array $options = [])
23
 * @method ListTimeAnchors listTimeAnchors(array $options = [])
24
 * @method ListVpcEndpoints listVpcEndpoints(array $options = [])
25
 * @method ModifyLedgerAttribute modifyLedgerAttribute(array $options = [])
26
 * @method ModifyMemberACLs modifyMemberACLs(array $options = [])
27
 * @method ModifyMemberKey modifyMemberKey(array $options = [])
28
 */
29
class LedgerdbApiResolver extends ApiResolver
30
{
31
}
32
33
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
34
{
35
    /** @var string */
36
    public $product = 'ledgerdb';
37
38
    /** @var string */
39
    public $version = '2019-11-22';
40
41
    /** @var string */
42
    public $method = 'POST';
43
44
    /** @var string */
45
    public $serviceCode = 'ledgerdb';
46
}
47
48
/**
49
 * @method string getPublicKey()
50
 * @method string getKeyType()
51
 * @method string getLedgerId()
52
 */
53
class AcceptMember extends Rpc
54
{
55
56
    /**
57
     * @param string $value
58
     *
59
     * @return $this
60
     */
61
    public function withPublicKey($value)
62
    {
63
        $this->data['PublicKey'] = $value;
64
        $this->options['form_params']['PublicKey'] = $value;
65
66
        return $this;
67
    }
68
69
    /**
70
     * @param string $value
71
     *
72
     * @return $this
73
     */
74
    public function withKeyType($value)
75
    {
76
        $this->data['KeyType'] = $value;
77
        $this->options['form_params']['KeyType'] = $value;
78
79
        return $this;
80
    }
81
82
    /**
83
     * @param string $value
84
     *
85
     * @return $this
86
     */
87
    public function withLedgerId($value)
88
    {
89
        $this->data['LedgerId'] = $value;
90
        $this->options['form_params']['LedgerId'] = $value;
91
92
        return $this;
93
    }
94
}
95
96
/**
97
 * @method string getClientToken()
98
 * @method string getLedgerId()
99
 * @method string getVSwitchId()
100
 * @method string getVpcId()
101
 */
102
class CreateVpcEndpoint extends Rpc
103
{
104
105
    /**
106
     * @param string $value
107
     *
108
     * @return $this
109
     */
110
    public function withClientToken($value)
111
    {
112
        $this->data['ClientToken'] = $value;
113
        $this->options['form_params']['ClientToken'] = $value;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withLedgerId($value)
124
    {
125
        $this->data['LedgerId'] = $value;
126
        $this->options['form_params']['LedgerId'] = $value;
127
128
        return $this;
129
    }
130
131
    /**
132
     * @param string $value
133
     *
134
     * @return $this
135
     */
136
    public function withVSwitchId($value)
137
    {
138
        $this->data['VSwitchId'] = $value;
139
        $this->options['form_params']['VSwitchId'] = $value;
140
141
        return $this;
142
    }
143
144
    /**
145
     * @param string $value
146
     *
147
     * @return $this
148
     */
149
    public function withVpcId($value)
150
    {
151
        $this->data['VpcId'] = $value;
152
        $this->options['form_params']['VpcId'] = $value;
153
154
        return $this;
155
    }
156
}
157
158
/**
159
 * @method string getLedgerId()
160
 * @method $this withLedgerId($value)
161
 */
162
class DeleteLedger extends Rpc
163
{
164
}
165
166
/**
167
 * @method string getLedgerId()
168
 * @method $this withLedgerId($value)
169
 * @method string getMemberId()
170
 * @method $this withMemberId($value)
171
 */
172
class DeleteMember extends Rpc
173
{
174
}
175
176
/**
177
 * @method string getLedgerId()
178
 * @method $this withLedgerId($value)
179
 * @method string getVSwitchId()
180
 * @method $this withVSwitchId($value)
181
 * @method string getVpcId()
182
 * @method $this withVpcId($value)
183
 * @method string getVpcEndpointId()
184
 * @method $this withVpcEndpointId($value)
185
 */
186
class DeleteVpcEndpoint extends Rpc
187
{
188
}
189
190
/**
191
 * @method string getLedgerId()
192
 * @method $this withLedgerId($value)
193
 */
194
class DescribeLedger extends Rpc
195
{
196
197
    /** @var string */
198
    public $method = 'GET';
199
}
200
201
/**
202
 * @method string getNextToken()
203
 * @method $this withNextToken($value)
204
 * @method string getMaxResults()
205
 * @method $this withMaxResults($value)
206
 */
207
class DescribeLedgers extends Rpc
208
{
209
210
    /** @var string */
211
    public $method = 'GET';
212
}
213
214
class DescribeRegions extends Rpc
215
{
216
}
217
218
/**
219
 * @method string getLedgerId()
220
 * @method string getMemberId()
221
 */
222
class DisableMember extends Rpc
223
{
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withLedgerId($value)
231
    {
232
        $this->data['LedgerId'] = $value;
233
        $this->options['form_params']['LedgerId'] = $value;
234
235
        return $this;
236
    }
237
238
    /**
239
     * @param string $value
240
     *
241
     * @return $this
242
     */
243
    public function withMemberId($value)
244
    {
245
        $this->data['MemberId'] = $value;
246
        $this->options['form_params']['MemberId'] = $value;
247
248
        return $this;
249
    }
250
}
251
252
/**
253
 * @method string getLedgerId()
254
 * @method string getMemberId()
255
 */
256
class EnableMember extends Rpc
257
{
258
259
    /**
260
     * @param string $value
261
     *
262
     * @return $this
263
     */
264
    public function withLedgerId($value)
265
    {
266
        $this->data['LedgerId'] = $value;
267
        $this->options['form_params']['LedgerId'] = $value;
268
269
        return $this;
270
    }
271
272
    /**
273
     * @param string $value
274
     *
275
     * @return $this
276
     */
277
    public function withMemberId($value)
278
    {
279
        $this->data['MemberId'] = $value;
280
        $this->options['form_params']['MemberId'] = $value;
281
282
        return $this;
283
    }
284
}
285
286
/**
287
 * @method string getJournalId()
288
 * @method $this withJournalId($value)
289
 * @method string getLedgerId()
290
 * @method $this withLedgerId($value)
291
 */
292
class GetJournal extends Rpc
293
{
294
295
    /** @var string */
296
    public $method = 'GET';
297
}
298
299
/**
300
 * @method string getLedgerId()
301
 * @method $this withLedgerId($value)
302
 * @method string getMemberId()
303
 * @method $this withMemberId($value)
304
 */
305
class GetMember extends Rpc
306
{
307
308
    /** @var string */
309
    public $method = 'GET';
310
}
311
312
/**
313
 * @method string getAliUids()
314
 * @method string getLedgerId()
315
 */
316
class InviteMembers extends Rpc
317
{
318
319
    /**
320
     * @param string $value
321
     *
322
     * @return $this
323
     */
324
    public function withAliUids($value)
325
    {
326
        $this->data['AliUids'] = $value;
327
        $this->options['form_params']['AliUids'] = $value;
328
329
        return $this;
330
    }
331
332
    /**
333
     * @param string $value
334
     *
335
     * @return $this
336
     */
337
    public function withLedgerId($value)
338
    {
339
        $this->data['LedgerId'] = $value;
340
        $this->options['form_params']['LedgerId'] = $value;
341
342
        return $this;
343
    }
344
}
345
346
/**
347
 * @method string getLedgerId()
348
 * @method $this withLedgerId($value)
349
 * @method string getNextToken()
350
 * @method $this withNextToken($value)
351
 * @method string getClue()
352
 * @method $this withClue($value)
353
 * @method string getMaxResults()
354
 * @method $this withMaxResults($value)
355
 * @method string getMemberId()
356
 * @method $this withMemberId($value)
357
 */
358
class ListJournals extends Rpc
359
{
360
361
    /** @var string */
362
    public $method = 'GET';
363
}
364
365
/**
366
 * @method string getLedgerId()
367
 * @method $this withLedgerId($value)
368
 * @method string getNextToken()
369
 * @method $this withNextToken($value)
370
 * @method string getMaxResults()
371
 * @method $this withMaxResults($value)
372
 */
373
class ListMembers extends Rpc
374
{
375
376
    /** @var string */
377
    public $method = 'GET';
378
}
379
380
/**
381
 * @method string getReverse()
382
 * @method $this withReverse($value)
383
 * @method string getLedgerId()
384
 * @method $this withLedgerId($value)
385
 * @method string getNextToken()
386
 * @method $this withNextToken($value)
387
 * @method string getMaxResults()
388
 * @method $this withMaxResults($value)
389
 */
390
class ListTimeAnchors extends Rpc
391
{
392
393
    /** @var string */
394
    public $method = 'GET';
395
}
396
397
/**
398
 * @method string getLedgerId()
399
 * @method $this withLedgerId($value)
400
 * @method string getNextToken()
401
 * @method $this withNextToken($value)
402
 * @method string getMaxResults()
403
 * @method $this withMaxResults($value)
404
 */
405
class ListVpcEndpoints extends Rpc
406
{
407
408
    /** @var string */
409
    public $method = 'GET';
410
}
411
412
/**
413
 * @method string getLedgerId()
414
 * @method string getLedgerName()
415
 * @method string getLedgerDescription()
416
 */
417
class ModifyLedgerAttribute extends Rpc
418
{
419
420
    /**
421
     * @param string $value
422
     *
423
     * @return $this
424
     */
425
    public function withLedgerId($value)
426
    {
427
        $this->data['LedgerId'] = $value;
428
        $this->options['form_params']['LedgerId'] = $value;
429
430
        return $this;
431
    }
432
433
    /**
434
     * @param string $value
435
     *
436
     * @return $this
437
     */
438
    public function withLedgerName($value)
439
    {
440
        $this->data['LedgerName'] = $value;
441
        $this->options['form_params']['LedgerName'] = $value;
442
443
        return $this;
444
    }
445
446
    /**
447
     * @param string $value
448
     *
449
     * @return $this
450
     */
451
    public function withLedgerDescription($value)
452
    {
453
        $this->data['LedgerDescription'] = $value;
454
        $this->options['form_params']['LedgerDescription'] = $value;
455
456
        return $this;
457
    }
458
}
459
460
/**
461
 * @method string getRole()
462
 * @method string getLedgerId()
463
 * @method string getMemberId()
464
 */
465
class ModifyMemberACLs extends Rpc
466
{
467
468
    /**
469
     * @param string $value
470
     *
471
     * @return $this
472
     */
473
    public function withRole($value)
474
    {
475
        $this->data['Role'] = $value;
476
        $this->options['form_params']['Role'] = $value;
477
478
        return $this;
479
    }
480
481
    /**
482
     * @param string $value
483
     *
484
     * @return $this
485
     */
486
    public function withLedgerId($value)
487
    {
488
        $this->data['LedgerId'] = $value;
489
        $this->options['form_params']['LedgerId'] = $value;
490
491
        return $this;
492
    }
493
494
    /**
495
     * @param string $value
496
     *
497
     * @return $this
498
     */
499
    public function withMemberId($value)
500
    {
501
        $this->data['MemberId'] = $value;
502
        $this->options['form_params']['MemberId'] = $value;
503
504
        return $this;
505
    }
506
}
507
508
/**
509
 * @method string getPublicKey()
510
 * @method string getKeyType()
511
 * @method string getLedgerId()
512
 * @method string getMemberId()
513
 */
514
class ModifyMemberKey extends Rpc
515
{
516
517
    /**
518
     * @param string $value
519
     *
520
     * @return $this
521
     */
522
    public function withPublicKey($value)
523
    {
524
        $this->data['PublicKey'] = $value;
525
        $this->options['form_params']['PublicKey'] = $value;
526
527
        return $this;
528
    }
529
530
    /**
531
     * @param string $value
532
     *
533
     * @return $this
534
     */
535
    public function withKeyType($value)
536
    {
537
        $this->data['KeyType'] = $value;
538
        $this->options['form_params']['KeyType'] = $value;
539
540
        return $this;
541
    }
542
543
    /**
544
     * @param string $value
545
     *
546
     * @return $this
547
     */
548
    public function withLedgerId($value)
549
    {
550
        $this->data['LedgerId'] = $value;
551
        $this->options['form_params']['LedgerId'] = $value;
552
553
        return $this;
554
    }
555
556
    /**
557
     * @param string $value
558
     *
559
     * @return $this
560
     */
561
    public function withMemberId($value)
562
    {
563
        $this->data['MemberId'] = $value;
564
        $this->options['form_params']['MemberId'] = $value;
565
566
        return $this;
567
    }
568
}
569