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 ( 00563d...7a6145 )
by
unknown
05:20
created

MassPush::withPushTask()   D

Complexity

Conditions 43
Paths 1

Size

Total Lines 130
Code Lines 85

Duplication

Lines 0
Ratio 0 %

Importance

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