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