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 ( 9a449b...26ce34 )
by
unknown
09:18
created

Push::withIOSRemind()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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