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 ( 7a1a19...f39835 )
by
unknown
05:31
created

DeployConfiguration::withContent()   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\AcmsOpen\V20200206;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateConfiguration createConfiguration(array $options = [])
9
 * @method CreateNamespace createNamespace(array $options = [])
10
 * @method DeleteConfiguration deleteConfiguration(array $options = [])
11
 * @method DeleteNamespace deleteNamespace(array $options = [])
12
 * @method DeployConfiguration deployConfiguration(array $options = [])
13
 * @method DescribeConfiguration describeConfiguration(array $options = [])
14
 * @method DescribeNamespace describeNamespace(array $options = [])
15
 * @method UpdateNamespace updateNamespace(array $options = [])
16
 */
17
class AcmsOpenApiResolver extends ApiResolver
18
{
19
}
20
21
class Roa extends \AlibabaCloud\Client\Resolver\Roa
22
{
23
    /** @var string */
24
    public $product = 'acms-open';
25
26
    /** @var string */
27
    public $version = '2020-02-06';
28
29
    /** @var string */
30
    public $method = 'DELETE';
31
32
    /** @var string */
33
    public $serviceCode = 'acms';
34
}
35
36
/**
37
 * @method string getDataId()
38
 * @method string getAppName()
39
 * @method string getNamespaceId()
40
 * @method string getType()
41
 * @method string getContent()
42
 * @method string getGroup()
43
 * @method string getDesc()
44
 * @method string getTags()
45
 */
46
class CreateConfiguration extends Roa
47
{
48
    /** @var string */
49
    public $pathPattern = '/diamond-ops/pop/configuration';
50
51
    /** @var string */
52
    public $method = 'POST';
53
54
    /**
55
     * @param string $value
56
     *
57
     * @return $this
58
     */
59
    public function withDataId($value)
60
    {
61
        $this->data['DataId'] = $value;
62
        $this->options['form_params']['DataId'] = $value;
63
64
        return $this;
65
    }
66
67
    /**
68
     * @param string $value
69
     *
70
     * @return $this
71
     */
72
    public function withAppName($value)
73
    {
74
        $this->data['AppName'] = $value;
75
        $this->options['form_params']['AppName'] = $value;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @param string $value
82
     *
83
     * @return $this
84
     */
85
    public function withNamespaceId($value)
86
    {
87
        $this->data['NamespaceId'] = $value;
88
        $this->options['form_params']['NamespaceId'] = $value;
89
90
        return $this;
91
    }
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withType($value)
99
    {
100
        $this->data['Type'] = $value;
101
        $this->options['form_params']['Type'] = $value;
102
103
        return $this;
104
    }
105
106
    /**
107
     * @param string $value
108
     *
109
     * @return $this
110
     */
111
    public function withContent($value)
112
    {
113
        $this->data['Content'] = $value;
114
        $this->options['form_params']['Content'] = $value;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @param string $value
121
     *
122
     * @return $this
123
     */
124
    public function withGroup($value)
125
    {
126
        $this->data['Group'] = $value;
127
        $this->options['form_params']['Group'] = $value;
128
129
        return $this;
130
    }
131
132
    /**
133
     * @param string $value
134
     *
135
     * @return $this
136
     */
137
    public function withDesc($value)
138
    {
139
        $this->data['Desc'] = $value;
140
        $this->options['form_params']['Desc'] = $value;
141
142
        return $this;
143
    }
144
145
    /**
146
     * @param string $value
147
     *
148
     * @return $this
149
     */
150
    public function withTags($value)
151
    {
152
        $this->data['Tags'] = $value;
153
        $this->options['form_params']['Tags'] = $value;
154
155
        return $this;
156
    }
157
}
158
159
/**
160
 * @method string getName()
161
 */
162
class CreateNamespace extends Roa
163
{
164
    /** @var string */
165
    public $pathPattern = '/diamond-ops/pop/namespace';
166
167
    /** @var string */
168
    public $method = 'POST';
169
170
    /**
171
     * @param string $value
172
     *
173
     * @return $this
174
     */
175
    public function withName($value)
176
    {
177
        $this->data['Name'] = $value;
178
        $this->options['form_params']['Name'] = $value;
179
180
        return $this;
181
    }
182
}
183
184
/**
185
 * @method string getDataId()
186
 * @method string getNamespaceId()
187
 * @method string getGroup()
188
 */
189
class DeleteConfiguration extends Roa
190
{
191
    /** @var string */
192
    public $pathPattern = '/diamond-ops/pop/configuration';
193
194
    /**
195
     * @param string $value
196
     *
197
     * @return $this
198
     */
199
    public function withDataId($value)
200
    {
201
        $this->data['DataId'] = $value;
202
        $this->options['query']['DataId'] = $value;
203
204
        return $this;
205
    }
206
207
    /**
208
     * @param string $value
209
     *
210
     * @return $this
211
     */
212
    public function withNamespaceId($value)
213
    {
214
        $this->data['NamespaceId'] = $value;
215
        $this->options['query']['NamespaceId'] = $value;
216
217
        return $this;
218
    }
219
220
    /**
221
     * @param string $value
222
     *
223
     * @return $this
224
     */
225
    public function withGroup($value)
226
    {
227
        $this->data['Group'] = $value;
228
        $this->options['query']['Group'] = $value;
229
230
        return $this;
231
    }
232
}
233
234
/**
235
 * @method string getNamespaceId()
236
 */
237
class DeleteNamespace extends Roa
238
{
239
    /** @var string */
240
    public $pathPattern = '/diamond-ops/pop/namespace';
241
242
    /**
243
     * @param string $value
244
     *
245
     * @return $this
246
     */
247
    public function withNamespaceId($value)
248
    {
249
        $this->data['NamespaceId'] = $value;
250
        $this->options['query']['NamespaceId'] = $value;
251
252
        return $this;
253
    }
254
}
255
256
/**
257
 * @method string getDataId()
258
 * @method string getAppName()
259
 * @method string getNamespaceId()
260
 * @method string getType()
261
 * @method string getContent()
262
 * @method string getGroup()
263
 * @method string getDesc()
264
 * @method string getTags()
265
 */
266
class DeployConfiguration extends Roa
267
{
268
    /** @var string */
269
    public $pathPattern = '/diamond-ops/pop/configuration';
270
271
    /** @var string */
272
    public $method = 'PUT';
273
274
    /**
275
     * @param string $value
276
     *
277
     * @return $this
278
     */
279
    public function withDataId($value)
280
    {
281
        $this->data['DataId'] = $value;
282
        $this->options['form_params']['DataId'] = $value;
283
284
        return $this;
285
    }
286
287
    /**
288
     * @param string $value
289
     *
290
     * @return $this
291
     */
292
    public function withAppName($value)
293
    {
294
        $this->data['AppName'] = $value;
295
        $this->options['form_params']['AppName'] = $value;
296
297
        return $this;
298
    }
299
300
    /**
301
     * @param string $value
302
     *
303
     * @return $this
304
     */
305
    public function withNamespaceId($value)
306
    {
307
        $this->data['NamespaceId'] = $value;
308
        $this->options['form_params']['NamespaceId'] = $value;
309
310
        return $this;
311
    }
312
313
    /**
314
     * @param string $value
315
     *
316
     * @return $this
317
     */
318
    public function withType($value)
319
    {
320
        $this->data['Type'] = $value;
321
        $this->options['form_params']['Type'] = $value;
322
323
        return $this;
324
    }
325
326
    /**
327
     * @param string $value
328
     *
329
     * @return $this
330
     */
331
    public function withContent($value)
332
    {
333
        $this->data['Content'] = $value;
334
        $this->options['form_params']['Content'] = $value;
335
336
        return $this;
337
    }
338
339
    /**
340
     * @param string $value
341
     *
342
     * @return $this
343
     */
344
    public function withGroup($value)
345
    {
346
        $this->data['Group'] = $value;
347
        $this->options['form_params']['Group'] = $value;
348
349
        return $this;
350
    }
351
352
    /**
353
     * @param string $value
354
     *
355
     * @return $this
356
     */
357
    public function withDesc($value)
358
    {
359
        $this->data['Desc'] = $value;
360
        $this->options['form_params']['Desc'] = $value;
361
362
        return $this;
363
    }
364
365
    /**
366
     * @param string $value
367
     *
368
     * @return $this
369
     */
370
    public function withTags($value)
371
    {
372
        $this->data['Tags'] = $value;
373
        $this->options['form_params']['Tags'] = $value;
374
375
        return $this;
376
    }
377
}
378
379
/**
380
 * @method string getDataId()
381
 * @method string getNamespaceId()
382
 * @method string getGroup()
383
 */
384
class DescribeConfiguration extends Roa
385
{
386
    /** @var string */
387
    public $pathPattern = '/diamond-ops/pop/configuration';
388
389
    /** @var string */
390
    public $method = 'GET';
391
392
    /**
393
     * @param string $value
394
     *
395
     * @return $this
396
     */
397
    public function withDataId($value)
398
    {
399
        $this->data['DataId'] = $value;
400
        $this->options['query']['DataId'] = $value;
401
402
        return $this;
403
    }
404
405
    /**
406
     * @param string $value
407
     *
408
     * @return $this
409
     */
410
    public function withNamespaceId($value)
411
    {
412
        $this->data['NamespaceId'] = $value;
413
        $this->options['query']['NamespaceId'] = $value;
414
415
        return $this;
416
    }
417
418
    /**
419
     * @param string $value
420
     *
421
     * @return $this
422
     */
423
    public function withGroup($value)
424
    {
425
        $this->data['Group'] = $value;
426
        $this->options['query']['Group'] = $value;
427
428
        return $this;
429
    }
430
}
431
432
/**
433
 * @method string getNamespaceId()
434
 */
435
class DescribeNamespace extends Roa
436
{
437
    /** @var string */
438
    public $pathPattern = '/diamond-ops/pop/namespace';
439
440
    /** @var string */
441
    public $method = 'GET';
442
443
    /**
444
     * @param string $value
445
     *
446
     * @return $this
447
     */
448
    public function withNamespaceId($value)
449
    {
450
        $this->data['NamespaceId'] = $value;
451
        $this->options['query']['NamespaceId'] = $value;
452
453
        return $this;
454
    }
455
}
456
457
/**
458
 * @method string getNamespaceName()
459
 * @method string getNamespaceId()
460
 */
461
class UpdateNamespace extends Roa
462
{
463
    /** @var string */
464
    public $pathPattern = '/diamond-ops/pop/namespace';
465
466
    /** @var string */
467
    public $method = 'PUT';
468
469
    /**
470
     * @param string $value
471
     *
472
     * @return $this
473
     */
474
    public function withNamespaceName($value)
475
    {
476
        $this->data['NamespaceName'] = $value;
477
        $this->options['form_params']['NamespaceName'] = $value;
478
479
        return $this;
480
    }
481
482
    /**
483
     * @param string $value
484
     *
485
     * @return $this
486
     */
487
    public function withNamespaceId($value)
488
    {
489
        $this->data['NamespaceId'] = $value;
490
        $this->options['form_params']['NamespaceId'] = $value;
491
492
        return $this;
493
    }
494
}
495