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

MassPush::withPushTask()   D

Complexity

Conditions 40
Paths 1

Size

Total Lines 121
Code Lines 79

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 79
dl 0
loc 121
rs 4.1666
c 0
b 0
f 0
cc 40
nc 1
nop 1

How to fix   Long Method    Complexity   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
3
namespace AlibabaCloud\Push\V20160801;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method BindAlias bindAlias(array $options = [])
9
 * @method BindPhone bindPhone(array $options = [])
10
 * @method BindTag bindTag(array $options = [])
11
 * @method CancelPush cancelPush(array $options = [])
12
 * @method CheckDevice checkDevice(array $options = [])
13
 * @method CheckDevices checkDevices(array $options = [])
14
 * @method CompleteContinuouslyPush completeContinuouslyPush(array $options = [])
15
 * @method ContinuouslyPush continuouslyPush(array $options = [])
16
 * @method ListSummaryApps listSummaryApps(array $options = [])
17
 * @method ListTags listTags(array $options = [])
18
 * @method MassPush massPush(array $options = [])
19
 * @method Push push(array $options = [])
20
 * @method PushMessageToAndroid pushMessageToAndroid(array $options = [])
21
 * @method PushMessageToiOS pushMessageToiOS(array $options = [])
22
 * @method PushNoticeToAndroid pushNoticeToAndroid(array $options = [])
23
 * @method PushNoticeToiOS pushNoticeToiOS(array $options = [])
24
 * @method QueryAliases queryAliases(array $options = [])
25
 * @method QueryDeviceInfo queryDeviceInfo(array $options = [])
26
 * @method QueryDevicesByAccount queryDevicesByAccount(array $options = [])
27
 * @method QueryDevicesByAlias queryDevicesByAlias(array $options = [])
28
 * @method QueryDeviceStat queryDeviceStat(array $options = [])
29
 * @method QueryPushRecords queryPushRecords(array $options = [])
30
 * @method QueryPushStatByApp queryPushStatByApp(array $options = [])
31
 * @method QueryPushStatByMsg queryPushStatByMsg(array $options = [])
32
 * @method QueryTags queryTags(array $options = [])
33
 * @method QueryUniqueDeviceStat queryUniqueDeviceStat(array $options = [])
34
 * @method RemoveTag removeTag(array $options = [])
35
 * @method UnbindAlias unbindAlias(array $options = [])
36
 * @method UnbindPhone unbindPhone(array $options = [])
37
 * @method UnbindTag unbindTag(array $options = [])
38
 */
39
class PushApiResolver extends ApiResolver
40
{
41
}
42
43
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
44
{
45
    /** @var string */
46
    public $product = 'Push';
47
48
    /** @var string */
49
    public $version = '2016-08-01';
50
51
    /** @var string */
52
    public $method = 'POST';
53
}
54
55
/**
56
 * @method string getDeviceId()
57
 * @method $this withDeviceId($value)
58
 * @method string getAliasName()
59
 * @method $this withAliasName($value)
60
 * @method string getAppKey()
61
 * @method $this withAppKey($value)
62
 */
63
class BindAlias extends Rpc
64
{
65
}
66
67
/**
68
 * @method string getPhoneNumber()
69
 * @method $this withPhoneNumber($value)
70
 * @method string getDeviceId()
71
 * @method $this withDeviceId($value)
72
 * @method string getAppKey()
73
 * @method $this withAppKey($value)
74
 */
75
class BindPhone extends Rpc
76
{
77
}
78
79
/**
80
 * @method string getKeyType()
81
 * @method $this withKeyType($value)
82
 * @method string getTagName()
83
 * @method $this withTagName($value)
84
 * @method string getClientKey()
85
 * @method $this withClientKey($value)
86
 * @method string getAppKey()
87
 * @method $this withAppKey($value)
88
 */
89
class BindTag extends Rpc
90
{
91
}
92
93
/**
94
 * @method string getMessageId()
95
 * @method $this withMessageId($value)
96
 * @method string getAppKey()
97
 * @method $this withAppKey($value)
98
 */
99
class CancelPush extends Rpc
100
{
101
}
102
103
/**
104
 * @method string getDeviceId()
105
 * @method $this withDeviceId($value)
106
 * @method string getAppKey()
107
 * @method $this withAppKey($value)
108
 */
109
class CheckDevice extends Rpc
110
{
111
}
112
113
/**
114
 * @method string getDeviceIds()
115
 * @method $this withDeviceIds($value)
116
 * @method string getAppKey()
117
 * @method $this withAppKey($value)
118
 */
119
class CheckDevices extends Rpc
120
{
121
}
122
123
/**
124
 * @method string getMessageId()
125
 * @method $this withMessageId($value)
126
 * @method string getAppKey()
127
 * @method $this withAppKey($value)
128
 */
129
class CompleteContinuouslyPush extends Rpc
130
{
131
}
132
133
/**
134
 * @method string getMessageId()
135
 * @method $this withMessageId($value)
136
 * @method string getTarget()
137
 * @method $this withTarget($value)
138
 * @method string getAppKey()
139
 * @method $this withAppKey($value)
140
 * @method string getTargetValue()
141
 * @method $this withTargetValue($value)
142
 */
143
class ContinuouslyPush extends Rpc
144
{
145
}
146
147
class ListSummaryApps extends Rpc
148
{
149
}
150
151
/**
152
 * @method string getAppKey()
153
 * @method $this withAppKey($value)
154
 */
155
class ListTags extends Rpc
156
{
157
}
158
159
/**
160
 * @method array getPushTask()
161
 * @method string getAppKey()
162
 * @method $this withAppKey($value)
163
 */
164
class MassPush extends Rpc
165
{
166
167
    /**
168
     * @param array $pushTask
169
     *
170
     * @return $this
171
     */
172
	public function withPushTask(array $pushTask)
173
	{
174
	    $this->data['PushTask'] = $pushTask;
175
		foreach ($pushTask as $depth1 => $depth1Value) {
176
			if(isset($depth1Value['AndroidNotificationBarType'])){
177
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationBarType'] = $depth1Value['AndroidNotificationBarType'];
178
			}
179
			if(isset($depth1Value['AndroidExtParameters'])){
180
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidExtParameters'] = $depth1Value['AndroidExtParameters'];
181
			}
182
			if(isset($depth1Value['IOSBadge'])){
183
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSBadge'] = $depth1Value['IOSBadge'];
184
			}
185
			if(isset($depth1Value['IOSBadgeAutoIncrement'])){
186
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSBadgeAutoIncrement'] = $depth1Value['IOSBadgeAutoIncrement'];
187
			}
188
			if(isset($depth1Value['AndroidOpenType'])){
189
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidOpenType'] = $depth1Value['AndroidOpenType'];
190
			}
191
			if(isset($depth1Value['Title'])){
192
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.Title'] = $depth1Value['Title'];
193
			}
194
			if(isset($depth1Value['Body'])){
195
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.Body'] = $depth1Value['Body'];
196
			}
197
			if(isset($depth1Value['DeviceType'])){
198
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.DeviceType'] = $depth1Value['DeviceType'];
199
			}
200
			if(isset($depth1Value['PushTime'])){
201
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.PushTime'] = $depth1Value['PushTime'];
202
			}
203
			if(isset($depth1Value['SendSpeed'])){
204
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.SendSpeed'] = $depth1Value['SendSpeed'];
205
			}
206
			if(isset($depth1Value['AndroidPopupActivity'])){
207
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidPopupActivity'] = $depth1Value['AndroidPopupActivity'];
208
			}
209
			if(isset($depth1Value['IOSRemindBody'])){
210
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSRemindBody'] = $depth1Value['IOSRemindBody'];
211
			}
212
			if(isset($depth1Value['IOSExtParameters'])){
213
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSExtParameters'] = $depth1Value['IOSExtParameters'];
214
			}
215
			if(isset($depth1Value['AndroidNotifyType'])){
216
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotifyType'] = $depth1Value['AndroidNotifyType'];
217
			}
218
			if(isset($depth1Value['AndroidPopupTitle'])){
219
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidPopupTitle'] = $depth1Value['AndroidPopupTitle'];
220
			}
221
			if(isset($depth1Value['IOSMusic'])){
222
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSMusic'] = $depth1Value['IOSMusic'];
223
			}
224
			if(isset($depth1Value['IOSApnsEnv'])){
225
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSApnsEnv'] = $depth1Value['IOSApnsEnv'];
226
			}
227
			if(isset($depth1Value['IOSMutableContent'])){
228
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSMutableContent'] = $depth1Value['IOSMutableContent'];
229
			}
230
			if(isset($depth1Value['AndroidNotificationBarPriority'])){
231
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationBarPriority'] = $depth1Value['AndroidNotificationBarPriority'];
232
			}
233
			if(isset($depth1Value['ExpireTime'])){
234
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.ExpireTime'] = $depth1Value['ExpireTime'];
235
			}
236
			if(isset($depth1Value['AndroidPopupBody'])){
237
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidPopupBody'] = $depth1Value['AndroidPopupBody'];
238
			}
239
			if(isset($depth1Value['IOSNotificationCategory'])){
240
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSNotificationCategory'] = $depth1Value['IOSNotificationCategory'];
241
			}
242
			if(isset($depth1Value['StoreOffline'])){
243
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.StoreOffline'] = $depth1Value['StoreOffline'];
244
			}
245
			if(isset($depth1Value['IOSSilentNotification'])){
246
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSSilentNotification'] = $depth1Value['IOSSilentNotification'];
247
			}
248
			if(isset($depth1Value['JobKey'])){
249
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.JobKey'] = $depth1Value['JobKey'];
250
			}
251
			if(isset($depth1Value['Target'])){
252
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.Target'] = $depth1Value['Target'];
253
			}
254
			if(isset($depth1Value['AndroidOpenUrl'])){
255
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidOpenUrl'] = $depth1Value['AndroidOpenUrl'];
256
			}
257
			if(isset($depth1Value['AndroidNotificationChannel'])){
258
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationChannel'] = $depth1Value['AndroidNotificationChannel'];
259
			}
260
			if(isset($depth1Value['AndroidRemind'])){
261
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidRemind'] = $depth1Value['AndroidRemind'];
262
			}
263
			if(isset($depth1Value['AndroidActivity'])){
264
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidActivity'] = $depth1Value['AndroidActivity'];
265
			}
266
			if(isset($depth1Value['AndroidXiaoMiNotifyBody'])){
267
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaoMiNotifyBody'] = $depth1Value['AndroidXiaoMiNotifyBody'];
268
			}
269
			if(isset($depth1Value['IOSSubtitle'])){
270
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSSubtitle'] = $depth1Value['IOSSubtitle'];
271
			}
272
			if(isset($depth1Value['IOSRemind'])){
273
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSRemind'] = $depth1Value['IOSRemind'];
274
			}
275
			if(isset($depth1Value['TargetValue'])){
276
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.TargetValue'] = $depth1Value['TargetValue'];
277
			}
278
			if(isset($depth1Value['AndroidMusic'])){
279
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidMusic'] = $depth1Value['AndroidMusic'];
280
			}
281
			if(isset($depth1Value['AndroidXiaoMiActivity'])){
282
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaoMiActivity'] = $depth1Value['AndroidXiaoMiActivity'];
283
			}
284
			if(isset($depth1Value['AndroidXiaoMiNotifyTitle'])){
285
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaoMiNotifyTitle'] = $depth1Value['AndroidXiaoMiNotifyTitle'];
286
			}
287
			if(isset($depth1Value['PushType'])){
288
				$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.PushType'] = $depth1Value['PushType'];
289
			}
290
		}
291
292
		return $this;
293
    }
294
}
295
296
/**
297
 * @method string getAndroidNotificationBarType()
298
 * @method $this withAndroidNotificationBarType($value)
299
 * @method string getSmsSendPolicy()
300
 * @method $this withSmsSendPolicy($value)
301
 * @method string getBody()
302
 * @method $this withBody($value)
303
 * @method string getDeviceType()
304
 * @method $this withDeviceType($value)
305
 * @method string getPushTime()
306
 * @method $this withPushTime($value)
307
 * @method string getSendSpeed()
308
 * @method $this withSendSpeed($value)
309
 * @method string getAndroidPopupActivity()
310
 * @method $this withAndroidPopupActivity($value)
311
 * @method string getIOSRemindBody()
312
 * @method string getAndroidNotifyType()
313
 * @method $this withAndroidNotifyType($value)
314
 * @method string getAndroidPopupTitle()
315
 * @method $this withAndroidPopupTitle($value)
316
 * @method string getIOSMusic()
317
 * @method string getIOSApnsEnv()
318
 * @method string getIOSMutableContent()
319
 * @method string getAndroidNotificationBarPriority()
320
 * @method $this withAndroidNotificationBarPriority($value)
321
 * @method string getExpireTime()
322
 * @method $this withExpireTime($value)
323
 * @method string getIOSNotificationCategory()
324
 * @method string getStoreOffline()
325
 * @method $this withStoreOffline($value)
326
 * @method string getSmsParams()
327
 * @method $this withSmsParams($value)
328
 * @method string getJobKey()
329
 * @method $this withJobKey($value)
330
 * @method string getAndroidOpenUrl()
331
 * @method $this withAndroidOpenUrl($value)
332
 * @method string getAndroidXiaoMiNotifyBody()
333
 * @method $this withAndroidXiaoMiNotifyBody($value)
334
 * @method string getIOSSubtitle()
335
 * @method string getIOSRemind()
336
 * @method string getAndroidMusic()
337
 * @method $this withAndroidMusic($value)
338
 * @method string getPushType()
339
 * @method $this withPushType($value)
340
 * @method string getAndroidExtParameters()
341
 * @method $this withAndroidExtParameters($value)
342
 * @method string getIOSBadge()
343
 * @method string getIOSBadgeAutoIncrement()
344
 * @method string getAndroidOpenType()
345
 * @method $this withAndroidOpenType($value)
346
 * @method string getTitle()
347
 * @method $this withTitle($value)
348
 * @method string getSmsDelaySecs()
349
 * @method $this withSmsDelaySecs($value)
350
 * @method string getIOSExtParameters()
351
 * @method string getSmsTemplateName()
352
 * @method $this withSmsTemplateName($value)
353
 * @method string getAndroidPopupBody()
354
 * @method $this withAndroidPopupBody($value)
355
 * @method string getIOSSilentNotification()
356
 * @method string getTarget()
357
 * @method $this withTarget($value)
358
 * @method string getAndroidNotificationChannel()
359
 * @method $this withAndroidNotificationChannel($value)
360
 * @method string getAndroidRemind()
361
 * @method $this withAndroidRemind($value)
362
 * @method string getAndroidActivity()
363
 * @method $this withAndroidActivity($value)
364
 * @method string getSmsSignName()
365
 * @method $this withSmsSignName($value)
366
 * @method string getAppKey()
367
 * @method $this withAppKey($value)
368
 * @method string getTargetValue()
369
 * @method $this withTargetValue($value)
370
 * @method string getAndroidXiaoMiActivity()
371
 * @method $this withAndroidXiaoMiActivity($value)
372
 * @method string getAndroidXiaoMiNotifyTitle()
373
 * @method $this withAndroidXiaoMiNotifyTitle($value)
374
 */
375
class Push extends Rpc
376
{
377
378
    /**
379
     * @param string $value
380
     *
381
     * @return $this
382
     */
383
    public function withIOSRemindBody($value)
384
    {
385
        $this->data['IOSRemindBody'] = $value;
386
        $this->options['query']['iOSRemindBody'] = $value;
387
388
        return $this;
389
    }
390
391
    /**
392
     * @param string $value
393
     *
394
     * @return $this
395
     */
396
    public function withIOSMusic($value)
397
    {
398
        $this->data['IOSMusic'] = $value;
399
        $this->options['query']['iOSMusic'] = $value;
400
401
        return $this;
402
    }
403
404
    /**
405
     * @param string $value
406
     *
407
     * @return $this
408
     */
409
    public function withIOSApnsEnv($value)
410
    {
411
        $this->data['IOSApnsEnv'] = $value;
412
        $this->options['query']['iOSApnsEnv'] = $value;
413
414
        return $this;
415
    }
416
417
    /**
418
     * @param string $value
419
     *
420
     * @return $this
421
     */
422
    public function withIOSMutableContent($value)
423
    {
424
        $this->data['IOSMutableContent'] = $value;
425
        $this->options['query']['iOSMutableContent'] = $value;
426
427
        return $this;
428
    }
429
430
    /**
431
     * @param string $value
432
     *
433
     * @return $this
434
     */
435
    public function withIOSNotificationCategory($value)
436
    {
437
        $this->data['IOSNotificationCategory'] = $value;
438
        $this->options['query']['iOSNotificationCategory'] = $value;
439
440
        return $this;
441
    }
442
443
    /**
444
     * @param string $value
445
     *
446
     * @return $this
447
     */
448
    public function withIOSSubtitle($value)
449
    {
450
        $this->data['IOSSubtitle'] = $value;
451
        $this->options['query']['iOSSubtitle'] = $value;
452
453
        return $this;
454
    }
455
456
    /**
457
     * @param string $value
458
     *
459
     * @return $this
460
     */
461
    public function withIOSRemind($value)
462
    {
463
        $this->data['IOSRemind'] = $value;
464
        $this->options['query']['iOSRemind'] = $value;
465
466
        return $this;
467
    }
468
469
    /**
470
     * @param string $value
471
     *
472
     * @return $this
473
     */
474
    public function withIOSBadge($value)
475
    {
476
        $this->data['IOSBadge'] = $value;
477
        $this->options['query']['iOSBadge'] = $value;
478
479
        return $this;
480
    }
481
482
    /**
483
     * @param string $value
484
     *
485
     * @return $this
486
     */
487
    public function withIOSBadgeAutoIncrement($value)
488
    {
489
        $this->data['IOSBadgeAutoIncrement'] = $value;
490
        $this->options['query']['iOSBadgeAutoIncrement'] = $value;
491
492
        return $this;
493
    }
494
495
    /**
496
     * @param string $value
497
     *
498
     * @return $this
499
     */
500
    public function withIOSExtParameters($value)
501
    {
502
        $this->data['IOSExtParameters'] = $value;
503
        $this->options['query']['iOSExtParameters'] = $value;
504
505
        return $this;
506
    }
507
508
    /**
509
     * @param string $value
510
     *
511
     * @return $this
512
     */
513
    public function withIOSSilentNotification($value)
514
    {
515
        $this->data['IOSSilentNotification'] = $value;
516
        $this->options['query']['iOSSilentNotification'] = $value;
517
518
        return $this;
519
    }
520
}
521
522
/**
523
 * @method string getTitle()
524
 * @method $this withTitle($value)
525
 * @method string getBody()
526
 * @method $this withBody($value)
527
 * @method string getJobKey()
528
 * @method $this withJobKey($value)
529
 * @method string getTarget()
530
 * @method $this withTarget($value)
531
 * @method string getAppKey()
532
 * @method $this withAppKey($value)
533
 * @method string getTargetValue()
534
 * @method $this withTargetValue($value)
535
 */
536
class PushMessageToAndroid extends Rpc
537
{
538
}
539
540
/**
541
 * @method string getTitle()
542
 * @method $this withTitle($value)
543
 * @method string getBody()
544
 * @method $this withBody($value)
545
 * @method string getJobKey()
546
 * @method $this withJobKey($value)
547
 * @method string getTarget()
548
 * @method $this withTarget($value)
549
 * @method string getAppKey()
550
 * @method $this withAppKey($value)
551
 * @method string getTargetValue()
552
 * @method $this withTargetValue($value)
553
 */
554
class PushMessageToiOS extends Rpc
555
{
556
}
557
558
/**
559
 * @method string getExtParameters()
560
 * @method $this withExtParameters($value)
561
 * @method string getTitle()
562
 * @method $this withTitle($value)
563
 * @method string getBody()
564
 * @method $this withBody($value)
565
 * @method string getJobKey()
566
 * @method $this withJobKey($value)
567
 * @method string getTarget()
568
 * @method $this withTarget($value)
569
 * @method string getAppKey()
570
 * @method $this withAppKey($value)
571
 * @method string getTargetValue()
572
 * @method $this withTargetValue($value)
573
 */
574
class PushNoticeToAndroid extends Rpc
575
{
576
}
577
578
/**
579
 * @method string getExtParameters()
580
 * @method $this withExtParameters($value)
581
 * @method string getApnsEnv()
582
 * @method $this withApnsEnv($value)
583
 * @method string getTitle()
584
 * @method $this withTitle($value)
585
 * @method string getBody()
586
 * @method $this withBody($value)
587
 * @method string getJobKey()
588
 * @method $this withJobKey($value)
589
 * @method string getTarget()
590
 * @method $this withTarget($value)
591
 * @method string getAppKey()
592
 * @method $this withAppKey($value)
593
 * @method string getTargetValue()
594
 * @method $this withTargetValue($value)
595
 */
596
class PushNoticeToiOS extends Rpc
597
{
598
}
599
600
/**
601
 * @method string getDeviceId()
602
 * @method $this withDeviceId($value)
603
 * @method string getAppKey()
604
 * @method $this withAppKey($value)
605
 */
606
class QueryAliases extends Rpc
607
{
608
}
609
610
/**
611
 * @method string getDeviceId()
612
 * @method $this withDeviceId($value)
613
 * @method string getAppKey()
614
 * @method $this withAppKey($value)
615
 */
616
class QueryDeviceInfo extends Rpc
617
{
618
}
619
620
/**
621
 * @method string getAppKey()
622
 * @method $this withAppKey($value)
623
 * @method string getAccount()
624
 * @method $this withAccount($value)
625
 */
626
class QueryDevicesByAccount extends Rpc
627
{
628
}
629
630
/**
631
 * @method string getAlias()
632
 * @method $this withAlias($value)
633
 * @method string getAppKey()
634
 * @method $this withAppKey($value)
635
 */
636
class QueryDevicesByAlias extends Rpc
637
{
638
}
639
640
/**
641
 * @method string getEndTime()
642
 * @method $this withEndTime($value)
643
 * @method string getStartTime()
644
 * @method $this withStartTime($value)
645
 * @method string getDeviceType()
646
 * @method $this withDeviceType($value)
647
 * @method string getAppKey()
648
 * @method $this withAppKey($value)
649
 * @method string getQueryType()
650
 * @method $this withQueryType($value)
651
 */
652
class QueryDeviceStat extends Rpc
653
{
654
}
655
656
/**
657
 * @method string getStartTime()
658
 * @method $this withStartTime($value)
659
 * @method string getSource()
660
 * @method $this withSource($value)
661
 * @method string getNextToken()
662
 * @method $this withNextToken($value)
663
 * @method string getPageSize()
664
 * @method $this withPageSize($value)
665
 * @method string getKeyword()
666
 * @method $this withKeyword($value)
667
 * @method string getEndTime()
668
 * @method $this withEndTime($value)
669
 * @method string getTarget()
670
 * @method $this withTarget($value)
671
 * @method string getAppKey()
672
 * @method $this withAppKey($value)
673
 * @method string getPushType()
674
 * @method $this withPushType($value)
675
 */
676
class QueryPushRecords extends Rpc
677
{
678
}
679
680
/**
681
 * @method string getEndTime()
682
 * @method $this withEndTime($value)
683
 * @method string getStartTime()
684
 * @method $this withStartTime($value)
685
 * @method string getGranularity()
686
 * @method $this withGranularity($value)
687
 * @method string getAppKey()
688
 * @method $this withAppKey($value)
689
 */
690
class QueryPushStatByApp extends Rpc
691
{
692
}
693
694
/**
695
 * @method string getMessageId()
696
 * @method $this withMessageId($value)
697
 * @method string getAppKey()
698
 * @method $this withAppKey($value)
699
 */
700
class QueryPushStatByMsg extends Rpc
701
{
702
}
703
704
/**
705
 * @method string getKeyType()
706
 * @method $this withKeyType($value)
707
 * @method string getClientKey()
708
 * @method $this withClientKey($value)
709
 * @method string getAppKey()
710
 * @method $this withAppKey($value)
711
 */
712
class QueryTags extends Rpc
713
{
714
}
715
716
/**
717
 * @method string getEndTime()
718
 * @method $this withEndTime($value)
719
 * @method string getStartTime()
720
 * @method $this withStartTime($value)
721
 * @method string getGranularity()
722
 * @method $this withGranularity($value)
723
 * @method string getAppKey()
724
 * @method $this withAppKey($value)
725
 */
726
class QueryUniqueDeviceStat extends Rpc
727
{
728
}
729
730
/**
731
 * @method string getTagName()
732
 * @method $this withTagName($value)
733
 * @method string getAppKey()
734
 * @method $this withAppKey($value)
735
 */
736
class RemoveTag extends Rpc
737
{
738
}
739
740
/**
741
 * @method string getDeviceId()
742
 * @method $this withDeviceId($value)
743
 * @method string getAliasName()
744
 * @method $this withAliasName($value)
745
 * @method string getAppKey()
746
 * @method $this withAppKey($value)
747
 * @method string getUnbindAll()
748
 * @method $this withUnbindAll($value)
749
 */
750
class UnbindAlias extends Rpc
751
{
752
}
753
754
/**
755
 * @method string getDeviceId()
756
 * @method $this withDeviceId($value)
757
 * @method string getAppKey()
758
 * @method $this withAppKey($value)
759
 */
760
class UnbindPhone extends Rpc
761
{
762
}
763
764
/**
765
 * @method string getKeyType()
766
 * @method $this withKeyType($value)
767
 * @method string getTagName()
768
 * @method $this withTagName($value)
769
 * @method string getClientKey()
770
 * @method $this withClientKey($value)
771
 * @method string getAppKey()
772
 * @method $this withAppKey($value)
773
 */
774
class UnbindTag extends Rpc
775
{
776
}
777