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 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 getAppKey() |
106
|
|
|
* @method $this withAppKey($value) |
107
|
|
|
*/ |
108
|
|
|
class CheckCertificate extends Rpc |
109
|
|
|
{ |
110
|
|
|
} |
111
|
|
|
|
112
|
|
|
/** |
113
|
|
|
* @method string getDeviceId() |
114
|
|
|
* @method $this withDeviceId($value) |
115
|
|
|
* @method string getAppKey() |
116
|
|
|
* @method $this withAppKey($value) |
117
|
|
|
*/ |
118
|
|
|
class CheckDevice extends Rpc |
119
|
|
|
{ |
120
|
|
|
} |
121
|
|
|
|
122
|
|
|
/** |
123
|
|
|
* @method string getDeviceIds() |
124
|
|
|
* @method $this withDeviceIds($value) |
125
|
|
|
* @method string getAppKey() |
126
|
|
|
* @method $this withAppKey($value) |
127
|
|
|
*/ |
128
|
|
|
class CheckDevices extends Rpc |
129
|
|
|
{ |
130
|
|
|
} |
131
|
|
|
|
132
|
|
|
/** |
133
|
|
|
* @method string getMessageId() |
134
|
|
|
* @method $this withMessageId($value) |
135
|
|
|
* @method string getAppKey() |
136
|
|
|
* @method $this withAppKey($value) |
137
|
|
|
*/ |
138
|
|
|
class CompleteContinuouslyPush extends Rpc |
139
|
|
|
{ |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
/** |
143
|
|
|
* @method string getMessageId() |
144
|
|
|
* @method $this withMessageId($value) |
145
|
|
|
* @method string getTarget() |
146
|
|
|
* @method $this withTarget($value) |
147
|
|
|
* @method string getAppKey() |
148
|
|
|
* @method $this withAppKey($value) |
149
|
|
|
* @method string getTargetValue() |
150
|
|
|
* @method $this withTargetValue($value) |
151
|
|
|
*/ |
152
|
|
|
class ContinuouslyPush extends Rpc |
153
|
|
|
{ |
154
|
|
|
} |
155
|
|
|
|
156
|
|
|
class ListSummaryApps extends Rpc |
157
|
|
|
{ |
158
|
|
|
} |
159
|
|
|
|
160
|
|
|
/** |
161
|
|
|
* @method string getAppKey() |
162
|
|
|
* @method $this withAppKey($value) |
163
|
|
|
*/ |
164
|
|
|
class ListTags extends Rpc |
165
|
|
|
{ |
166
|
|
|
} |
167
|
|
|
|
168
|
|
|
/** |
169
|
|
|
* @method array getPushTask() |
170
|
|
|
* @method string getAppKey() |
171
|
|
|
* @method $this withAppKey($value) |
172
|
|
|
*/ |
173
|
|
|
class MassPush extends Rpc |
174
|
|
|
{ |
175
|
|
|
|
176
|
|
|
/** |
177
|
|
|
* @param array $pushTask |
178
|
|
|
* |
179
|
|
|
* @return $this |
180
|
|
|
*/ |
181
|
|
|
public function withPushTask(array $pushTask) |
182
|
|
|
{ |
183
|
|
|
$this->data['PushTask'] = $pushTask; |
184
|
|
|
foreach ($pushTask as $depth1 => $depth1Value) { |
185
|
|
|
if(isset($depth1Value['AndroidNotificationBarType'])){ |
186
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationBarType'] = $depth1Value['AndroidNotificationBarType']; |
187
|
|
|
} |
188
|
|
|
if(isset($depth1Value['AndroidMessageOppoNotifyLevel'])){ |
189
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidMessageOppoNotifyLevel'] = $depth1Value['AndroidMessageOppoNotifyLevel']; |
190
|
|
|
} |
191
|
|
|
if(isset($depth1Value['Body'])){ |
192
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.Body'] = $depth1Value['Body']; |
193
|
|
|
} |
194
|
|
|
if(isset($depth1Value['DeviceType'])){ |
195
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.DeviceType'] = $depth1Value['DeviceType']; |
196
|
|
|
} |
197
|
|
|
if(isset($depth1Value['PushTime'])){ |
198
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.PushTime'] = $depth1Value['PushTime']; |
199
|
|
|
} |
200
|
|
|
if(isset($depth1Value['SendSpeed'])){ |
201
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.SendSpeed'] = $depth1Value['SendSpeed']; |
202
|
|
|
} |
203
|
|
|
if(isset($depth1Value['AndroidNotificationHuaweiChannel'])){ |
204
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationHuaweiChannel'] = $depth1Value['AndroidNotificationHuaweiChannel']; |
205
|
|
|
} |
206
|
|
|
if(isset($depth1Value['AndroidPopupActivity'])){ |
207
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidPopupActivity'] = $depth1Value['AndroidPopupActivity']; |
208
|
|
|
} |
209
|
|
|
if(isset($depth1Value['HarmonyNotifyId'])){ |
210
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyNotifyId'] = $depth1Value['HarmonyNotifyId']; |
211
|
|
|
} |
212
|
|
|
if(isset($depth1Value['HarmonyRenderStyle'])){ |
213
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyRenderStyle'] = $depth1Value['HarmonyRenderStyle']; |
214
|
|
|
} |
215
|
|
|
if(isset($depth1Value['IOSRemindBody'])){ |
216
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSRemindBody'] = $depth1Value['IOSRemindBody']; |
217
|
|
|
} |
218
|
|
|
if(isset($depth1Value['Trim'])){ |
219
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.Trim'] = $depth1Value['Trim']; |
220
|
|
|
} |
221
|
|
|
if(isset($depth1Value['AndroidMessageVivoCategory'])){ |
222
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidMessageVivoCategory'] = $depth1Value['AndroidMessageVivoCategory']; |
223
|
|
|
} |
224
|
|
|
if(isset($depth1Value['AndroidNotifyType'])){ |
225
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotifyType'] = $depth1Value['AndroidNotifyType']; |
226
|
|
|
} |
227
|
|
|
if(isset($depth1Value['AndroidPopupTitle'])){ |
228
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidPopupTitle'] = $depth1Value['AndroidPopupTitle']; |
229
|
|
|
} |
230
|
|
|
if(isset($depth1Value['AndroidMessageHuaweiCategory'])){ |
231
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidMessageHuaweiCategory'] = $depth1Value['AndroidMessageHuaweiCategory']; |
232
|
|
|
} |
233
|
|
|
if(isset($depth1Value['IOSMusic'])){ |
234
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSMusic'] = $depth1Value['IOSMusic']; |
235
|
|
|
} |
236
|
|
|
if(isset($depth1Value['IOSApnsEnv'])){ |
237
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSApnsEnv'] = $depth1Value['IOSApnsEnv']; |
238
|
|
|
} |
239
|
|
|
if(isset($depth1Value['IOSMutableContent'])){ |
240
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSMutableContent'] = $depth1Value['IOSMutableContent']; |
241
|
|
|
} |
242
|
|
|
if(isset($depth1Value['AndroidNotificationBarPriority'])){ |
243
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationBarPriority'] = $depth1Value['AndroidNotificationBarPriority']; |
244
|
|
|
} |
245
|
|
|
if(isset($depth1Value['ExpireTime'])){ |
246
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.ExpireTime'] = $depth1Value['ExpireTime']; |
247
|
|
|
} |
248
|
|
|
if(isset($depth1Value['AndroidImageUrl'])){ |
249
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidImageUrl'] = $depth1Value['AndroidImageUrl']; |
250
|
|
|
} |
251
|
|
|
if(isset($depth1Value['AndroidNotificationThreadId'])){ |
252
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationThreadId'] = $depth1Value['AndroidNotificationThreadId']; |
253
|
|
|
} |
254
|
|
|
if(isset($depth1Value['AndroidHonorTargetUserType'])){ |
255
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidHonorTargetUserType'] = $depth1Value['AndroidHonorTargetUserType']; |
256
|
|
|
} |
257
|
|
|
if(isset($depth1Value['HarmonyRemindBody'])){ |
258
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyRemindBody'] = $depth1Value['HarmonyRemindBody']; |
259
|
|
|
} |
260
|
|
|
if(isset($depth1Value['AndroidNotificationVivoChannel'])){ |
261
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationVivoChannel'] = $depth1Value['AndroidNotificationVivoChannel']; |
262
|
|
|
} |
263
|
|
|
if(isset($depth1Value['AndroidVivoReceiptId'])){ |
264
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidVivoReceiptId'] = $depth1Value['AndroidVivoReceiptId']; |
265
|
|
|
} |
266
|
|
|
if(isset($depth1Value['IOSNotificationCategory'])){ |
267
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSNotificationCategory'] = $depth1Value['IOSNotificationCategory']; |
268
|
|
|
} |
269
|
|
|
if(isset($depth1Value['AndroidNotificationXiaomiChannel'])){ |
270
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationXiaomiChannel'] = $depth1Value['AndroidNotificationXiaomiChannel']; |
271
|
|
|
} |
272
|
|
|
if(isset($depth1Value['HarmonyAction'])){ |
273
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyAction'] = $depth1Value['HarmonyAction']; |
274
|
|
|
} |
275
|
|
|
if(isset($depth1Value['StoreOffline'])){ |
276
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.StoreOffline'] = $depth1Value['StoreOffline']; |
277
|
|
|
} |
278
|
|
|
if(isset($depth1Value['IOSRelevanceScore'])){ |
279
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSRelevanceScore'] = $depth1Value['IOSRelevanceScore']; |
280
|
|
|
} |
281
|
|
|
if(isset($depth1Value['AndroidVivoPushMode'])){ |
282
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidVivoPushMode'] = $depth1Value['AndroidVivoPushMode']; |
283
|
|
|
} |
284
|
|
|
if(isset($depth1Value['AndroidInboxBody'])){ |
285
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidInboxBody'] = $depth1Value['AndroidInboxBody']; |
286
|
|
|
} |
287
|
|
|
if(isset($depth1Value['JobKey'])){ |
288
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.JobKey'] = $depth1Value['JobKey']; |
289
|
|
|
} |
290
|
|
|
if(isset($depth1Value['HarmonyReceiptId'])){ |
291
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyReceiptId'] = $depth1Value['HarmonyReceiptId']; |
292
|
|
|
} |
293
|
|
|
if(isset($depth1Value['AndroidOpenUrl'])){ |
294
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidOpenUrl'] = $depth1Value['AndroidOpenUrl']; |
295
|
|
|
} |
296
|
|
|
if(isset($depth1Value['AndroidBadgeSetNum'])){ |
297
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidBadgeSetNum'] = $depth1Value['AndroidBadgeSetNum']; |
298
|
|
|
} |
299
|
|
|
if(isset($depth1Value['AndroidXiaoMiNotifyBody'])){ |
300
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaoMiNotifyBody'] = $depth1Value['AndroidXiaoMiNotifyBody']; |
301
|
|
|
} |
302
|
|
|
if(isset($depth1Value['IOSSubtitle'])){ |
303
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSSubtitle'] = $depth1Value['IOSSubtitle']; |
304
|
|
|
} |
305
|
|
|
if(isset($depth1Value['AndroidXiaomiBigPictureUrl'])){ |
306
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaomiBigPictureUrl'] = $depth1Value['AndroidXiaomiBigPictureUrl']; |
307
|
|
|
} |
308
|
|
|
if(isset($depth1Value['HarmonyCategory'])){ |
309
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyCategory'] = $depth1Value['HarmonyCategory']; |
310
|
|
|
} |
311
|
|
|
if(isset($depth1Value['IOSRemind'])){ |
312
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSRemind'] = $depth1Value['IOSRemind']; |
313
|
|
|
} |
314
|
|
|
if(isset($depth1Value['IOSNotificationThreadId'])){ |
315
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSNotificationThreadId'] = $depth1Value['IOSNotificationThreadId']; |
316
|
|
|
} |
317
|
|
|
if(isset($depth1Value['AndroidHuaweiTargetUserType'])){ |
318
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidHuaweiTargetUserType'] = $depth1Value['AndroidHuaweiTargetUserType']; |
319
|
|
|
} |
320
|
|
|
if(isset($depth1Value['HarmonyRemind'])){ |
321
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyRemind'] = $depth1Value['HarmonyRemind']; |
322
|
|
|
} |
323
|
|
|
if(isset($depth1Value['AndroidMusic'])){ |
324
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidMusic'] = $depth1Value['AndroidMusic']; |
325
|
|
|
} |
326
|
|
|
if(isset($depth1Value['HarmonyExtensionPush'])){ |
327
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyExtensionPush'] = $depth1Value['HarmonyExtensionPush']; |
328
|
|
|
} |
329
|
|
|
if(isset($depth1Value['IOSNotificationCollapseId'])){ |
330
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSNotificationCollapseId'] = $depth1Value['IOSNotificationCollapseId']; |
331
|
|
|
} |
332
|
|
|
if(isset($depth1Value['AndroidMessageHuaweiUrgency'])){ |
333
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidMessageHuaweiUrgency'] = $depth1Value['AndroidMessageHuaweiUrgency']; |
334
|
|
|
} |
335
|
|
|
if(isset($depth1Value['PushType'])){ |
336
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.PushType'] = $depth1Value['PushType']; |
337
|
|
|
} |
338
|
|
|
if(isset($depth1Value['IOSInterruptionLevel'])){ |
339
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSInterruptionLevel'] = $depth1Value['IOSInterruptionLevel']; |
340
|
|
|
} |
341
|
|
|
if(isset($depth1Value['HarmonyExtensionExtraData'])){ |
342
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyExtensionExtraData'] = $depth1Value['HarmonyExtensionExtraData']; |
343
|
|
|
} |
344
|
|
|
if(isset($depth1Value['AndroidExtParameters'])){ |
345
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidExtParameters'] = $depth1Value['AndroidExtParameters']; |
346
|
|
|
} |
347
|
|
|
if(isset($depth1Value['HarmonyImageUrl'])){ |
348
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyImageUrl'] = $depth1Value['HarmonyImageUrl']; |
349
|
|
|
} |
350
|
|
|
if(isset($depth1Value['IOSBadge'])){ |
351
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSBadge'] = $depth1Value['IOSBadge']; |
352
|
|
|
} |
353
|
|
|
if(isset($depth1Value['AndroidBigBody'])){ |
354
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidBigBody'] = $depth1Value['AndroidBigBody']; |
355
|
|
|
} |
356
|
|
|
if(isset($depth1Value['IOSBadgeAutoIncrement'])){ |
357
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSBadgeAutoIncrement'] = $depth1Value['IOSBadgeAutoIncrement']; |
358
|
|
|
} |
359
|
|
|
if(isset($depth1Value['AndroidOpenType'])){ |
360
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidOpenType'] = $depth1Value['AndroidOpenType']; |
361
|
|
|
} |
362
|
|
|
if(isset($depth1Value['HarmonyRemindTitle'])){ |
363
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyRemindTitle'] = $depth1Value['HarmonyRemindTitle']; |
364
|
|
|
} |
365
|
|
|
if(isset($depth1Value['Title'])){ |
366
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.Title'] = $depth1Value['Title']; |
367
|
|
|
} |
368
|
|
|
if(isset($depth1Value['AndroidBadgeClass'])){ |
369
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidBadgeClass'] = $depth1Value['AndroidBadgeClass']; |
370
|
|
|
} |
371
|
|
|
if(isset($depth1Value['HarmonyBadgeAddNum'])){ |
372
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyBadgeAddNum'] = $depth1Value['HarmonyBadgeAddNum']; |
373
|
|
|
} |
374
|
|
|
if(isset($depth1Value['HarmonyTestMessage'])){ |
375
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyTestMessage'] = $depth1Value['HarmonyTestMessage']; |
376
|
|
|
} |
377
|
|
|
if(isset($depth1Value['AndroidRenderStyle'])){ |
378
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidRenderStyle'] = $depth1Value['AndroidRenderStyle']; |
379
|
|
|
} |
380
|
|
|
if(isset($depth1Value['IOSExtParameters'])){ |
381
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSExtParameters'] = $depth1Value['IOSExtParameters']; |
382
|
|
|
} |
383
|
|
|
if(isset($depth1Value['AndroidBadgeAddNum'])){ |
384
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidBadgeAddNum'] = $depth1Value['AndroidBadgeAddNum']; |
385
|
|
|
} |
386
|
|
|
if(isset($depth1Value['AndroidHuaweiReceiptId'])){ |
387
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidHuaweiReceiptId'] = $depth1Value['AndroidHuaweiReceiptId']; |
388
|
|
|
} |
389
|
|
|
if(isset($depth1Value['AndroidNotificationHonorChannel'])){ |
390
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationHonorChannel'] = $depth1Value['AndroidNotificationHonorChannel']; |
391
|
|
|
} |
392
|
|
|
if(isset($depth1Value['AndroidXiaomiImageUrl'])){ |
393
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaomiImageUrl'] = $depth1Value['AndroidXiaomiImageUrl']; |
394
|
|
|
} |
395
|
|
|
if(isset($depth1Value['AndroidTargetUserType'])){ |
396
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidTargetUserType'] = $depth1Value['AndroidTargetUserType']; |
397
|
|
|
} |
398
|
|
|
if(isset($depth1Value['HarmonyUri'])){ |
399
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyUri'] = $depth1Value['HarmonyUri']; |
400
|
|
|
} |
401
|
|
|
if(isset($depth1Value['AndroidPopupBody'])){ |
402
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidPopupBody'] = $depth1Value['AndroidPopupBody']; |
403
|
|
|
} |
404
|
|
|
if(isset($depth1Value['HarmonyExtParameters'])){ |
405
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyExtParameters'] = $depth1Value['HarmonyExtParameters']; |
406
|
|
|
} |
407
|
|
|
if(isset($depth1Value['AndroidBigPictureUrl'])){ |
408
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidBigPictureUrl'] = $depth1Value['AndroidBigPictureUrl']; |
409
|
|
|
} |
410
|
|
|
if(isset($depth1Value['IOSSilentNotification'])){ |
411
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.iOSSilentNotification'] = $depth1Value['IOSSilentNotification']; |
412
|
|
|
} |
413
|
|
|
if(isset($depth1Value['AndroidNotificationGroup'])){ |
414
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationGroup'] = $depth1Value['AndroidNotificationGroup']; |
415
|
|
|
} |
416
|
|
|
if(isset($depth1Value['SendChannels'])){ |
417
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.SendChannels'] = $depth1Value['SendChannels']; |
418
|
|
|
} |
419
|
|
|
if(isset($depth1Value['HarmonyActionType'])){ |
420
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyActionType'] = $depth1Value['HarmonyActionType']; |
421
|
|
|
} |
422
|
|
|
if(isset($depth1Value['Target'])){ |
423
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.Target'] = $depth1Value['Target']; |
424
|
|
|
} |
425
|
|
|
if(isset($depth1Value['HarmonyNotificationSlotType'])){ |
426
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyNotificationSlotType'] = $depth1Value['HarmonyNotificationSlotType']; |
427
|
|
|
} |
428
|
|
|
if(isset($depth1Value['AndroidBigTitle'])){ |
429
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidBigTitle'] = $depth1Value['AndroidBigTitle']; |
430
|
|
|
} |
431
|
|
|
if(isset($depth1Value['AndroidNotificationChannel'])){ |
432
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationChannel'] = $depth1Value['AndroidNotificationChannel']; |
433
|
|
|
} |
434
|
|
|
if(isset($depth1Value['AndroidRemind'])){ |
435
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidRemind'] = $depth1Value['AndroidRemind']; |
436
|
|
|
} |
437
|
|
|
if(isset($depth1Value['HarmonyInboxContent'])){ |
438
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyInboxContent'] = $depth1Value['HarmonyInboxContent']; |
439
|
|
|
} |
440
|
|
|
if(isset($depth1Value['AndroidActivity'])){ |
441
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidActivity'] = $depth1Value['AndroidActivity']; |
442
|
|
|
} |
443
|
|
|
if(isset($depth1Value['AndroidMessageOppoCategory'])){ |
444
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidMessageOppoCategory'] = $depth1Value['AndroidMessageOppoCategory']; |
445
|
|
|
} |
446
|
|
|
if(isset($depth1Value['AndroidNotificationNotifyId'])){ |
447
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidNotificationNotifyId'] = $depth1Value['AndroidNotificationNotifyId']; |
448
|
|
|
} |
449
|
|
|
if(isset($depth1Value['TargetValue'])){ |
450
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.TargetValue'] = $depth1Value['TargetValue']; |
451
|
|
|
} |
452
|
|
|
if(isset($depth1Value['HarmonyBadgeSetNum'])){ |
453
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.HarmonyBadgeSetNum'] = $depth1Value['HarmonyBadgeSetNum']; |
454
|
|
|
} |
455
|
|
|
if(isset($depth1Value['AndroidXiaoMiNotifyTitle'])){ |
456
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaoMiNotifyTitle'] = $depth1Value['AndroidXiaoMiNotifyTitle']; |
457
|
|
|
} |
458
|
|
|
if(isset($depth1Value['AndroidXiaoMiActivity'])){ |
459
|
|
|
$this->options['form_params']['PushTask.' . ($depth1 + 1) . '.AndroidXiaoMiActivity'] = $depth1Value['AndroidXiaoMiActivity']; |
460
|
|
|
} |
461
|
|
|
} |
462
|
|
|
|
463
|
|
|
return $this; |
464
|
|
|
} |
465
|
|
|
} |
466
|
|
|
|
467
|
|
|
/** |
468
|
|
|
* @method string getAndroidNotificationBarType() |
469
|
|
|
* @method $this withAndroidNotificationBarType($value) |
470
|
|
|
* @method string getAndroidMessageOppoNotifyLevel() |
471
|
|
|
* @method $this withAndroidMessageOppoNotifyLevel($value) |
472
|
|
|
* @method string getDeviceType() |
473
|
|
|
* @method $this withDeviceType($value) |
474
|
|
|
* @method string getPushTime() |
475
|
|
|
* @method $this withPushTime($value) |
476
|
|
|
* @method string getSendSpeed() |
477
|
|
|
* @method $this withSendSpeed($value) |
478
|
|
|
* @method string getIOSRemindBody() |
479
|
|
|
* @method string getTrim() |
480
|
|
|
* @method $this withTrim($value) |
481
|
|
|
* @method string getAndroidPopupTitle() |
482
|
|
|
* @method $this withAndroidPopupTitle($value) |
483
|
|
|
* @method string getIOSApnsEnv() |
484
|
|
|
* @method string getAndroidNotificationBarPriority() |
485
|
|
|
* @method $this withAndroidNotificationBarPriority($value) |
486
|
|
|
* @method string getExpireTime() |
487
|
|
|
* @method $this withExpireTime($value) |
488
|
|
|
* @method string getAndroidImageUrl() |
489
|
|
|
* @method $this withAndroidImageUrl($value) |
490
|
|
|
* @method string getAndroidVivoReceiptId() |
491
|
|
|
* @method $this withAndroidVivoReceiptId($value) |
492
|
|
|
* @method string getIOSNotificationCategory() |
493
|
|
|
* @method string getAndroidXiaomiBigPictureUrl() |
494
|
|
|
* @method $this withAndroidXiaomiBigPictureUrl($value) |
495
|
|
|
* @method string getHarmonyCategory() |
496
|
|
|
* @method $this withHarmonyCategory($value) |
497
|
|
|
* @method string getIOSRemind() |
498
|
|
|
* @method string getIOSNotificationThreadId() |
499
|
|
|
* @method string getAndroidHuaweiTargetUserType() |
500
|
|
|
* @method $this withAndroidHuaweiTargetUserType($value) |
501
|
|
|
* @method string getAndroidMessageHuaweiUrgency() |
502
|
|
|
* @method $this withAndroidMessageHuaweiUrgency($value) |
503
|
|
|
* @method string getIOSInterruptionLevel() |
504
|
|
|
* @method string getAndroidExtParameters() |
505
|
|
|
* @method $this withAndroidExtParameters($value) |
506
|
|
|
* @method string getIOSBadge() |
507
|
|
|
* @method string getIOSBadgeAutoIncrement() |
508
|
|
|
* @method string getAndroidOpenType() |
509
|
|
|
* @method $this withAndroidOpenType($value) |
510
|
|
|
* @method string getHarmonyRemindTitle() |
511
|
|
|
* @method $this withHarmonyRemindTitle($value) |
512
|
|
|
* @method string getAndroidBadgeClass() |
513
|
|
|
* @method $this withAndroidBadgeClass($value) |
514
|
|
|
* @method string getSmsDelaySecs() |
515
|
|
|
* @method $this withSmsDelaySecs($value) |
516
|
|
|
* @method string getAndroidRenderStyle() |
517
|
|
|
* @method $this withAndroidRenderStyle($value) |
518
|
|
|
* @method string getIOSExtParameters() |
519
|
|
|
* @method string getAndroidXiaomiImageUrl() |
520
|
|
|
* @method $this withAndroidXiaomiImageUrl($value) |
521
|
|
|
* @method string getHarmonyUri() |
522
|
|
|
* @method $this withHarmonyUri($value) |
523
|
|
|
* @method string getSmsTemplateName() |
524
|
|
|
* @method $this withSmsTemplateName($value) |
525
|
|
|
* @method string getHarmonyExtParameters() |
526
|
|
|
* @method $this withHarmonyExtParameters($value) |
527
|
|
|
* @method string getAndroidBigPictureUrl() |
528
|
|
|
* @method $this withAndroidBigPictureUrl($value) |
529
|
|
|
* @method string getIOSSilentNotification() |
530
|
|
|
* @method string getHarmonyNotificationSlotType() |
531
|
|
|
* @method $this withHarmonyNotificationSlotType($value) |
532
|
|
|
* @method string getAndroidBigTitle() |
533
|
|
|
* @method $this withAndroidBigTitle($value) |
534
|
|
|
* @method string getAndroidNotificationChannel() |
535
|
|
|
* @method $this withAndroidNotificationChannel($value) |
536
|
|
|
* @method string getAndroidRemind() |
537
|
|
|
* @method $this withAndroidRemind($value) |
538
|
|
|
* @method string getAndroidActivity() |
539
|
|
|
* @method $this withAndroidActivity($value) |
540
|
|
|
* @method string getSmsSignName() |
541
|
|
|
* @method $this withSmsSignName($value) |
542
|
|
|
* @method string getAndroidNotificationNotifyId() |
543
|
|
|
* @method $this withAndroidNotificationNotifyId($value) |
544
|
|
|
* @method string getAppKey() |
545
|
|
|
* @method $this withAppKey($value) |
546
|
|
|
* @method string getTargetValue() |
547
|
|
|
* @method $this withTargetValue($value) |
548
|
|
|
* @method string getHarmonyBadgeSetNum() |
549
|
|
|
* @method $this withHarmonyBadgeSetNum($value) |
550
|
|
|
* @method string getAndroidXiaoMiNotifyTitle() |
551
|
|
|
* @method $this withAndroidXiaoMiNotifyTitle($value) |
552
|
|
|
* @method string getSmsSendPolicy() |
553
|
|
|
* @method $this withSmsSendPolicy($value) |
554
|
|
|
* @method string getBody() |
555
|
|
|
* @method $this withBody($value) |
556
|
|
|
* @method string getAndroidNotificationHuaweiChannel() |
557
|
|
|
* @method $this withAndroidNotificationHuaweiChannel($value) |
558
|
|
|
* @method string getAndroidPopupActivity() |
559
|
|
|
* @method $this withAndroidPopupActivity($value) |
560
|
|
|
* @method string getHarmonyNotifyId() |
561
|
|
|
* @method $this withHarmonyNotifyId($value) |
562
|
|
|
* @method string getHarmonyRenderStyle() |
563
|
|
|
* @method $this withHarmonyRenderStyle($value) |
564
|
|
|
* @method string getAndroidMessageVivoCategory() |
565
|
|
|
* @method $this withAndroidMessageVivoCategory($value) |
566
|
|
|
* @method string getAndroidNotifyType() |
567
|
|
|
* @method $this withAndroidNotifyType($value) |
568
|
|
|
* @method string getAndroidMessageHuaweiCategory() |
569
|
|
|
* @method $this withAndroidMessageHuaweiCategory($value) |
570
|
|
|
* @method string getIOSMusic() |
571
|
|
|
* @method string getIOSMutableContent() |
572
|
|
|
* @method string getAndroidNotificationThreadId() |
573
|
|
|
* @method $this withAndroidNotificationThreadId($value) |
574
|
|
|
* @method string getAndroidHonorTargetUserType() |
575
|
|
|
* @method $this withAndroidHonorTargetUserType($value) |
576
|
|
|
* @method string getHarmonyRemindBody() |
577
|
|
|
* @method $this withHarmonyRemindBody($value) |
578
|
|
|
* @method string getAndroidNotificationVivoChannel() |
579
|
|
|
* @method $this withAndroidNotificationVivoChannel($value) |
580
|
|
|
* @method string getAndroidNotificationXiaomiChannel() |
581
|
|
|
* @method $this withAndroidNotificationXiaomiChannel($value) |
582
|
|
|
* @method string getHarmonyAction() |
583
|
|
|
* @method $this withHarmonyAction($value) |
584
|
|
|
* @method string getStoreOffline() |
585
|
|
|
* @method $this withStoreOffline($value) |
586
|
|
|
* @method string getIOSRelevanceScore() |
587
|
|
|
* @method string getSmsParams() |
588
|
|
|
* @method $this withSmsParams($value) |
589
|
|
|
* @method string getAndroidVivoPushMode() |
590
|
|
|
* @method $this withAndroidVivoPushMode($value) |
591
|
|
|
* @method string getAndroidInboxBody() |
592
|
|
|
* @method $this withAndroidInboxBody($value) |
593
|
|
|
* @method string getJobKey() |
594
|
|
|
* @method $this withJobKey($value) |
595
|
|
|
* @method string getHarmonyReceiptId() |
596
|
|
|
* @method $this withHarmonyReceiptId($value) |
597
|
|
|
* @method string getAndroidOpenUrl() |
598
|
|
|
* @method $this withAndroidOpenUrl($value) |
599
|
|
|
* @method string getAndroidBadgeSetNum() |
600
|
|
|
* @method $this withAndroidBadgeSetNum($value) |
601
|
|
|
* @method string getAndroidXiaoMiNotifyBody() |
602
|
|
|
* @method $this withAndroidXiaoMiNotifyBody($value) |
603
|
|
|
* @method string getIOSSubtitle() |
604
|
|
|
* @method string getHarmonyRemind() |
605
|
|
|
* @method $this withHarmonyRemind($value) |
606
|
|
|
* @method string getAndroidMusic() |
607
|
|
|
* @method $this withAndroidMusic($value) |
608
|
|
|
* @method string getHarmonyExtensionPush() |
609
|
|
|
* @method $this withHarmonyExtensionPush($value) |
610
|
|
|
* @method string getIOSNotificationCollapseId() |
611
|
|
|
* @method string getPushType() |
612
|
|
|
* @method $this withPushType($value) |
613
|
|
|
* @method string getHarmonyExtensionExtraData() |
614
|
|
|
* @method $this withHarmonyExtensionExtraData($value) |
615
|
|
|
* @method string getHarmonyImageUrl() |
616
|
|
|
* @method $this withHarmonyImageUrl($value) |
617
|
|
|
* @method string getAndroidBigBody() |
618
|
|
|
* @method $this withAndroidBigBody($value) |
619
|
|
|
* @method string getTitle() |
620
|
|
|
* @method $this withTitle($value) |
621
|
|
|
* @method string getHarmonyBadgeAddNum() |
622
|
|
|
* @method $this withHarmonyBadgeAddNum($value) |
623
|
|
|
* @method string getHarmonyTestMessage() |
624
|
|
|
* @method $this withHarmonyTestMessage($value) |
625
|
|
|
* @method string getAndroidBadgeAddNum() |
626
|
|
|
* @method $this withAndroidBadgeAddNum($value) |
627
|
|
|
* @method string getAndroidHuaweiReceiptId() |
628
|
|
|
* @method $this withAndroidHuaweiReceiptId($value) |
629
|
|
|
* @method string getAndroidNotificationHonorChannel() |
630
|
|
|
* @method $this withAndroidNotificationHonorChannel($value) |
631
|
|
|
* @method string getAndroidTargetUserType() |
632
|
|
|
* @method $this withAndroidTargetUserType($value) |
633
|
|
|
* @method string getAndroidPopupBody() |
634
|
|
|
* @method $this withAndroidPopupBody($value) |
635
|
|
|
* @method string getAndroidNotificationGroup() |
636
|
|
|
* @method $this withAndroidNotificationGroup($value) |
637
|
|
|
* @method string getSendChannels() |
638
|
|
|
* @method $this withSendChannels($value) |
639
|
|
|
* @method string getHarmonyActionType() |
640
|
|
|
* @method $this withHarmonyActionType($value) |
641
|
|
|
* @method string getTarget() |
642
|
|
|
* @method $this withTarget($value) |
643
|
|
|
* @method string getHarmonyInboxContent() |
644
|
|
|
* @method $this withHarmonyInboxContent($value) |
645
|
|
|
* @method string getAndroidMessageOppoCategory() |
646
|
|
|
* @method $this withAndroidMessageOppoCategory($value) |
647
|
|
|
* @method string getAndroidXiaoMiActivity() |
648
|
|
|
* @method $this withAndroidXiaoMiActivity($value) |
649
|
|
|
*/ |
650
|
|
|
class Push extends Rpc |
651
|
|
|
{ |
652
|
|
|
|
653
|
|
|
/** |
654
|
|
|
* @param string $value |
655
|
|
|
* |
656
|
|
|
* @return $this |
657
|
|
|
*/ |
658
|
|
|
public function withIOSRemindBody($value) |
659
|
|
|
{ |
660
|
|
|
$this->data['IOSRemindBody'] = $value; |
661
|
|
|
$this->options['query']['iOSRemindBody'] = $value; |
662
|
|
|
|
663
|
|
|
return $this; |
664
|
|
|
} |
665
|
|
|
|
666
|
|
|
/** |
667
|
|
|
* @param string $value |
668
|
|
|
* |
669
|
|
|
* @return $this |
670
|
|
|
*/ |
671
|
|
|
public function withIOSApnsEnv($value) |
672
|
|
|
{ |
673
|
|
|
$this->data['IOSApnsEnv'] = $value; |
674
|
|
|
$this->options['query']['iOSApnsEnv'] = $value; |
675
|
|
|
|
676
|
|
|
return $this; |
677
|
|
|
} |
678
|
|
|
|
679
|
|
|
/** |
680
|
|
|
* @param string $value |
681
|
|
|
* |
682
|
|
|
* @return $this |
683
|
|
|
*/ |
684
|
|
|
public function withIOSNotificationCategory($value) |
685
|
|
|
{ |
686
|
|
|
$this->data['IOSNotificationCategory'] = $value; |
687
|
|
|
$this->options['query']['iOSNotificationCategory'] = $value; |
688
|
|
|
|
689
|
|
|
return $this; |
690
|
|
|
} |
691
|
|
|
|
692
|
|
|
/** |
693
|
|
|
* @param string $value |
694
|
|
|
* |
695
|
|
|
* @return $this |
696
|
|
|
*/ |
697
|
|
|
public function withIOSRemind($value) |
698
|
|
|
{ |
699
|
|
|
$this->data['IOSRemind'] = $value; |
700
|
|
|
$this->options['query']['iOSRemind'] = $value; |
701
|
|
|
|
702
|
|
|
return $this; |
703
|
|
|
} |
704
|
|
|
|
705
|
|
|
/** |
706
|
|
|
* @param string $value |
707
|
|
|
* |
708
|
|
|
* @return $this |
709
|
|
|
*/ |
710
|
|
|
public function withIOSNotificationThreadId($value) |
711
|
|
|
{ |
712
|
|
|
$this->data['IOSNotificationThreadId'] = $value; |
713
|
|
|
$this->options['query']['iOSNotificationThreadId'] = $value; |
714
|
|
|
|
715
|
|
|
return $this; |
716
|
|
|
} |
717
|
|
|
|
718
|
|
|
/** |
719
|
|
|
* @param string $value |
720
|
|
|
* |
721
|
|
|
* @return $this |
722
|
|
|
*/ |
723
|
|
|
public function withIOSInterruptionLevel($value) |
724
|
|
|
{ |
725
|
|
|
$this->data['IOSInterruptionLevel'] = $value; |
726
|
|
|
$this->options['query']['iOSInterruptionLevel'] = $value; |
727
|
|
|
|
728
|
|
|
return $this; |
729
|
|
|
} |
730
|
|
|
|
731
|
|
|
/** |
732
|
|
|
* @param string $value |
733
|
|
|
* |
734
|
|
|
* @return $this |
735
|
|
|
*/ |
736
|
|
|
public function withIOSBadge($value) |
737
|
|
|
{ |
738
|
|
|
$this->data['IOSBadge'] = $value; |
739
|
|
|
$this->options['query']['iOSBadge'] = $value; |
740
|
|
|
|
741
|
|
|
return $this; |
742
|
|
|
} |
743
|
|
|
|
744
|
|
|
/** |
745
|
|
|
* @param string $value |
746
|
|
|
* |
747
|
|
|
* @return $this |
748
|
|
|
*/ |
749
|
|
|
public function withIOSBadgeAutoIncrement($value) |
750
|
|
|
{ |
751
|
|
|
$this->data['IOSBadgeAutoIncrement'] = $value; |
752
|
|
|
$this->options['query']['iOSBadgeAutoIncrement'] = $value; |
753
|
|
|
|
754
|
|
|
return $this; |
755
|
|
|
} |
756
|
|
|
|
757
|
|
|
/** |
758
|
|
|
* @param string $value |
759
|
|
|
* |
760
|
|
|
* @return $this |
761
|
|
|
*/ |
762
|
|
|
public function withIOSExtParameters($value) |
763
|
|
|
{ |
764
|
|
|
$this->data['IOSExtParameters'] = $value; |
765
|
|
|
$this->options['query']['iOSExtParameters'] = $value; |
766
|
|
|
|
767
|
|
|
return $this; |
768
|
|
|
} |
769
|
|
|
|
770
|
|
|
/** |
771
|
|
|
* @param string $value |
772
|
|
|
* |
773
|
|
|
* @return $this |
774
|
|
|
*/ |
775
|
|
|
public function withIOSSilentNotification($value) |
776
|
|
|
{ |
777
|
|
|
$this->data['IOSSilentNotification'] = $value; |
778
|
|
|
$this->options['query']['iOSSilentNotification'] = $value; |
779
|
|
|
|
780
|
|
|
return $this; |
781
|
|
|
} |
782
|
|
|
|
783
|
|
|
/** |
784
|
|
|
* @param string $value |
785
|
|
|
* |
786
|
|
|
* @return $this |
787
|
|
|
*/ |
788
|
|
|
public function withIOSMusic($value) |
789
|
|
|
{ |
790
|
|
|
$this->data['IOSMusic'] = $value; |
791
|
|
|
$this->options['query']['iOSMusic'] = $value; |
792
|
|
|
|
793
|
|
|
return $this; |
794
|
|
|
} |
795
|
|
|
|
796
|
|
|
/** |
797
|
|
|
* @param string $value |
798
|
|
|
* |
799
|
|
|
* @return $this |
800
|
|
|
*/ |
801
|
|
|
public function withIOSMutableContent($value) |
802
|
|
|
{ |
803
|
|
|
$this->data['IOSMutableContent'] = $value; |
804
|
|
|
$this->options['query']['iOSMutableContent'] = $value; |
805
|
|
|
|
806
|
|
|
return $this; |
807
|
|
|
} |
808
|
|
|
|
809
|
|
|
/** |
810
|
|
|
* @param string $value |
811
|
|
|
* |
812
|
|
|
* @return $this |
813
|
|
|
*/ |
814
|
|
|
public function withIOSRelevanceScore($value) |
815
|
|
|
{ |
816
|
|
|
$this->data['IOSRelevanceScore'] = $value; |
817
|
|
|
$this->options['query']['iOSRelevanceScore'] = $value; |
818
|
|
|
|
819
|
|
|
return $this; |
820
|
|
|
} |
821
|
|
|
|
822
|
|
|
/** |
823
|
|
|
* @param string $value |
824
|
|
|
* |
825
|
|
|
* @return $this |
826
|
|
|
*/ |
827
|
|
|
public function withIOSSubtitle($value) |
828
|
|
|
{ |
829
|
|
|
$this->data['IOSSubtitle'] = $value; |
830
|
|
|
$this->options['query']['iOSSubtitle'] = $value; |
831
|
|
|
|
832
|
|
|
return $this; |
833
|
|
|
} |
834
|
|
|
|
835
|
|
|
/** |
836
|
|
|
* @param string $value |
837
|
|
|
* |
838
|
|
|
* @return $this |
839
|
|
|
*/ |
840
|
|
|
public function withIOSNotificationCollapseId($value) |
841
|
|
|
{ |
842
|
|
|
$this->data['IOSNotificationCollapseId'] = $value; |
843
|
|
|
$this->options['query']['iOSNotificationCollapseId'] = $value; |
844
|
|
|
|
845
|
|
|
return $this; |
846
|
|
|
} |
847
|
|
|
} |
848
|
|
|
|
849
|
|
|
/** |
850
|
|
|
* @method string getTitle() |
851
|
|
|
* @method $this withTitle($value) |
852
|
|
|
* @method string getBody() |
853
|
|
|
* @method $this withBody($value) |
854
|
|
|
* @method string getStoreOffline() |
855
|
|
|
* @method $this withStoreOffline($value) |
856
|
|
|
* @method string getJobKey() |
857
|
|
|
* @method $this withJobKey($value) |
858
|
|
|
* @method string getTarget() |
859
|
|
|
* @method $this withTarget($value) |
860
|
|
|
* @method string getAppKey() |
861
|
|
|
* @method $this withAppKey($value) |
862
|
|
|
* @method string getTargetValue() |
863
|
|
|
* @method $this withTargetValue($value) |
864
|
|
|
*/ |
865
|
|
|
class PushMessageToAndroid extends Rpc |
866
|
|
|
{ |
867
|
|
|
} |
868
|
|
|
|
869
|
|
|
/** |
870
|
|
|
* @method string getTitle() |
871
|
|
|
* @method $this withTitle($value) |
872
|
|
|
* @method string getBody() |
873
|
|
|
* @method $this withBody($value) |
874
|
|
|
* @method string getStoreOffline() |
875
|
|
|
* @method $this withStoreOffline($value) |
876
|
|
|
* @method string getJobKey() |
877
|
|
|
* @method $this withJobKey($value) |
878
|
|
|
* @method string getTarget() |
879
|
|
|
* @method $this withTarget($value) |
880
|
|
|
* @method string getAppKey() |
881
|
|
|
* @method $this withAppKey($value) |
882
|
|
|
* @method string getTargetValue() |
883
|
|
|
* @method $this withTargetValue($value) |
884
|
|
|
*/ |
885
|
|
|
class PushMessageToiOS extends Rpc |
886
|
|
|
{ |
887
|
|
|
} |
888
|
|
|
|
889
|
|
|
/** |
890
|
|
|
* @method string getTitle() |
891
|
|
|
* @method $this withTitle($value) |
892
|
|
|
* @method string getBody() |
893
|
|
|
* @method $this withBody($value) |
894
|
|
|
* @method string getExtParameters() |
895
|
|
|
* @method $this withExtParameters($value) |
896
|
|
|
* @method string getStoreOffline() |
897
|
|
|
* @method $this withStoreOffline($value) |
898
|
|
|
* @method string getJobKey() |
899
|
|
|
* @method $this withJobKey($value) |
900
|
|
|
* @method string getTarget() |
901
|
|
|
* @method $this withTarget($value) |
902
|
|
|
* @method string getAppKey() |
903
|
|
|
* @method $this withAppKey($value) |
904
|
|
|
* @method string getTargetValue() |
905
|
|
|
* @method $this withTargetValue($value) |
906
|
|
|
*/ |
907
|
|
|
class PushNoticeToAndroid extends Rpc |
908
|
|
|
{ |
909
|
|
|
} |
910
|
|
|
|
911
|
|
|
/** |
912
|
|
|
* @method string getTitle() |
913
|
|
|
* @method $this withTitle($value) |
914
|
|
|
* @method string getBody() |
915
|
|
|
* @method $this withBody($value) |
916
|
|
|
* @method string getExtParameters() |
917
|
|
|
* @method $this withExtParameters($value) |
918
|
|
|
* @method string getApnsEnv() |
919
|
|
|
* @method $this withApnsEnv($value) |
920
|
|
|
* @method string getJobKey() |
921
|
|
|
* @method $this withJobKey($value) |
922
|
|
|
* @method string getTarget() |
923
|
|
|
* @method $this withTarget($value) |
924
|
|
|
* @method string getAppKey() |
925
|
|
|
* @method $this withAppKey($value) |
926
|
|
|
* @method string getTargetValue() |
927
|
|
|
* @method $this withTargetValue($value) |
928
|
|
|
*/ |
929
|
|
|
class PushNoticeToiOS extends Rpc |
930
|
|
|
{ |
931
|
|
|
} |
932
|
|
|
|
933
|
|
|
/** |
934
|
|
|
* @method string getDeviceId() |
935
|
|
|
* @method $this withDeviceId($value) |
936
|
|
|
* @method string getAppKey() |
937
|
|
|
* @method $this withAppKey($value) |
938
|
|
|
*/ |
939
|
|
|
class QueryAliases extends Rpc |
940
|
|
|
{ |
941
|
|
|
} |
942
|
|
|
|
943
|
|
|
/** |
944
|
|
|
* @method string getDeviceId() |
945
|
|
|
* @method $this withDeviceId($value) |
946
|
|
|
* @method string getAppKey() |
947
|
|
|
* @method $this withAppKey($value) |
948
|
|
|
*/ |
949
|
|
|
class QueryDeviceInfo extends Rpc |
950
|
|
|
{ |
951
|
|
|
} |
952
|
|
|
|
953
|
|
|
/** |
954
|
|
|
* @method string getAppKey() |
955
|
|
|
* @method $this withAppKey($value) |
956
|
|
|
* @method string getAccount() |
957
|
|
|
* @method $this withAccount($value) |
958
|
|
|
*/ |
959
|
|
|
class QueryDevicesByAccount extends Rpc |
960
|
|
|
{ |
961
|
|
|
} |
962
|
|
|
|
963
|
|
|
/** |
964
|
|
|
* @method string getAlias() |
965
|
|
|
* @method $this withAlias($value) |
966
|
|
|
* @method string getAppKey() |
967
|
|
|
* @method $this withAppKey($value) |
968
|
|
|
*/ |
969
|
|
|
class QueryDevicesByAlias extends Rpc |
970
|
|
|
{ |
971
|
|
|
} |
972
|
|
|
|
973
|
|
|
/** |
974
|
|
|
* @method string getEndTime() |
975
|
|
|
* @method $this withEndTime($value) |
976
|
|
|
* @method string getStartTime() |
977
|
|
|
* @method $this withStartTime($value) |
978
|
|
|
* @method string getDeviceType() |
979
|
|
|
* @method $this withDeviceType($value) |
980
|
|
|
* @method string getAppKey() |
981
|
|
|
* @method $this withAppKey($value) |
982
|
|
|
* @method string getQueryType() |
983
|
|
|
* @method $this withQueryType($value) |
984
|
|
|
*/ |
985
|
|
|
class QueryDeviceStat extends Rpc |
986
|
|
|
{ |
987
|
|
|
} |
988
|
|
|
|
989
|
|
|
/** |
990
|
|
|
* @method string getStartTime() |
991
|
|
|
* @method $this withStartTime($value) |
992
|
|
|
* @method string getSource() |
993
|
|
|
* @method $this withSource($value) |
994
|
|
|
* @method string getNextToken() |
995
|
|
|
* @method $this withNextToken($value) |
996
|
|
|
* @method string getPageSize() |
997
|
|
|
* @method $this withPageSize($value) |
998
|
|
|
* @method string getKeyword() |
999
|
|
|
* @method $this withKeyword($value) |
1000
|
|
|
* @method string getEndTime() |
1001
|
|
|
* @method $this withEndTime($value) |
1002
|
|
|
* @method string getTarget() |
1003
|
|
|
* @method $this withTarget($value) |
1004
|
|
|
* @method string getAppKey() |
1005
|
|
|
* @method $this withAppKey($value) |
1006
|
|
|
* @method string getPage() |
1007
|
|
|
* @method $this withPage($value) |
1008
|
|
|
* @method string getPushType() |
1009
|
|
|
* @method $this withPushType($value) |
1010
|
|
|
*/ |
1011
|
|
|
class QueryPushRecords extends Rpc |
1012
|
|
|
{ |
1013
|
|
|
} |
1014
|
|
|
|
1015
|
|
|
/** |
1016
|
|
|
* @method string getEndTime() |
1017
|
|
|
* @method $this withEndTime($value) |
1018
|
|
|
* @method string getStartTime() |
1019
|
|
|
* @method $this withStartTime($value) |
1020
|
|
|
* @method string getGranularity() |
1021
|
|
|
* @method $this withGranularity($value) |
1022
|
|
|
* @method string getAppKey() |
1023
|
|
|
* @method $this withAppKey($value) |
1024
|
|
|
*/ |
1025
|
|
|
class QueryPushStatByApp extends Rpc |
1026
|
|
|
{ |
1027
|
|
|
} |
1028
|
|
|
|
1029
|
|
|
/** |
1030
|
|
|
* @method string getMessageId() |
1031
|
|
|
* @method $this withMessageId($value) |
1032
|
|
|
* @method string getAppKey() |
1033
|
|
|
* @method $this withAppKey($value) |
1034
|
|
|
*/ |
1035
|
|
|
class QueryPushStatByMsg extends Rpc |
1036
|
|
|
{ |
1037
|
|
|
} |
1038
|
|
|
|
1039
|
|
|
/** |
1040
|
|
|
* @method string getKeyType() |
1041
|
|
|
* @method $this withKeyType($value) |
1042
|
|
|
* @method string getClientKey() |
1043
|
|
|
* @method $this withClientKey($value) |
1044
|
|
|
* @method string getAppKey() |
1045
|
|
|
* @method $this withAppKey($value) |
1046
|
|
|
*/ |
1047
|
|
|
class QueryTags extends Rpc |
1048
|
|
|
{ |
1049
|
|
|
} |
1050
|
|
|
|
1051
|
|
|
/** |
1052
|
|
|
* @method string getEndTime() |
1053
|
|
|
* @method $this withEndTime($value) |
1054
|
|
|
* @method string getStartTime() |
1055
|
|
|
* @method $this withStartTime($value) |
1056
|
|
|
* @method string getGranularity() |
1057
|
|
|
* @method $this withGranularity($value) |
1058
|
|
|
* @method string getAppKey() |
1059
|
|
|
* @method $this withAppKey($value) |
1060
|
|
|
*/ |
1061
|
|
|
class QueryUniqueDeviceStat extends Rpc |
1062
|
|
|
{ |
1063
|
|
|
} |
1064
|
|
|
|
1065
|
|
|
/** |
1066
|
|
|
* @method string getTagName() |
1067
|
|
|
* @method $this withTagName($value) |
1068
|
|
|
* @method string getAppKey() |
1069
|
|
|
* @method $this withAppKey($value) |
1070
|
|
|
*/ |
1071
|
|
|
class RemoveTag extends Rpc |
1072
|
|
|
{ |
1073
|
|
|
} |
1074
|
|
|
|
1075
|
|
|
/** |
1076
|
|
|
* @method string getDeviceId() |
1077
|
|
|
* @method $this withDeviceId($value) |
1078
|
|
|
* @method string getAliasName() |
1079
|
|
|
* @method $this withAliasName($value) |
1080
|
|
|
* @method string getAppKey() |
1081
|
|
|
* @method $this withAppKey($value) |
1082
|
|
|
* @method string getUnbindAll() |
1083
|
|
|
* @method $this withUnbindAll($value) |
1084
|
|
|
*/ |
1085
|
|
|
class UnbindAlias extends Rpc |
1086
|
|
|
{ |
1087
|
|
|
} |
1088
|
|
|
|
1089
|
|
|
/** |
1090
|
|
|
* @method string getDeviceId() |
1091
|
|
|
* @method $this withDeviceId($value) |
1092
|
|
|
* @method string getAppKey() |
1093
|
|
|
* @method $this withAppKey($value) |
1094
|
|
|
*/ |
1095
|
|
|
class UnbindPhone extends Rpc |
1096
|
|
|
{ |
1097
|
|
|
} |
1098
|
|
|
|
1099
|
|
|
/** |
1100
|
|
|
* @method string getKeyType() |
1101
|
|
|
* @method $this withKeyType($value) |
1102
|
|
|
* @method string getTagName() |
1103
|
|
|
* @method $this withTagName($value) |
1104
|
|
|
* @method string getClientKey() |
1105
|
|
|
* @method $this withClientKey($value) |
1106
|
|
|
* @method string getAppKey() |
1107
|
|
|
* @method $this withAppKey($value) |
1108
|
|
|
*/ |
1109
|
|
|
class UnbindTag extends Rpc |
1110
|
|
|
{ |
1111
|
|
|
} |
1112
|
|
|
|