|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Imarketing\V20220704; |
|
4
|
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @method CreateDevice createDevice(array $options = []) |
|
9
|
|
|
* @method GetBrandPage getBrandPage(array $options = []) |
|
10
|
|
|
* @method GetMainPartPage getMainPartPage(array $options = []) |
|
11
|
|
|
* @method GetUserFinishedAd getUserFinishedAd(array $options = []) |
|
12
|
|
|
* @method ListAdvertising listAdvertising(array $options = []) |
|
13
|
|
|
* @method SendSms sendSms(array $options = []) |
|
14
|
|
|
*/ |
|
15
|
|
|
class ImarketingApiResolver extends ApiResolver |
|
16
|
|
|
{ |
|
17
|
|
|
} |
|
18
|
|
|
|
|
19
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
|
20
|
|
|
{ |
|
21
|
|
|
/** @var string */ |
|
22
|
|
|
public $product = 'imarketing'; |
|
23
|
|
|
|
|
24
|
|
|
/** @var string */ |
|
25
|
|
|
public $version = '2022-07-04'; |
|
26
|
|
|
|
|
27
|
|
|
/** @var string */ |
|
28
|
|
|
public $method = 'POST'; |
|
29
|
|
|
} |
|
30
|
|
|
|
|
31
|
|
|
/** |
|
32
|
|
|
* @method string getFirstScene() |
|
33
|
|
|
* @method string getExtraMap() |
|
34
|
|
|
* @method string getCity() |
|
35
|
|
|
* @method string getMediaId() |
|
36
|
|
|
* @method string getDeviceType() |
|
37
|
|
|
* @method string getLocationName() |
|
38
|
|
|
* @method string getProvince() |
|
39
|
|
|
* @method string getDistrict() |
|
40
|
|
|
* @method string getDeviceName() |
|
41
|
|
|
* @method string getDeviceModelNumber() |
|
42
|
|
|
* @method string getSecondScene() |
|
43
|
|
|
* @method string getFloor() |
|
44
|
|
|
* @method string getChannelId() |
|
45
|
|
|
* @method string getOuterCode() |
|
46
|
|
|
*/ |
|
47
|
|
|
class CreateDevice extends Rpc |
|
48
|
|
|
{ |
|
49
|
|
|
|
|
50
|
|
|
/** |
|
51
|
|
|
* @param string $value |
|
52
|
|
|
* |
|
53
|
|
|
* @return $this |
|
54
|
|
|
*/ |
|
55
|
|
|
public function withFirstScene($value) |
|
56
|
|
|
{ |
|
57
|
|
|
$this->data['FirstScene'] = $value; |
|
58
|
|
|
$this->options['form_params']['FirstScene'] = $value; |
|
59
|
|
|
|
|
60
|
|
|
return $this; |
|
61
|
|
|
} |
|
62
|
|
|
|
|
63
|
|
|
/** |
|
64
|
|
|
* @param string $value |
|
65
|
|
|
* |
|
66
|
|
|
* @return $this |
|
67
|
|
|
*/ |
|
68
|
|
|
public function withExtraMap($value) |
|
69
|
|
|
{ |
|
70
|
|
|
$this->data['ExtraMap'] = $value; |
|
71
|
|
|
$this->options['form_params']['ExtraMap'] = $value; |
|
72
|
|
|
|
|
73
|
|
|
return $this; |
|
74
|
|
|
} |
|
75
|
|
|
|
|
76
|
|
|
/** |
|
77
|
|
|
* @param string $value |
|
78
|
|
|
* |
|
79
|
|
|
* @return $this |
|
80
|
|
|
*/ |
|
81
|
|
|
public function withCity($value) |
|
82
|
|
|
{ |
|
83
|
|
|
$this->data['City'] = $value; |
|
84
|
|
|
$this->options['form_params']['City'] = $value; |
|
85
|
|
|
|
|
86
|
|
|
return $this; |
|
87
|
|
|
} |
|
88
|
|
|
|
|
89
|
|
|
/** |
|
90
|
|
|
* @param string $value |
|
91
|
|
|
* |
|
92
|
|
|
* @return $this |
|
93
|
|
|
*/ |
|
94
|
|
|
public function withMediaId($value) |
|
95
|
|
|
{ |
|
96
|
|
|
$this->data['MediaId'] = $value; |
|
97
|
|
|
$this->options['form_params']['MediaId'] = $value; |
|
98
|
|
|
|
|
99
|
|
|
return $this; |
|
100
|
|
|
} |
|
101
|
|
|
|
|
102
|
|
|
/** |
|
103
|
|
|
* @param string $value |
|
104
|
|
|
* |
|
105
|
|
|
* @return $this |
|
106
|
|
|
*/ |
|
107
|
|
|
public function withDeviceType($value) |
|
108
|
|
|
{ |
|
109
|
|
|
$this->data['DeviceType'] = $value; |
|
110
|
|
|
$this->options['form_params']['DeviceType'] = $value; |
|
111
|
|
|
|
|
112
|
|
|
return $this; |
|
113
|
|
|
} |
|
114
|
|
|
|
|
115
|
|
|
/** |
|
116
|
|
|
* @param string $value |
|
117
|
|
|
* |
|
118
|
|
|
* @return $this |
|
119
|
|
|
*/ |
|
120
|
|
|
public function withLocationName($value) |
|
121
|
|
|
{ |
|
122
|
|
|
$this->data['LocationName'] = $value; |
|
123
|
|
|
$this->options['form_params']['LocationName'] = $value; |
|
124
|
|
|
|
|
125
|
|
|
return $this; |
|
126
|
|
|
} |
|
127
|
|
|
|
|
128
|
|
|
/** |
|
129
|
|
|
* @param string $value |
|
130
|
|
|
* |
|
131
|
|
|
* @return $this |
|
132
|
|
|
*/ |
|
133
|
|
|
public function withProvince($value) |
|
134
|
|
|
{ |
|
135
|
|
|
$this->data['Province'] = $value; |
|
136
|
|
|
$this->options['form_params']['Province'] = $value; |
|
137
|
|
|
|
|
138
|
|
|
return $this; |
|
139
|
|
|
} |
|
140
|
|
|
|
|
141
|
|
|
/** |
|
142
|
|
|
* @param string $value |
|
143
|
|
|
* |
|
144
|
|
|
* @return $this |
|
145
|
|
|
*/ |
|
146
|
|
|
public function withDistrict($value) |
|
147
|
|
|
{ |
|
148
|
|
|
$this->data['District'] = $value; |
|
149
|
|
|
$this->options['form_params']['District'] = $value; |
|
150
|
|
|
|
|
151
|
|
|
return $this; |
|
152
|
|
|
} |
|
153
|
|
|
|
|
154
|
|
|
/** |
|
155
|
|
|
* @param string $value |
|
156
|
|
|
* |
|
157
|
|
|
* @return $this |
|
158
|
|
|
*/ |
|
159
|
|
|
public function withDeviceName($value) |
|
160
|
|
|
{ |
|
161
|
|
|
$this->data['DeviceName'] = $value; |
|
162
|
|
|
$this->options['form_params']['DeviceName'] = $value; |
|
163
|
|
|
|
|
164
|
|
|
return $this; |
|
165
|
|
|
} |
|
166
|
|
|
|
|
167
|
|
|
/** |
|
168
|
|
|
* @param string $value |
|
169
|
|
|
* |
|
170
|
|
|
* @return $this |
|
171
|
|
|
*/ |
|
172
|
|
|
public function withDeviceModelNumber($value) |
|
173
|
|
|
{ |
|
174
|
|
|
$this->data['DeviceModelNumber'] = $value; |
|
175
|
|
|
$this->options['form_params']['DeviceModelNumber'] = $value; |
|
176
|
|
|
|
|
177
|
|
|
return $this; |
|
178
|
|
|
} |
|
179
|
|
|
|
|
180
|
|
|
/** |
|
181
|
|
|
* @param string $value |
|
182
|
|
|
* |
|
183
|
|
|
* @return $this |
|
184
|
|
|
*/ |
|
185
|
|
|
public function withSecondScene($value) |
|
186
|
|
|
{ |
|
187
|
|
|
$this->data['SecondScene'] = $value; |
|
188
|
|
|
$this->options['form_params']['SecondScene'] = $value; |
|
189
|
|
|
|
|
190
|
|
|
return $this; |
|
191
|
|
|
} |
|
192
|
|
|
|
|
193
|
|
|
/** |
|
194
|
|
|
* @param string $value |
|
195
|
|
|
* |
|
196
|
|
|
* @return $this |
|
197
|
|
|
*/ |
|
198
|
|
|
public function withFloor($value) |
|
199
|
|
|
{ |
|
200
|
|
|
$this->data['Floor'] = $value; |
|
201
|
|
|
$this->options['form_params']['Floor'] = $value; |
|
202
|
|
|
|
|
203
|
|
|
return $this; |
|
204
|
|
|
} |
|
205
|
|
|
|
|
206
|
|
|
/** |
|
207
|
|
|
* @param string $value |
|
208
|
|
|
* |
|
209
|
|
|
* @return $this |
|
210
|
|
|
*/ |
|
211
|
|
|
public function withChannelId($value) |
|
212
|
|
|
{ |
|
213
|
|
|
$this->data['ChannelId'] = $value; |
|
214
|
|
|
$this->options['form_params']['ChannelId'] = $value; |
|
215
|
|
|
|
|
216
|
|
|
return $this; |
|
217
|
|
|
} |
|
218
|
|
|
|
|
219
|
|
|
/** |
|
220
|
|
|
* @param string $value |
|
221
|
|
|
* |
|
222
|
|
|
* @return $this |
|
223
|
|
|
*/ |
|
224
|
|
|
public function withOuterCode($value) |
|
225
|
|
|
{ |
|
226
|
|
|
$this->data['OuterCode'] = $value; |
|
227
|
|
|
$this->options['form_params']['OuterCode'] = $value; |
|
228
|
|
|
|
|
229
|
|
|
return $this; |
|
230
|
|
|
} |
|
231
|
|
|
} |
|
232
|
|
|
|
|
233
|
|
|
/** |
|
234
|
|
|
* @method string getAccountNo() |
|
235
|
|
|
* @method $this withAccountNo($value) |
|
236
|
|
|
* @method string getPageSize() |
|
237
|
|
|
* @method $this withPageSize($value) |
|
238
|
|
|
* @method string getPageIndex() |
|
239
|
|
|
* @method $this withPageIndex($value) |
|
240
|
|
|
* @method string getMainId() |
|
241
|
|
|
* @method $this withMainId($value) |
|
242
|
|
|
* @method string getMainName() |
|
243
|
|
|
* @method $this withMainName($value) |
|
244
|
|
|
*/ |
|
245
|
|
|
class GetBrandPage extends Rpc |
|
246
|
|
|
{ |
|
247
|
|
|
} |
|
248
|
|
|
|
|
249
|
|
|
/** |
|
250
|
|
|
* @method string getPageSize() |
|
251
|
|
|
* @method $this withPageSize($value) |
|
252
|
|
|
* @method string getPageIndex() |
|
253
|
|
|
* @method $this withPageIndex($value) |
|
254
|
|
|
* @method string getMainId() |
|
255
|
|
|
* @method $this withMainId($value) |
|
256
|
|
|
* @method string getMainName() |
|
257
|
|
|
* @method $this withMainName($value) |
|
258
|
|
|
*/ |
|
259
|
|
|
class GetMainPartPage extends Rpc |
|
260
|
|
|
{ |
|
261
|
|
|
} |
|
262
|
|
|
|
|
263
|
|
|
/** |
|
264
|
|
|
* @method string getUid() |
|
265
|
|
|
* @method $this withUid($value) |
|
266
|
|
|
* @method string getAdid() |
|
267
|
|
|
* @method $this withAdid($value) |
|
268
|
|
|
* @method string getTagid() |
|
269
|
|
|
* @method $this withTagid($value) |
|
270
|
|
|
* @method string getClicklink() |
|
271
|
|
|
* @method $this withClicklink($value) |
|
272
|
|
|
* @method string getId() |
|
273
|
|
|
* @method $this withId($value) |
|
274
|
|
|
* @method string getMediaid() |
|
275
|
|
|
* @method $this withMediaid($value) |
|
276
|
|
|
*/ |
|
277
|
|
|
class GetUserFinishedAd extends Rpc |
|
278
|
|
|
{ |
|
279
|
|
|
|
|
280
|
|
|
/** @var string */ |
|
281
|
|
|
public $method = 'GET'; |
|
282
|
|
|
} |
|
283
|
|
|
|
|
284
|
|
|
/** |
|
285
|
|
|
* @method string getApp() |
|
286
|
|
|
* @method $this withApp($value) |
|
287
|
|
|
* @method string getExt() |
|
288
|
|
|
* @method $this withExt($value) |
|
289
|
|
|
* @method string getTest() |
|
290
|
|
|
* @method $this withTest($value) |
|
291
|
|
|
* @method string getImp() |
|
292
|
|
|
* @method $this withImp($value) |
|
293
|
|
|
* @method string getId() |
|
294
|
|
|
* @method $this withId($value) |
|
295
|
|
|
* @method string getUser() |
|
296
|
|
|
* @method $this withUser($value) |
|
297
|
|
|
* @method string getDevice() |
|
298
|
|
|
* @method $this withDevice($value) |
|
299
|
|
|
* @method string getDealtype() |
|
300
|
|
|
* @method $this withDealtype($value) |
|
301
|
|
|
*/ |
|
302
|
|
|
class ListAdvertising extends Rpc |
|
303
|
|
|
{ |
|
304
|
|
|
|
|
305
|
|
|
/** @var string */ |
|
306
|
|
|
public $method = 'GET'; |
|
307
|
|
|
} |
|
308
|
|
|
|
|
309
|
|
|
/** |
|
310
|
|
|
* @method string getPhoneNumbers() |
|
311
|
|
|
* @method $this withPhoneNumbers($value) |
|
312
|
|
|
*/ |
|
313
|
|
|
class SendSms extends Rpc |
|
314
|
|
|
{ |
|
315
|
|
|
} |
|
316
|
|
|
|