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 ( f38619...77f9cd )
by Yong
02:07 queued 11s
created

DescribeAuthBrand::withAccountIds()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
c 0
b 0
f 0
rs 10
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\Cloudmarketing\V20180910;
4
5
use AlibabaCloud\Rpc;
6
7
class V20180910Rpc extends Rpc
8
{
9
    /** @var string */
10
    public $product = 'cloudmarketing';
11
12
    /** @var string */
13
    public $version = '2018-09-10';
14
15
    /** @var string */
16
    public $method = 'POST';
17
}
18
19
/**
20
 * @method string getCrowdId()
21
 * @method $this withCrowdId($value)
22
 */
23
class DeleteCrowd extends V20180910Rpc
24
{
25
}
26
27
/**
28
 * @method string getCrowdId()
29
 * @method $this withCrowdId($value)
30
 */
31
class FetchCrowdDefine extends V20180910Rpc
32
{
33
}
34
35
/**
36
 * @method string getFileId()
37
 * @method $this withFileId($value)
38
 */
39
class DeleteFile extends V20180910Rpc
40
{
41
}
42
43
/**
44
 * @method string getRequestJsonData()
45
 * @method $this withRequestJsonData($value)
46
 */
47
class UpdateCrowd extends V20180910Rpc
48
{
49
}
50
51
/**
52
 * @method string getSrcFileName()
53
 * @method $this withSrcFileName($value)
54
 * @method string getOssPath()
55
 * @method $this withOssPath($value)
56
 */
57
class ProcessAfterUploadFile extends V20180910Rpc
58
{
59
}
60
61
/**
62
 * @method string getOuterAccountNo()
63
 * @method $this withOuterAccountNo($value)
64
 * @method array getChannelBrands()
65
 * @method string getChannelType()
66
 * @method $this withChannelType($value)
67
 * @method string getCrowdId()
68
 * @method $this withCrowdId($value)
69
 */
70
class SyncCrowd extends V20180910Rpc
71
{
72
73
    /**
74
     * @param array $value
75
     *
76
     * @return $this
77
     */
78
    public function withChannelBrands(array $value)
79
    {
80
        $this->data['ChannelBrands'] = $value;
81
        foreach ($value as $i => $iValue) {
82
            $this->options['query']['ChannelBrands.' . ($i + 1) . '.OuterBrandId'] = $value[$i]['OuterBrandId'];
83
            $this->options['query']['ChannelBrands.' . ($i + 1) . '.OuterBrandName'] = $value[$i]['OuterBrandName'];
84
        }
85
86
        return $this;
87
    }
88
}
89
90
/**
91
 * @method string getCrowdId()
92
 * @method $this withCrowdId($value)
93
 */
94
class DownloadUDReport extends V20180910Rpc
95
{
96
}
97
98
/**
99
 * @method string getCrowdId()
100
 * @method $this withCrowdId($value)
101
 */
102
class DownloadCrowd extends V20180910Rpc
103
{
104
}
105
106
/**
107
 * @method string getFileId()
108
 * @method $this withFileId($value)
109
 */
110
class FetchFileSchemaData extends V20180910Rpc
111
{
112
}
113
114
/**
115
 * @method string getTagId()
116
 * @method $this withTagId($value)
117
 */
118
class FetchTag extends V20180910Rpc
119
{
120
}
121
122
/**
123
 * @method string getRequestJsonData()
124
 * @method $this withRequestJsonData($value)
125
 */
126
class UpdateCategory extends V20180910Rpc
127
{
128
}
129
130
/**
131
 * @method array getAccountIds()
132
 */
133
class DescribeAuthBrand extends V20180910Rpc
134
{
135
136
    /**
137
     * @param array $value
138
     *
139
     * @return $this
140
     */
141
    public function withAccountIds(array $value)
142
    {
143
        $this->data['AccountIds'] = $value;
144
        foreach ($value as $i => $iValue) {
145
            $this->options['query']['AccountIds.' . ($i + 1)] = $iValue;
146
        }
147
148
        return $this;
149
    }
150
}
151
152
/**
153
 * @method string getTagId()
154
 * @method $this withTagId($value)
155
 * @method array getTagIds()
156
 * @method string getFavorite()
157
 * @method $this withFavorite($value)
158
 */
159
class FavoriteTag extends V20180910Rpc
160
{
161
162
    /**
163
     * @param array $value
164
     *
165
     * @return $this
166
     */
167
    public function withTagIds(array $value)
168
    {
169
        $this->data['TagIds'] = $value;
170
        foreach ($value as $i => $iValue) {
171
            $this->options['query']['TagIds.' . ($i + 1)] = $iValue;
172
        }
173
174
        return $this;
175
    }
176
}
177
178
/**
179
 * @method array getStatusList()
180
 * @method string getPageNo()
181
 * @method $this withPageNo($value)
182
 * @method string getPageSize()
183
 * @method $this withPageSize($value)
184
 * @method string getIncludeChild()
185
 * @method $this withIncludeChild($value)
186
 * @method string getOnlyFavorite()
187
 * @method $this withOnlyFavorite($value)
188
 * @method string getKeyword()
189
 * @method $this withKeyword($value)
190
 * @method string getCategoryId()
191
 * @method $this withCategoryId($value)
192
 */
193
class DescribeTag extends V20180910Rpc
194
{
195
196
    /**
197
     * @param array $value
198
     *
199
     * @return $this
200
     */
201
    public function withStatusList(array $value)
202
    {
203
        $this->data['StatusList'] = $value;
204
        foreach ($value as $i => $iValue) {
205
            $this->options['query']['StatusList.' . ($i + 1)] = $iValue;
206
        }
207
208
        return $this;
209
    }
210
}
211
212
/**
213
 * @method string getAccountId()
214
 * @method $this withAccountId($value)
215
 * @method string getBrandId()
216
 * @method $this withBrandId($value)
217
 * @method array getChannelBrandReqs()
218
 */
219
class Auth2Brand extends V20180910Rpc
220
{
221
222
    /**
223
     * @param array $value
224
     *
225
     * @return $this
226
     */
227
    public function withChannelBrandReqs(array $value)
228
    {
229
        $this->data['ChannelBrandReqs'] = $value;
230
        foreach ($value as $i => $iValue) {
231
            $this->options['query']['ChannelBrandReqs.' . ($i + 1) . '.ChannelType'] = $value[$i]['ChannelType'];
232
            foreach ($value[$i]['OuterBrandIds'] as $j => $jValue) {
233
                $this->options['query']['ChannelBrandReqs.' . ($i + 1) . '.OuterBrandId.' . ($j + 1)] = $jValue;
234
            }
235
        }
236
237
        return $this;
238
    }
239
}
240
241
/**
242
 * @method array getTagIds()
243
 * @method string getCrowdId()
244
 * @method $this withCrowdId($value)
245
 */
246
class AnalysisCrowd extends V20180910Rpc
247
{
248
249
    /**
250
     * @param array $value
251
     *
252
     * @return $this
253
     */
254
    public function withTagIds(array $value)
255
    {
256
        $this->data['TagIds'] = $value;
257
        foreach ($value as $i => $iValue) {
258
            $this->options['query']['TagIds.' . ($i + 1)] = $iValue;
259
        }
260
261
        return $this;
262
    }
263
}
264
265
/**
266
 * @method string getCrowdId()
267
 * @method $this withCrowdId($value)
268
 */
269
class FetchCrowd extends V20180910Rpc
270
{
271
}
272
273
/**
274
 * @method string getSyncStatus()
275
 * @method $this withSyncStatus($value)
276
 * @method string getPageNo()
277
 * @method $this withPageNo($value)
278
 * @method string getCalStatus()
279
 * @method $this withCalStatus($value)
280
 * @method string getPageSize()
281
 * @method $this withPageSize($value)
282
 * @method string getKeyword()
283
 * @method $this withKeyword($value)
284
 */
285
class DescribeCrowd extends V20180910Rpc
286
{
287
}
288
289
/**
290
 * @method string getRequestJsonData()
291
 * @method $this withRequestJsonData($value)
292
 */
293
class CalCrowdScale extends V20180910Rpc
294
{
295
}
296
297
/**
298
 * @method string getRequestJsonData()
299
 * @method $this withRequestJsonData($value)
300
 */
301
class DefineCrowd extends V20180910Rpc
302
{
303
}
304
305
/**
306
 * @method string getCategoryId()
307
 * @method $this withCategoryId($value)
308
 * @method string getRecursive()
309
 * @method $this withRecursive($value)
310
 */
311
class DescribeCategory extends V20180910Rpc
312
{
313
}
314
315
/**
316
 * @method string getFileName()
317
 * @method $this withFileName($value)
318
 * @method array getDataSchemaStatusList()
319
 * @method string getPageNo()
320
 * @method $this withPageNo($value)
321
 * @method string getPageSize()
322
 * @method $this withPageSize($value)
323
 * @method string getFileId()
324
 * @method $this withFileId($value)
325
 */
326
class DescribeFile extends V20180910Rpc
327
{
328
329
    /**
330
     * @param array $value
331
     *
332
     * @return $this
333
     */
334
    public function withDataSchemaStatusList(array $value)
335
    {
336
        $this->data['DataSchemaStatusList'] = $value;
337
        foreach ($value as $i => $iValue) {
338
            $this->options['query']['DataSchemaStatusList.' . ($i + 1)] = $iValue;
339
        }
340
341
        return $this;
342
    }
343
}
344
345
/**
346
 * @method array getFileColumns()
347
 * @method string getFileId()
348
 * @method $this withFileId($value)
349
 */
350
class DefineFileSchema extends V20180910Rpc
351
{
352
353
    /**
354
     * @param array $value
355
     *
356
     * @return $this
357
     */
358
    public function withFileColumns(array $value)
359
    {
360
        $this->data['FileColumns'] = $value;
361
        foreach ($value as $i => $iValue) {
362
            $this->options['query']['FileColumns.' . ($i + 1) . '.Head'] = $value[$i]['Head'];
363
            $this->options['query']['FileColumns.' . ($i + 1) . '.DataType'] = $value[$i]['DataType'];
364
            $this->options['query']['FileColumns.' . ($i + 1) . '.Name'] = $value[$i]['Name'];
365
            $this->options['query']['FileColumns.' . ($i + 1) . '.Index'] = $value[$i]['Index'];
366
            $this->options['query']['FileColumns.' . ($i + 1) . '.ColumnType'] = $value[$i]['ColumnType'];
367
        }
368
369
        return $this;
370
    }
371
}
372
373
class RequestUploadFile extends V20180910Rpc
374
{
375
}
376
377
/**
378
 * @method string getSrcFileName()
379
 * @method $this withSrcFileName($value)
380
 * @method string getOssPath()
381
 * @method $this withOssPath($value)
382
 */
383
class ProcessAfterUpload extends V20180910Rpc
384
{
385
}
386
387
/**
388
 * @method string getFileId()
389
 * @method $this withFileId($value)
390
 */
391
class FetchFileSchema extends V20180910Rpc
392
{
393
}
394
395
class DescribeAuthChannelBrand extends V20180910Rpc
396
{
397
}
398
399
class DescribeChannelBrand extends V20180910Rpc
400
{
401
}
402
403
/**
404
 * @method string getParentCategoryId()
405
 * @method $this withParentCategoryId($value)
406
 * @method string getName()
407
 * @method $this withName($value)
408
 */
409
class CreateCategory extends V20180910Rpc
410
{
411
}
412
413
/**
414
 * @method string getPageNo()
415
 * @method $this withPageNo($value)
416
 * @method string getName()
417
 * @method $this withName($value)
418
 * @method string getPageSize()
419
 * @method $this withPageSize($value)
420
 */
421
class DescribeBrand extends V20180910Rpc
422
{
423
}
424
425
/**
426
 * @method string getName()
427
 * @method $this withName($value)
428
 * @method string getId()
429
 * @method $this withId($value)
430
 * @method string getDesc()
431
 * @method $this withDesc($value)
432
 */
433
class UpdateBrand extends V20180910Rpc
434
{
435
}
436
437
/**
438
 * @method string getName()
439
 * @method $this withName($value)
440
 * @method string getDesc()
441
 * @method $this withDesc($value)
442
 */
443
class CreateBrand extends V20180910Rpc
444
{
445
}
446
447
/**
448
 * @method string getOptionType()
449
 * @method $this withOptionType($value)
450
 * @method string getTagName()
451
 * @method $this withTagName($value)
452
 * @method string getColumnIndex()
453
 * @method $this withColumnIndex($value)
454
 * @method string getTagId()
455
 * @method $this withTagId($value)
456
 * @method string getTagDesc()
457
 * @method $this withTagDesc($value)
458
 * @method string getValidTime()
459
 * @method $this withValidTime($value)
460
 * @method array getOptionDefines()
461
 * @method string getCategoryId()
462
 * @method $this withCategoryId($value)
463
 * @method string getFileId()
464
 * @method $this withFileId($value)
465
 */
466
class RedefineTag extends V20180910Rpc
467
{
468
469
    /**
470
     * @param array $value
471
     *
472
     * @return $this
473
     */
474
    public function withOptionDefines(array $value)
475
    {
476
        $this->data['OptionDefines'] = $value;
477
        foreach ($value as $i => $iValue) {
478
            $this->options['query']['OptionDefines.' . ($i + 1) . '.Name'] = $value[$i]['Name'];
479
            $this->options['query']['OptionDefines.' . ($i + 1) . '.Define'] = $value[$i]['Define'];
480
            $this->options['query']['OptionDefines.' . ($i + 1) . '.Value'] = $value[$i]['Value'];
481
        }
482
483
        return $this;
484
    }
485
}
486
487
/**
488
 * @method string getOptionType()
489
 * @method $this withOptionType($value)
490
 * @method string getTagName()
491
 * @method $this withTagName($value)
492
 * @method string getColumnIndex()
493
 * @method $this withColumnIndex($value)
494
 * @method string getTagDesc()
495
 * @method $this withTagDesc($value)
496
 * @method string getValidTime()
497
 * @method $this withValidTime($value)
498
 * @method array getOptionDefines()
499
 * @method string getCategoryId()
500
 * @method $this withCategoryId($value)
501
 * @method string getFileId()
502
 * @method $this withFileId($value)
503
 */
504
class DefineTag extends V20180910Rpc
505
{
506
507
    /**
508
     * @param array $value
509
     *
510
     * @return $this
511
     */
512
    public function withOptionDefines(array $value)
513
    {
514
        $this->data['OptionDefines'] = $value;
515
        foreach ($value as $i => $iValue) {
516
            $this->options['query']['OptionDefines.' . ($i + 1) . '.Name'] = $value[$i]['Name'];
517
            $this->options['query']['OptionDefines.' . ($i + 1) . '.Define'] = $value[$i]['Define'];
518
            $this->options['query']['OptionDefines.' . ($i + 1) . '.Value'] = $value[$i]['Value'];
519
        }
520
521
        return $this;
522
    }
523
}
524