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 ( 672834...c9c31f )
by
unknown
08:02
created

withSourceEndpointRole()   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\Dts\V20190901;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ConfigureSynchronizationJob configureSynchronizationJob(array $options = [])
9
 * @method ConfigureSynchronizationJobAlert configureSynchronizationJobAlert(array $options = [])
10
 * @method CreateSynchronizationJob createSynchronizationJob(array $options = [])
11
 * @method DeleteSynchronizationJob deleteSynchronizationJob(array $options = [])
12
 * @method DescribeEndpointSwitchStatus describeEndpointSwitchStatus(array $options = [])
13
 * @method DescribeSynchronizationJobAlert describeSynchronizationJobAlert(array $options = [])
14
 * @method DescribeSynchronizationJobs describeSynchronizationJobs(array $options = [])
15
 * @method DescribeSynchronizationJobStatus describeSynchronizationJobStatus(array $options = [])
16
 * @method DescribeSynchronizationObjectModifyStatus describeSynchronizationObjectModifyStatus(array $options = [])
17
 * @method ModifySynchronizationObject modifySynchronizationObject(array $options = [])
18
 * @method ResetSynchronizationJob resetSynchronizationJob(array $options = [])
19
 * @method StartSynchronizationJob startSynchronizationJob(array $options = [])
20
 * @method SuspendSynchronizationJob suspendSynchronizationJob(array $options = [])
21
 * @method SwitchSynchronizationEndpoint switchSynchronizationEndpoint(array $options = [])
22
 */
23
class DtsApiResolver extends ApiResolver
24
{
25
}
26
27
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
28
{
29
    /** @var string */
30
    public $product = 'Dts';
31
32
    /** @var string */
33
    public $version = '2019-09-01';
34
35
    /** @var string */
36
    public $method = 'POST';
37
}
38
39
/**
40
 * @method string getSourceEndpointInstanceId()
41
 * @method string getCheckpoint()
42
 * @method $this withCheckpoint($value)
43
 * @method string getDestinationEndpointInstanceId()
44
 * @method string getSourceEndpointIP()
45
 * @method string getSynchronizationObjects()
46
 * @method $this withSynchronizationObjects($value)
47
 * @method string getDestinationEndpointPassword()
48
 * @method string getDataInitialization()
49
 * @method $this withDataInitialization($value)
50
 * @method string getStructureInitialization()
51
 * @method $this withStructureInitialization($value)
52
 * @method string getPartitionKeyModifyTimeMInute()
53
 * @method string getPartitionKeyModifyTimeDAy()
54
 * @method string getSourceEndpointInstanceType()
55
 * @method string getSynchronizationJobId()
56
 * @method $this withSynchronizationJobId($value)
57
 * @method string getSynchronizationJobName()
58
 * @method $this withSynchronizationJobName($value)
59
 * @method string getSourceEndpointUserName()
60
 * @method string getPartitionKeyModifyTimeMOnth()
61
 * @method string getSourceEndpointPort()
62
 * @method string getSourceEndpointOwnerID()
63
 * @method string getDestinationEndpointUserName()
64
 * @method string getDestinationEndpointPort()
65
 * @method string getPartitionKeyModifyTimeYEar()
66
 * @method string getSourceEndpointRole()
67
 * @method string getOwnerId()
68
 * @method $this withOwnerId($value)
69
 * @method string getPartitionKeyModifyTimeHOur()
70
 * @method string getSourceEndpointPassword()
71
 * @method string getMigrationReserved()
72
 * @method $this withMigrationReserved($value)
73
 * @method string getDestinationEndpointIP()
74
 * @method string getDestinationEndpointInstanceType()
75
 * @method string getSynchronizationDirection()
76
 * @method $this withSynchronizationDirection($value)
77
 */
78
class ConfigureSynchronizationJob extends Rpc
79
{
80
81
    /**
82
     * @param string $value
83
     *
84
     * @return $this
85
     */
86
    public function withSourceEndpointInstanceId($value)
87
    {
88
        $this->data['SourceEndpointInstanceId'] = $value;
89
        $this->options['query']['SourceEndpoint.InstanceId'] = $value;
90
91
        return $this;
92
    }
93
94
    /**
95
     * @param string $value
96
     *
97
     * @return $this
98
     */
99
    public function withDestinationEndpointInstanceId($value)
100
    {
101
        $this->data['DestinationEndpointInstanceId'] = $value;
102
        $this->options['query']['DestinationEndpoint.InstanceId'] = $value;
103
104
        return $this;
105
    }
106
107
    /**
108
     * @param string $value
109
     *
110
     * @return $this
111
     */
112
    public function withSourceEndpointIP($value)
113
    {
114
        $this->data['SourceEndpointIP'] = $value;
115
        $this->options['query']['SourceEndpoint.IP'] = $value;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withDestinationEndpointPassword($value)
126
    {
127
        $this->data['DestinationEndpointPassword'] = $value;
128
        $this->options['query']['DestinationEndpoint.Password'] = $value;
129
130
        return $this;
131
    }
132
133
    /**
134
     * @param string $value
135
     *
136
     * @return $this
137
     */
138
    public function withPartitionKeyModifyTimeMInute($value)
139
    {
140
        $this->data['PartitionKeyModifyTimeMInute'] = $value;
141
        $this->options['query']['PartitionKey.ModifyTime_Minute'] = $value;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @param string $value
148
     *
149
     * @return $this
150
     */
151
    public function withPartitionKeyModifyTimeDAy($value)
152
    {
153
        $this->data['PartitionKeyModifyTimeDAy'] = $value;
154
        $this->options['query']['PartitionKey.ModifyTime_Day'] = $value;
155
156
        return $this;
157
    }
158
159
    /**
160
     * @param string $value
161
     *
162
     * @return $this
163
     */
164
    public function withSourceEndpointInstanceType($value)
165
    {
166
        $this->data['SourceEndpointInstanceType'] = $value;
167
        $this->options['query']['SourceEndpoint.InstanceType'] = $value;
168
169
        return $this;
170
    }
171
172
    /**
173
     * @param string $value
174
     *
175
     * @return $this
176
     */
177
    public function withSourceEndpointUserName($value)
178
    {
179
        $this->data['SourceEndpointUserName'] = $value;
180
        $this->options['query']['SourceEndpoint.UserName'] = $value;
181
182
        return $this;
183
    }
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withPartitionKeyModifyTimeMOnth($value)
191
    {
192
        $this->data['PartitionKeyModifyTimeMOnth'] = $value;
193
        $this->options['query']['PartitionKey.ModifyTime_Month'] = $value;
194
195
        return $this;
196
    }
197
198
    /**
199
     * @param string $value
200
     *
201
     * @return $this
202
     */
203
    public function withSourceEndpointPort($value)
204
    {
205
        $this->data['SourceEndpointPort'] = $value;
206
        $this->options['query']['SourceEndpoint.Port'] = $value;
207
208
        return $this;
209
    }
210
211
    /**
212
     * @param string $value
213
     *
214
     * @return $this
215
     */
216
    public function withSourceEndpointOwnerID($value)
217
    {
218
        $this->data['SourceEndpointOwnerID'] = $value;
219
        $this->options['query']['SourceEndpoint.OwnerID'] = $value;
220
221
        return $this;
222
    }
223
224
    /**
225
     * @param string $value
226
     *
227
     * @return $this
228
     */
229
    public function withDestinationEndpointUserName($value)
230
    {
231
        $this->data['DestinationEndpointUserName'] = $value;
232
        $this->options['query']['DestinationEndpoint.UserName'] = $value;
233
234
        return $this;
235
    }
236
237
    /**
238
     * @param string $value
239
     *
240
     * @return $this
241
     */
242
    public function withDestinationEndpointPort($value)
243
    {
244
        $this->data['DestinationEndpointPort'] = $value;
245
        $this->options['query']['DestinationEndpoint.Port'] = $value;
246
247
        return $this;
248
    }
249
250
    /**
251
     * @param string $value
252
     *
253
     * @return $this
254
     */
255
    public function withPartitionKeyModifyTimeYEar($value)
256
    {
257
        $this->data['PartitionKeyModifyTimeYEar'] = $value;
258
        $this->options['query']['PartitionKey.ModifyTime_Year'] = $value;
259
260
        return $this;
261
    }
262
263
    /**
264
     * @param string $value
265
     *
266
     * @return $this
267
     */
268
    public function withSourceEndpointRole($value)
269
    {
270
        $this->data['SourceEndpointRole'] = $value;
271
        $this->options['query']['SourceEndpoint.Role'] = $value;
272
273
        return $this;
274
    }
275
276
    /**
277
     * @param string $value
278
     *
279
     * @return $this
280
     */
281
    public function withPartitionKeyModifyTimeHOur($value)
282
    {
283
        $this->data['PartitionKeyModifyTimeHOur'] = $value;
284
        $this->options['query']['PartitionKey.ModifyTime_Hour'] = $value;
285
286
        return $this;
287
    }
288
289
    /**
290
     * @param string $value
291
     *
292
     * @return $this
293
     */
294
    public function withSourceEndpointPassword($value)
295
    {
296
        $this->data['SourceEndpointPassword'] = $value;
297
        $this->options['query']['SourceEndpoint.Password'] = $value;
298
299
        return $this;
300
    }
301
302
    /**
303
     * @param string $value
304
     *
305
     * @return $this
306
     */
307
    public function withDestinationEndpointIP($value)
308
    {
309
        $this->data['DestinationEndpointIP'] = $value;
310
        $this->options['query']['DestinationEndpoint.IP'] = $value;
311
312
        return $this;
313
    }
314
315
    /**
316
     * @param string $value
317
     *
318
     * @return $this
319
     */
320
    public function withDestinationEndpointInstanceType($value)
321
    {
322
        $this->data['DestinationEndpointInstanceType'] = $value;
323
        $this->options['query']['DestinationEndpoint.InstanceType'] = $value;
324
325
        return $this;
326
    }
327
}
328
329
/**
330
 * @method string getDelayOverSeconds()
331
 * @method $this withDelayOverSeconds($value)
332
 * @method string getDelayAlertStatus()
333
 * @method $this withDelayAlertStatus($value)
334
 * @method string getOwnerId()
335
 * @method $this withOwnerId($value)
336
 * @method string getSynchronizationJobId()
337
 * @method $this withSynchronizationJobId($value)
338
 * @method string getErrorAlertPhone()
339
 * @method $this withErrorAlertPhone($value)
340
 * @method string getDelayAlertPhone()
341
 * @method $this withDelayAlertPhone($value)
342
 * @method string getErrorAlertStatus()
343
 * @method $this withErrorAlertStatus($value)
344
 * @method string getSynchronizationDirection()
345
 * @method $this withSynchronizationDirection($value)
346
 */
347
class ConfigureSynchronizationJobAlert extends Rpc
348
{
349
}
350
351
/**
352
 * @method string getPeriod()
353
 * @method $this withPeriod($value)
354
 * @method string getDestRegion()
355
 * @method $this withDestRegion($value)
356
 * @method string getClientToken()
357
 * @method $this withClientToken($value)
358
 * @method string getTopology()
359
 * @method $this withTopology($value)
360
 * @method string getNetworkType()
361
 * @method string getOwnerId()
362
 * @method $this withOwnerId($value)
363
 * @method string getUsedTime()
364
 * @method $this withUsedTime($value)
365
 * @method string getSourceEndpointInstanceType()
366
 * @method string getSynchronizationJobClass()
367
 * @method $this withSynchronizationJobClass($value)
368
 * @method string getSourceRegion()
369
 * @method $this withSourceRegion($value)
370
 * @method string getPayType()
371
 * @method $this withPayType($value)
372
 * @method string getDestinationEndpointInstanceType()
373
 */
374
class CreateSynchronizationJob extends Rpc
375
{
376
377
    /**
378
     * @param string $value
379
     *
380
     * @return $this
381
     */
382
    public function withNetworkType($value)
383
    {
384
        $this->data['NetworkType'] = $value;
385
        $this->options['query']['networkType'] = $value;
386
387
        return $this;
388
    }
389
390
    /**
391
     * @param string $value
392
     *
393
     * @return $this
394
     */
395
    public function withSourceEndpointInstanceType($value)
396
    {
397
        $this->data['SourceEndpointInstanceType'] = $value;
398
        $this->options['query']['SourceEndpoint.InstanceType'] = $value;
399
400
        return $this;
401
    }
402
403
    /**
404
     * @param string $value
405
     *
406
     * @return $this
407
     */
408
    public function withDestinationEndpointInstanceType($value)
409
    {
410
        $this->data['DestinationEndpointInstanceType'] = $value;
411
        $this->options['query']['DestinationEndpoint.InstanceType'] = $value;
412
413
        return $this;
414
    }
415
}
416
417
/**
418
 * @method string getOwnerId()
419
 * @method $this withOwnerId($value)
420
 * @method string getSynchronizationJobId()
421
 * @method $this withSynchronizationJobId($value)
422
 */
423
class DeleteSynchronizationJob extends Rpc
424
{
425
}
426
427
/**
428
 * @method string getClientToken()
429
 * @method $this withClientToken($value)
430
 * @method string getOwnerId()
431
 * @method $this withOwnerId($value)
432
 * @method string getTaskId()
433
 * @method $this withTaskId($value)
434
 */
435
class DescribeEndpointSwitchStatus extends Rpc
436
{
437
}
438
439
/**
440
 * @method string getClientToken()
441
 * @method $this withClientToken($value)
442
 * @method string getOwnerId()
443
 * @method $this withOwnerId($value)
444
 * @method string getSynchronizationJobId()
445
 * @method $this withSynchronizationJobId($value)
446
 * @method string getSynchronizationDirection()
447
 * @method $this withSynchronizationDirection($value)
448
 */
449
class DescribeSynchronizationJobAlert extends Rpc
450
{
451
}
452
453
/**
454
 * @method string getClientToken()
455
 * @method $this withClientToken($value)
456
 * @method string getPageNum()
457
 * @method $this withPageNum($value)
458
 * @method string getOwnerId()
459
 * @method $this withOwnerId($value)
460
 * @method string getSynchronizationJobName()
461
 * @method $this withSynchronizationJobName($value)
462
 * @method string getPageSize()
463
 * @method $this withPageSize($value)
464
 */
465
class DescribeSynchronizationJobs extends Rpc
466
{
467
}
468
469
/**
470
 * @method string getClientToken()
471
 * @method $this withClientToken($value)
472
 * @method string getOwnerId()
473
 * @method $this withOwnerId($value)
474
 * @method string getSynchronizationJobId()
475
 * @method $this withSynchronizationJobId($value)
476
 * @method string getSynchronizationDirection()
477
 * @method $this withSynchronizationDirection($value)
478
 */
479
class DescribeSynchronizationJobStatus extends Rpc
480
{
481
}
482
483
/**
484
 * @method string getClientToken()
485
 * @method $this withClientToken($value)
486
 * @method string getOwnerId()
487
 * @method $this withOwnerId($value)
488
 * @method string getTaskId()
489
 * @method $this withTaskId($value)
490
 */
491
class DescribeSynchronizationObjectModifyStatus extends Rpc
492
{
493
}
494
495
/**
496
 * @method string getSynchronizationObjects()
497
 * @method $this withSynchronizationObjects($value)
498
 * @method string getOwnerId()
499
 * @method $this withOwnerId($value)
500
 * @method string getSynchronizationJobId()
501
 * @method $this withSynchronizationJobId($value)
502
 * @method string getSynchronizationDirection()
503
 * @method $this withSynchronizationDirection($value)
504
 */
505
class ModifySynchronizationObject extends Rpc
506
{
507
}
508
509
/**
510
 * @method string getOwnerId()
511
 * @method $this withOwnerId($value)
512
 * @method string getSynchronizationJobId()
513
 * @method $this withSynchronizationJobId($value)
514
 * @method string getSynchronizationDirection()
515
 * @method $this withSynchronizationDirection($value)
516
 */
517
class ResetSynchronizationJob extends Rpc
518
{
519
}
520
521
/**
522
 * @method string getOwnerId()
523
 * @method $this withOwnerId($value)
524
 * @method string getSynchronizationJobId()
525
 * @method $this withSynchronizationJobId($value)
526
 * @method string getSynchronizationDirection()
527
 * @method $this withSynchronizationDirection($value)
528
 */
529
class StartSynchronizationJob extends Rpc
530
{
531
}
532
533
/**
534
 * @method string getOwnerId()
535
 * @method $this withOwnerId($value)
536
 * @method string getSynchronizationJobId()
537
 * @method $this withSynchronizationJobId($value)
538
 * @method string getSynchronizationDirection()
539
 * @method $this withSynchronizationDirection($value)
540
 */
541
class SuspendSynchronizationJob extends Rpc
542
{
543
}
544
545
/**
546
 * @method string getEndpointInstanceType()
547
 * @method string getEndpointIP()
548
 * @method string getOwnerId()
549
 * @method $this withOwnerId($value)
550
 * @method string getSynchronizationJobId()
551
 * @method $this withSynchronizationJobId($value)
552
 * @method string getEndpointType()
553
 * @method string getEndpointPort()
554
 * @method string getEndpointInstanceId()
555
 * @method string getSynchronizationDirection()
556
 * @method $this withSynchronizationDirection($value)
557
 */
558
class SwitchSynchronizationEndpoint extends Rpc
559
{
560
561
    /**
562
     * @param string $value
563
     *
564
     * @return $this
565
     */
566
    public function withEndpointInstanceType($value)
567
    {
568
        $this->data['EndpointInstanceType'] = $value;
569
        $this->options['query']['Endpoint.InstanceType'] = $value;
570
571
        return $this;
572
    }
573
574
    /**
575
     * @param string $value
576
     *
577
     * @return $this
578
     */
579
    public function withEndpointIP($value)
580
    {
581
        $this->data['EndpointIP'] = $value;
582
        $this->options['query']['Endpoint.IP'] = $value;
583
584
        return $this;
585
    }
586
587
    /**
588
     * @param string $value
589
     *
590
     * @return $this
591
     */
592
    public function withEndpointType($value)
593
    {
594
        $this->data['EndpointType'] = $value;
595
        $this->options['query']['Endpoint.Type'] = $value;
596
597
        return $this;
598
    }
599
600
    /**
601
     * @param string $value
602
     *
603
     * @return $this
604
     */
605
    public function withEndpointPort($value)
606
    {
607
        $this->data['EndpointPort'] = $value;
608
        $this->options['query']['Endpoint.Port'] = $value;
609
610
        return $this;
611
    }
612
613
    /**
614
     * @param string $value
615
     *
616
     * @return $this
617
     */
618
    public function withEndpointInstanceId($value)
619
    {
620
        $this->data['EndpointInstanceId'] = $value;
621
        $this->options['query']['Endpoint.InstanceId'] = $value;
622
623
        return $this;
624
    }
625
}
626