1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Iot\V20180120; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\ApiResolverTrait; |
6
|
|
|
use AlibabaCloud\Rpc; |
7
|
|
|
|
8
|
|
|
/** |
9
|
|
|
* Resolve Api based on the method name. |
10
|
|
|
* |
11
|
|
|
* @method QueryDeviceFile queryDeviceFile(array $options = []) |
12
|
|
|
* @method QueryDeviceFileList queryDeviceFileList(array $options = []) |
13
|
|
|
* @method DeleteDeviceFile deleteDeviceFile(array $options = []) |
14
|
|
|
* @method BatchUpdateDeviceNickname batchUpdateDeviceNickname(array $options = []) |
15
|
|
|
* @method RamAuth ramAuth(array $options = []) |
16
|
|
|
* @method SetDeviceDesiredProperty setDeviceDesiredProperty(array $options = []) |
17
|
|
|
* @method QueryDeviceDesiredProperty queryDeviceDesiredProperty(array $options = []) |
18
|
|
|
* @method CreateProductTags createProductTags(array $options = []) |
19
|
|
|
* @method UpdateProductTags updateProductTags(array $options = []) |
20
|
|
|
* @method ListProductTags listProductTags(array $options = []) |
21
|
|
|
* @method ListProductByTags listProductByTags(array $options = []) |
22
|
|
|
* @method DeleteProductTags deleteProductTags(array $options = []) |
23
|
|
|
* @method QueryDeviceGroupByTags queryDeviceGroupByTags(array $options = []) |
24
|
|
|
* @method QueryDeviceListByDeviceGroup queryDeviceListByDeviceGroup(array $options = []) |
25
|
|
|
* @method QuerySuperDeviceGroup querySuperDeviceGroup(array $options = []) |
26
|
|
|
* @method QueryDeviceByTags queryDeviceByTags(array $options = []) |
27
|
|
|
* @method SetDeviceGroupTags setDeviceGroupTags(array $options = []) |
28
|
|
|
* @method InvokeThingsService invokeThingsService(array $options = []) |
29
|
|
|
* @method SetDevicesProperty setDevicesProperty(array $options = []) |
30
|
|
|
* @method QueryDevicePropertiesData queryDevicePropertiesData(array $options = []) |
31
|
|
|
* @method QueryAppDeviceList queryAppDeviceList(array $options = []) |
32
|
|
|
* @method ValidateLaUser validateLaUser(array $options = []) |
33
|
|
|
* @method UpdateDeviceGroup updateDeviceGroup(array $options = []) |
34
|
|
|
* @method QueryDeviceGroupTagList queryDeviceGroupTagList(array $options = []) |
35
|
|
|
* @method QueryDeviceGroupList queryDeviceGroupList(array $options = []) |
36
|
|
|
* @method QueryDeviceGroupInfo queryDeviceGroupInfo(array $options = []) |
37
|
|
|
* @method QueryDeviceGroupByDevice queryDeviceGroupByDevice(array $options = []) |
38
|
|
|
* @method DeleteDeviceGroup deleteDeviceGroup(array $options = []) |
39
|
|
|
* @method CreateDeviceGroup createDeviceGroup(array $options = []) |
40
|
|
|
* @method BatchDeleteDeviceGroupRelations batchDeleteDeviceGroupRelations(array $options = []) |
41
|
|
|
* @method BatchAddDeviceGroupRelations batchAddDeviceGroupRelations(array $options = []) |
42
|
|
|
* @method SaveDeviceProp saveDeviceProp(array $options = []) |
43
|
|
|
* @method DeleteDeviceProp deleteDeviceProp(array $options = []) |
44
|
|
|
* @method QueryPageByApplyId queryPageByApplyId(array $options = []) |
45
|
|
|
* @method QueryDevice queryDevice(array $options = []) |
46
|
|
|
* @method BatchGetDeviceState batchGetDeviceState(array $options = []) |
47
|
|
|
* @method RRpc rRpc(array $options = []) |
48
|
|
|
* @method QueryTopicReverseRouteTable queryTopicReverseRouteTable(array $options = []) |
49
|
|
|
* @method QueryTopicRouteTable queryTopicRouteTable(array $options = []) |
50
|
|
|
* @method PubBroadcast pubBroadcast(array $options = []) |
51
|
|
|
* @method DeleteTopicRouteTable deleteTopicRouteTable(array $options = []) |
52
|
|
|
* @method CreateTopicRouteTable createTopicRouteTable(array $options = []) |
53
|
|
|
* @method QueryAhDeviceList queryAhDeviceList(array $options = []) |
54
|
|
|
* @method AhQueryDeviceList ahQueryDeviceList(array $options = []) |
55
|
|
|
* @method QueryDeviceProp queryDeviceProp(array $options = []) |
56
|
|
|
* @method CreateRuleAction createRuleAction(array $options = []) |
57
|
|
|
* @method CreateRule createRule(array $options = []) |
58
|
|
|
* @method ListRuleActions listRuleActions(array $options = []) |
59
|
|
|
* @method StartRule startRule(array $options = []) |
60
|
|
|
* @method QueryProductTopic queryProductTopic(array $options = []) |
61
|
|
|
* @method DeleteRuleAction deleteRuleAction(array $options = []) |
62
|
|
|
* @method StopRule stopRule(array $options = []) |
63
|
|
|
* @method Pub pub(array $options = []) |
64
|
|
|
* @method ListRule listRule(array $options = []) |
65
|
|
|
* @method GetRule getRule(array $options = []) |
66
|
|
|
* @method CreateProductTopic createProductTopic(array $options = []) |
67
|
|
|
* @method GetDeviceShadow getDeviceShadow(array $options = []) |
68
|
|
|
* @method DeleteProductTopic deleteProductTopic(array $options = []) |
69
|
|
|
* @method DeleteRule deleteRule(array $options = []) |
70
|
|
|
* @method UpdateProductTopic updateProductTopic(array $options = []) |
71
|
|
|
* @method GetRuleAction getRuleAction(array $options = []) |
72
|
|
|
* @method UpdateRuleAction updateRuleAction(array $options = []) |
73
|
|
|
* @method UpdateDeviceShadow updateDeviceShadow(array $options = []) |
74
|
|
|
* @method UpdateRule updateRule(array $options = []) |
75
|
|
|
* @method GetGatewayBySubDevice getGatewayBySubDevice(array $options = []) |
76
|
|
|
* @method QueryBatchRegisterDeviceStatus queryBatchRegisterDeviceStatus(array $options = []) |
77
|
|
|
* @method RemoveThingTopo removeThingTopo(array $options = []) |
78
|
|
|
* @method GetThingTopo getThingTopo(array $options = []) |
79
|
|
|
* @method NotifyAddThingTopo notifyAddThingTopo(array $options = []) |
80
|
|
|
* @method QueryDevicePropertyData queryDevicePropertyData(array $options = []) |
81
|
|
|
* @method QueryDevicePropertyStatus queryDevicePropertyStatus(array $options = []) |
82
|
|
|
* @method BatchRegisterDevice batchRegisterDevice(array $options = []) |
83
|
|
|
* @method BatchRegisterDeviceWithApplyId batchRegisterDeviceWithApplyId(array $options = []) |
84
|
|
|
* @method BatchCheckDeviceNames batchCheckDeviceNames(array $options = []) |
85
|
|
|
* @method UpdateProduct updateProduct(array $options = []) |
86
|
|
|
* @method RegisterDevice registerDevice(array $options = []) |
87
|
|
|
* @method SetDeviceProperty setDeviceProperty(array $options = []) |
88
|
|
|
* @method QueryProductList queryProductList(array $options = []) |
89
|
|
|
* @method QueryDeviceStatistics queryDeviceStatistics(array $options = []) |
90
|
|
|
* @method QueryProduct queryProduct(array $options = []) |
91
|
|
|
* @method QueryDeviceEventData queryDeviceEventData(array $options = []) |
92
|
|
|
* @method QueryDeviceServiceData queryDeviceServiceData(array $options = []) |
93
|
|
|
* @method QueryDeviceDetail queryDeviceDetail(array $options = []) |
94
|
|
|
* @method InvokeThingService invokeThingService(array $options = []) |
95
|
|
|
* @method GetDeviceStatus getDeviceStatus(array $options = []) |
96
|
|
|
* @method DisableThing disableThing(array $options = []) |
97
|
|
|
* @method EnableThing enableThing(array $options = []) |
98
|
|
|
* @method DeleteDevice deleteDevice(array $options = []) |
99
|
|
|
* @method DeleteProduct deleteProduct(array $options = []) |
100
|
|
|
* @method CreateProduct createProduct(array $options = []) |
101
|
|
|
*/ |
102
|
|
|
class IotApiResolver |
103
|
|
|
{ |
104
|
|
|
use ApiResolverTrait; |
105
|
|
|
} |
106
|
|
|
|
107
|
|
|
class V20180120Rpc extends Rpc |
108
|
|
|
{ |
109
|
|
|
/** @var string */ |
110
|
|
|
public $product = 'Iot'; |
111
|
|
|
|
112
|
|
|
/** @var string */ |
113
|
|
|
public $version = '2018-01-20'; |
114
|
|
|
|
115
|
|
|
/** @var string */ |
116
|
|
|
public $method = 'POST'; |
117
|
|
|
} |
118
|
|
|
|
119
|
|
|
/** |
120
|
|
|
* @method string getIotId() |
121
|
|
|
* @method $this withIotId($value) |
122
|
|
|
* @method string getIotInstanceId() |
123
|
|
|
* @method $this withIotInstanceId($value) |
124
|
|
|
* @method string getDeviceName() |
125
|
|
|
* @method $this withDeviceName($value) |
126
|
|
|
* @method string getProductKey() |
127
|
|
|
* @method $this withProductKey($value) |
128
|
|
|
* @method string getFileId() |
129
|
|
|
* @method $this withFileId($value) |
130
|
|
|
*/ |
131
|
|
|
class QueryDeviceFile extends V20180120Rpc |
132
|
|
|
{ |
133
|
|
|
} |
134
|
|
|
|
135
|
|
|
/** |
136
|
|
|
* @method string getIotId() |
137
|
|
|
* @method $this withIotId($value) |
138
|
|
|
* @method string getIotInstanceId() |
139
|
|
|
* @method $this withIotInstanceId($value) |
140
|
|
|
* @method string getPageSize() |
141
|
|
|
* @method $this withPageSize($value) |
142
|
|
|
* @method string getDeviceName() |
143
|
|
|
* @method $this withDeviceName($value) |
144
|
|
|
* @method string getCurrentPage() |
145
|
|
|
* @method $this withCurrentPage($value) |
146
|
|
|
* @method string getProductKey() |
147
|
|
|
* @method $this withProductKey($value) |
148
|
|
|
*/ |
149
|
|
|
class QueryDeviceFileList extends V20180120Rpc |
150
|
|
|
{ |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* @method string getIotId() |
155
|
|
|
* @method $this withIotId($value) |
156
|
|
|
* @method string getIotInstanceId() |
157
|
|
|
* @method $this withIotInstanceId($value) |
158
|
|
|
* @method string getDeviceName() |
159
|
|
|
* @method $this withDeviceName($value) |
160
|
|
|
* @method string getProductKey() |
161
|
|
|
* @method $this withProductKey($value) |
162
|
|
|
* @method string getFileId() |
163
|
|
|
* @method $this withFileId($value) |
164
|
|
|
*/ |
165
|
|
|
class DeleteDeviceFile extends V20180120Rpc |
166
|
|
|
{ |
167
|
|
|
} |
168
|
|
|
|
169
|
|
|
/** |
170
|
|
|
* @method array getDeviceNicknameInfo() |
171
|
|
|
* @method string getIotInstanceId() |
172
|
|
|
* @method $this withIotInstanceId($value) |
173
|
|
|
*/ |
174
|
|
|
class BatchUpdateDeviceNickname extends V20180120Rpc |
175
|
|
|
{ |
176
|
|
|
|
177
|
|
|
/** |
178
|
|
|
* @param array $deviceNicknameInfo |
179
|
|
|
* |
180
|
|
|
* @return $this |
181
|
|
|
*/ |
182
|
|
|
public function withDeviceNicknameInfo(array $deviceNicknameInfo) |
183
|
|
|
{ |
184
|
|
|
$this->data['DeviceNicknameInfo'] = $deviceNicknameInfo; |
185
|
|
|
foreach ($deviceNicknameInfo as $depth1 => $depth1Value) { |
186
|
|
|
$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.IotId'] = $depth1Value['IotId']; |
187
|
|
|
$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.Nickname'] = $depth1Value['Nickname']; |
188
|
|
|
$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName']; |
189
|
|
|
$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey']; |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
return $this; |
193
|
|
|
} |
194
|
|
|
} |
195
|
|
|
|
196
|
|
|
/** |
197
|
|
|
* @method string getIotInstanceId() |
198
|
|
|
* @method $this withIotInstanceId($value) |
199
|
|
|
*/ |
200
|
|
|
class RamAuth extends V20180120Rpc |
201
|
|
|
{ |
202
|
|
|
} |
203
|
|
|
|
204
|
|
|
/** |
205
|
|
|
* @method string getIotId() |
206
|
|
|
* @method $this withIotId($value) |
207
|
|
|
* @method string getVersions() |
208
|
|
|
* @method $this withVersions($value) |
209
|
|
|
* @method string getIotInstanceId() |
210
|
|
|
* @method $this withIotInstanceId($value) |
211
|
|
|
* @method string getDeviceName() |
212
|
|
|
* @method $this withDeviceName($value) |
213
|
|
|
* @method string getProductKey() |
214
|
|
|
* @method $this withProductKey($value) |
215
|
|
|
* @method string getItems() |
216
|
|
|
* @method $this withItems($value) |
217
|
|
|
*/ |
218
|
|
|
class SetDeviceDesiredProperty extends V20180120Rpc |
219
|
|
|
{ |
220
|
|
|
} |
221
|
|
|
|
222
|
|
|
/** |
223
|
|
|
* @method array getIdentifier() |
224
|
|
|
* @method string getIotId() |
225
|
|
|
* @method $this withIotId($value) |
226
|
|
|
* @method string getIotInstanceId() |
227
|
|
|
* @method $this withIotInstanceId($value) |
228
|
|
|
* @method string getDeviceName() |
229
|
|
|
* @method $this withDeviceName($value) |
230
|
|
|
* @method string getProductKey() |
231
|
|
|
* @method $this withProductKey($value) |
232
|
|
|
*/ |
233
|
|
|
class QueryDeviceDesiredProperty extends V20180120Rpc |
234
|
|
|
{ |
235
|
|
|
|
236
|
|
|
/** |
237
|
|
|
* @param array $identifier |
238
|
|
|
* |
239
|
|
|
* @return $this |
240
|
|
|
*/ |
241
|
|
|
public function withIdentifier(array $identifier) |
242
|
|
|
{ |
243
|
|
|
$this->data['Identifier'] = $identifier; |
244
|
|
|
foreach ($identifier as $i => $iValue) { |
245
|
|
|
$this->options['query']['Identifier.' . ($i + 1)] = $iValue; |
246
|
|
|
} |
247
|
|
|
|
248
|
|
|
return $this; |
249
|
|
|
} |
250
|
|
|
} |
251
|
|
|
|
252
|
|
|
/** |
253
|
|
|
* @method array getProductTag() |
254
|
|
|
* @method string getIotInstanceId() |
255
|
|
|
* @method $this withIotInstanceId($value) |
256
|
|
|
* @method string getProductKey() |
257
|
|
|
* @method $this withProductKey($value) |
258
|
|
|
*/ |
259
|
|
|
class CreateProductTags extends V20180120Rpc |
260
|
|
|
{ |
261
|
|
|
|
262
|
|
|
/** |
263
|
|
|
* @param array $productTag |
264
|
|
|
* |
265
|
|
|
* @return $this |
266
|
|
|
*/ |
267
|
|
|
public function withProductTag(array $productTag) |
268
|
|
|
{ |
269
|
|
|
$this->data['ProductTag'] = $productTag; |
270
|
|
|
foreach ($productTag as $depth1 => $depth1Value) { |
271
|
|
|
$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
272
|
|
|
$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey']; |
273
|
|
|
} |
274
|
|
|
|
275
|
|
|
return $this; |
276
|
|
|
} |
277
|
|
|
} |
278
|
|
|
|
279
|
|
|
/** |
280
|
|
|
* @method array getProductTag() |
281
|
|
|
* @method string getIotInstanceId() |
282
|
|
|
* @method $this withIotInstanceId($value) |
283
|
|
|
* @method string getProductKey() |
284
|
|
|
* @method $this withProductKey($value) |
285
|
|
|
*/ |
286
|
|
|
class UpdateProductTags extends V20180120Rpc |
287
|
|
|
{ |
288
|
|
|
|
289
|
|
|
/** |
290
|
|
|
* @param array $productTag |
291
|
|
|
* |
292
|
|
|
* @return $this |
293
|
|
|
*/ |
294
|
|
|
public function withProductTag(array $productTag) |
295
|
|
|
{ |
296
|
|
|
$this->data['ProductTag'] = $productTag; |
297
|
|
|
foreach ($productTag as $depth1 => $depth1Value) { |
298
|
|
|
$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
299
|
|
|
$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey']; |
300
|
|
|
} |
301
|
|
|
|
302
|
|
|
return $this; |
303
|
|
|
} |
304
|
|
|
} |
305
|
|
|
|
306
|
|
|
/** |
307
|
|
|
* @method string getIotInstanceId() |
308
|
|
|
* @method $this withIotInstanceId($value) |
309
|
|
|
* @method string getProductKey() |
310
|
|
|
* @method $this withProductKey($value) |
311
|
|
|
*/ |
312
|
|
|
class ListProductTags extends V20180120Rpc |
313
|
|
|
{ |
314
|
|
|
} |
315
|
|
|
|
316
|
|
|
/** |
317
|
|
|
* @method array getProductTag() |
318
|
|
|
* @method string getIotInstanceId() |
319
|
|
|
* @method $this withIotInstanceId($value) |
320
|
|
|
* @method string getPageSize() |
321
|
|
|
* @method $this withPageSize($value) |
322
|
|
|
* @method string getCurrentPage() |
323
|
|
|
* @method $this withCurrentPage($value) |
324
|
|
|
*/ |
325
|
|
|
class ListProductByTags extends V20180120Rpc |
326
|
|
|
{ |
327
|
|
|
|
328
|
|
|
/** |
329
|
|
|
* @param array $productTag |
330
|
|
|
* |
331
|
|
|
* @return $this |
332
|
|
|
*/ |
333
|
|
|
public function withProductTag(array $productTag) |
334
|
|
|
{ |
335
|
|
|
$this->data['ProductTag'] = $productTag; |
336
|
|
|
foreach ($productTag as $depth1 => $depth1Value) { |
337
|
|
|
$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
338
|
|
|
$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey']; |
339
|
|
|
} |
340
|
|
|
|
341
|
|
|
return $this; |
342
|
|
|
} |
343
|
|
|
} |
344
|
|
|
|
345
|
|
|
/** |
346
|
|
|
* @method string getIotInstanceId() |
347
|
|
|
* @method $this withIotInstanceId($value) |
348
|
|
|
* @method array getProductTagKey() |
349
|
|
|
* @method string getProductKey() |
350
|
|
|
* @method $this withProductKey($value) |
351
|
|
|
*/ |
352
|
|
|
class DeleteProductTags extends V20180120Rpc |
353
|
|
|
{ |
354
|
|
|
|
355
|
|
|
/** |
356
|
|
|
* @param array $productTagKey |
357
|
|
|
* |
358
|
|
|
* @return $this |
359
|
|
|
*/ |
360
|
|
|
public function withProductTagKey(array $productTagKey) |
361
|
|
|
{ |
362
|
|
|
$this->data['ProductTagKey'] = $productTagKey; |
363
|
|
|
foreach ($productTagKey as $i => $iValue) { |
364
|
|
|
$this->options['query']['ProductTagKey.' . ($i + 1)] = $iValue; |
365
|
|
|
} |
366
|
|
|
|
367
|
|
|
return $this; |
368
|
|
|
} |
369
|
|
|
} |
370
|
|
|
|
371
|
|
|
/** |
372
|
|
|
* @method string getIotInstanceId() |
373
|
|
|
* @method $this withIotInstanceId($value) |
374
|
|
|
* @method string getPageSize() |
375
|
|
|
* @method $this withPageSize($value) |
376
|
|
|
* @method string getCurrentPage() |
377
|
|
|
* @method $this withCurrentPage($value) |
378
|
|
|
* @method array getTag() |
379
|
|
|
*/ |
380
|
|
|
class QueryDeviceGroupByTags extends V20180120Rpc |
381
|
|
|
{ |
382
|
|
|
|
383
|
|
|
/** |
384
|
|
|
* @param array $tag |
385
|
|
|
* |
386
|
|
|
* @return $this |
387
|
|
|
*/ |
388
|
|
|
public function withTag(array $tag) |
389
|
|
|
{ |
390
|
|
|
$this->data['Tag'] = $tag; |
391
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
392
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
393
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey']; |
394
|
|
|
} |
395
|
|
|
|
396
|
|
|
return $this; |
397
|
|
|
} |
398
|
|
|
} |
399
|
|
|
|
400
|
|
|
/** |
401
|
|
|
* @method string getIotInstanceId() |
402
|
|
|
* @method $this withIotInstanceId($value) |
403
|
|
|
* @method string getGroupId() |
404
|
|
|
* @method $this withGroupId($value) |
405
|
|
|
* @method string getPageSize() |
406
|
|
|
* @method $this withPageSize($value) |
407
|
|
|
* @method string getCurrentPage() |
408
|
|
|
* @method $this withCurrentPage($value) |
409
|
|
|
*/ |
410
|
|
|
class QueryDeviceListByDeviceGroup extends V20180120Rpc |
411
|
|
|
{ |
412
|
|
|
} |
413
|
|
|
|
414
|
|
|
/** |
415
|
|
|
* @method string getIotInstanceId() |
416
|
|
|
* @method $this withIotInstanceId($value) |
417
|
|
|
* @method string getGroupId() |
418
|
|
|
* @method $this withGroupId($value) |
419
|
|
|
*/ |
420
|
|
|
class QuerySuperDeviceGroup extends V20180120Rpc |
421
|
|
|
{ |
422
|
|
|
} |
423
|
|
|
|
424
|
|
|
/** |
425
|
|
|
* @method string getIotInstanceId() |
426
|
|
|
* @method $this withIotInstanceId($value) |
427
|
|
|
* @method string getPageSize() |
428
|
|
|
* @method $this withPageSize($value) |
429
|
|
|
* @method string getCurrentPage() |
430
|
|
|
* @method $this withCurrentPage($value) |
431
|
|
|
* @method array getTag() |
432
|
|
|
*/ |
433
|
|
|
class QueryDeviceByTags extends V20180120Rpc |
434
|
|
|
{ |
435
|
|
|
|
436
|
|
|
/** |
437
|
|
|
* @param array $tag |
438
|
|
|
* |
439
|
|
|
* @return $this |
440
|
|
|
*/ |
441
|
|
|
public function withTag(array $tag) |
442
|
|
|
{ |
443
|
|
|
$this->data['Tag'] = $tag; |
444
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
445
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
446
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey']; |
447
|
|
|
} |
448
|
|
|
|
449
|
|
|
return $this; |
450
|
|
|
} |
451
|
|
|
} |
452
|
|
|
|
453
|
|
|
/** |
454
|
|
|
* @method string getTagString() |
455
|
|
|
* @method $this withTagString($value) |
456
|
|
|
* @method string getIotInstanceId() |
457
|
|
|
* @method $this withIotInstanceId($value) |
458
|
|
|
* @method string getGroupId() |
459
|
|
|
* @method $this withGroupId($value) |
460
|
|
|
*/ |
461
|
|
|
class SetDeviceGroupTags extends V20180120Rpc |
462
|
|
|
{ |
463
|
|
|
} |
464
|
|
|
|
465
|
|
|
/** |
466
|
|
|
* @method string getArgs() |
467
|
|
|
* @method $this withArgs($value) |
468
|
|
|
* @method string getIdentifier() |
469
|
|
|
* @method $this withIdentifier($value) |
470
|
|
|
* @method string getIotInstanceId() |
471
|
|
|
* @method $this withIotInstanceId($value) |
472
|
|
|
* @method array getDeviceName() |
473
|
|
|
* @method string getProductKey() |
474
|
|
|
* @method $this withProductKey($value) |
475
|
|
|
*/ |
476
|
|
|
class InvokeThingsService extends V20180120Rpc |
477
|
|
|
{ |
478
|
|
|
|
479
|
|
|
/** |
480
|
|
|
* @param array $deviceName |
481
|
|
|
* |
482
|
|
|
* @return $this |
483
|
|
|
*/ |
484
|
|
|
public function withDeviceName(array $deviceName) |
485
|
|
|
{ |
486
|
|
|
$this->data['DeviceName'] = $deviceName; |
487
|
|
|
foreach ($deviceName as $i => $iValue) { |
488
|
|
|
$this->options['query']['DeviceName.' . ($i + 1)] = $iValue; |
489
|
|
|
} |
490
|
|
|
|
491
|
|
|
return $this; |
492
|
|
|
} |
493
|
|
|
} |
494
|
|
|
|
495
|
|
|
/** |
496
|
|
|
* @method string getIotInstanceId() |
497
|
|
|
* @method $this withIotInstanceId($value) |
498
|
|
|
* @method array getDeviceName() |
499
|
|
|
* @method string getProductKey() |
500
|
|
|
* @method $this withProductKey($value) |
501
|
|
|
* @method string getItems() |
502
|
|
|
* @method $this withItems($value) |
503
|
|
|
*/ |
504
|
|
|
class SetDevicesProperty extends V20180120Rpc |
505
|
|
|
{ |
506
|
|
|
|
507
|
|
|
/** |
508
|
|
|
* @param array $deviceName |
509
|
|
|
* |
510
|
|
|
* @return $this |
511
|
|
|
*/ |
512
|
|
|
public function withDeviceName(array $deviceName) |
513
|
|
|
{ |
514
|
|
|
$this->data['DeviceName'] = $deviceName; |
515
|
|
|
foreach ($deviceName as $i => $iValue) { |
516
|
|
|
$this->options['query']['DeviceName.' . ($i + 1)] = $iValue; |
517
|
|
|
} |
518
|
|
|
|
519
|
|
|
return $this; |
520
|
|
|
} |
521
|
|
|
} |
522
|
|
|
|
523
|
|
|
/** |
524
|
|
|
* @method string getAsc() |
525
|
|
|
* @method $this withAsc($value) |
526
|
|
|
* @method array getIdentifier() |
527
|
|
|
* @method string getIotId() |
528
|
|
|
* @method $this withIotId($value) |
529
|
|
|
* @method string getIotInstanceId() |
530
|
|
|
* @method $this withIotInstanceId($value) |
531
|
|
|
* @method string getPageSize() |
532
|
|
|
* @method $this withPageSize($value) |
533
|
|
|
* @method string getEndTime() |
534
|
|
|
* @method $this withEndTime($value) |
535
|
|
|
* @method string getDeviceName() |
536
|
|
|
* @method $this withDeviceName($value) |
537
|
|
|
* @method string getStartTime() |
538
|
|
|
* @method $this withStartTime($value) |
539
|
|
|
* @method string getProductKey() |
540
|
|
|
* @method $this withProductKey($value) |
541
|
|
|
*/ |
542
|
|
|
class QueryDevicePropertiesData extends V20180120Rpc |
543
|
|
|
{ |
544
|
|
|
|
545
|
|
|
/** |
546
|
|
|
* @param array $identifier |
547
|
|
|
* |
548
|
|
|
* @return $this |
549
|
|
|
*/ |
550
|
|
|
public function withIdentifier(array $identifier) |
551
|
|
|
{ |
552
|
|
|
$this->data['Identifier'] = $identifier; |
553
|
|
|
foreach ($identifier as $i => $iValue) { |
554
|
|
|
$this->options['query']['Identifier.' . ($i + 1)] = $iValue; |
555
|
|
|
} |
556
|
|
|
|
557
|
|
|
return $this; |
558
|
|
|
} |
559
|
|
|
} |
560
|
|
|
|
561
|
|
|
/** |
562
|
|
|
* @method array getProductKeyList() |
563
|
|
|
* @method array getCategoryKeyList() |
564
|
|
|
* @method string getIotInstanceId() |
565
|
|
|
* @method $this withIotInstanceId($value) |
566
|
|
|
* @method string getPageSize() |
567
|
|
|
* @method $this withPageSize($value) |
568
|
|
|
* @method string getCurrentPage() |
569
|
|
|
* @method $this withCurrentPage($value) |
570
|
|
|
* @method string getAppKey() |
571
|
|
|
* @method $this withAppKey($value) |
572
|
|
|
* @method array getTagList() |
573
|
|
|
*/ |
574
|
|
|
class QueryAppDeviceList extends V20180120Rpc |
575
|
|
|
{ |
576
|
|
|
|
577
|
|
|
/** |
578
|
|
|
* @param array $productKeyList |
579
|
|
|
* |
580
|
|
|
* @return $this |
581
|
|
|
*/ |
582
|
|
|
public function withProductKeyList(array $productKeyList) |
583
|
|
|
{ |
584
|
|
|
$this->data['ProductKeyList'] = $productKeyList; |
585
|
|
|
foreach ($productKeyList as $i => $iValue) { |
586
|
|
|
$this->options['query']['ProductKeyList.' . ($i + 1)] = $iValue; |
587
|
|
|
} |
588
|
|
|
|
589
|
|
|
return $this; |
590
|
|
|
} |
591
|
|
|
|
592
|
|
|
/** |
593
|
|
|
* @param array $categoryKeyList |
594
|
|
|
* |
595
|
|
|
* @return $this |
596
|
|
|
*/ |
597
|
|
|
public function withCategoryKeyList(array $categoryKeyList) |
598
|
|
|
{ |
599
|
|
|
$this->data['CategoryKeyList'] = $categoryKeyList; |
600
|
|
|
foreach ($categoryKeyList as $i => $iValue) { |
601
|
|
|
$this->options['query']['CategoryKeyList.' . ($i + 1)] = $iValue; |
602
|
|
|
} |
603
|
|
|
|
604
|
|
|
return $this; |
605
|
|
|
} |
606
|
|
|
|
607
|
|
|
/** |
608
|
|
|
* @param array $tagList |
609
|
|
|
* |
610
|
|
|
* @return $this |
611
|
|
|
*/ |
612
|
|
|
public function withTagList(array $tagList) |
613
|
|
|
{ |
614
|
|
|
$this->data['TagList'] = $tagList; |
615
|
|
|
foreach ($tagList as $depth1 => $depth1Value) { |
616
|
|
|
$this->options['query']['TagList.' . ($depth1 + 1) . '.TagName'] = $depth1Value['TagName']; |
617
|
|
|
$this->options['query']['TagList.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
618
|
|
|
} |
619
|
|
|
|
620
|
|
|
return $this; |
621
|
|
|
} |
622
|
|
|
} |
623
|
|
|
|
624
|
|
|
/** |
625
|
|
|
* @method string getIotInstanceId() |
626
|
|
|
* @method $this withIotInstanceId($value) |
627
|
|
|
*/ |
628
|
|
|
class ValidateLaUser extends V20180120Rpc |
629
|
|
|
{ |
630
|
|
|
} |
631
|
|
|
|
632
|
|
|
/** |
633
|
|
|
* @method string getGroupDesc() |
634
|
|
|
* @method $this withGroupDesc($value) |
635
|
|
|
* @method string getIotInstanceId() |
636
|
|
|
* @method $this withIotInstanceId($value) |
637
|
|
|
* @method string getGroupId() |
638
|
|
|
* @method $this withGroupId($value) |
639
|
|
|
*/ |
640
|
|
|
class UpdateDeviceGroup extends V20180120Rpc |
641
|
|
|
{ |
642
|
|
|
} |
643
|
|
|
|
644
|
|
|
/** |
645
|
|
|
* @method string getIotInstanceId() |
646
|
|
|
* @method $this withIotInstanceId($value) |
647
|
|
|
* @method string getGroupId() |
648
|
|
|
* @method $this withGroupId($value) |
649
|
|
|
*/ |
650
|
|
|
class QueryDeviceGroupTagList extends V20180120Rpc |
651
|
|
|
{ |
652
|
|
|
} |
653
|
|
|
|
654
|
|
|
/** |
655
|
|
|
* @method string getIotInstanceId() |
656
|
|
|
* @method $this withIotInstanceId($value) |
657
|
|
|
* @method string getSuperGroupId() |
658
|
|
|
* @method $this withSuperGroupId($value) |
659
|
|
|
* @method string getPageSize() |
660
|
|
|
* @method $this withPageSize($value) |
661
|
|
|
* @method string getCurrentPage() |
662
|
|
|
* @method $this withCurrentPage($value) |
663
|
|
|
* @method string getGroupName() |
664
|
|
|
* @method $this withGroupName($value) |
665
|
|
|
*/ |
666
|
|
|
class QueryDeviceGroupList extends V20180120Rpc |
667
|
|
|
{ |
668
|
|
|
} |
669
|
|
|
|
670
|
|
|
/** |
671
|
|
|
* @method string getIotInstanceId() |
672
|
|
|
* @method $this withIotInstanceId($value) |
673
|
|
|
* @method string getGroupId() |
674
|
|
|
* @method $this withGroupId($value) |
675
|
|
|
*/ |
676
|
|
|
class QueryDeviceGroupInfo extends V20180120Rpc |
677
|
|
|
{ |
678
|
|
|
} |
679
|
|
|
|
680
|
|
|
/** |
681
|
|
|
* @method string getIotInstanceId() |
682
|
|
|
* @method $this withIotInstanceId($value) |
683
|
|
|
* @method string getDeviceName() |
684
|
|
|
* @method $this withDeviceName($value) |
685
|
|
|
* @method string getProductKey() |
686
|
|
|
* @method $this withProductKey($value) |
687
|
|
|
*/ |
688
|
|
|
class QueryDeviceGroupByDevice extends V20180120Rpc |
689
|
|
|
{ |
690
|
|
|
} |
691
|
|
|
|
692
|
|
|
/** |
693
|
|
|
* @method string getIotInstanceId() |
694
|
|
|
* @method $this withIotInstanceId($value) |
695
|
|
|
* @method string getGroupId() |
696
|
|
|
* @method $this withGroupId($value) |
697
|
|
|
*/ |
698
|
|
|
class DeleteDeviceGroup extends V20180120Rpc |
699
|
|
|
{ |
700
|
|
|
} |
701
|
|
|
|
702
|
|
|
/** |
703
|
|
|
* @method string getGroupDesc() |
704
|
|
|
* @method $this withGroupDesc($value) |
705
|
|
|
* @method string getIotInstanceId() |
706
|
|
|
* @method $this withIotInstanceId($value) |
707
|
|
|
* @method string getSuperGroupId() |
708
|
|
|
* @method $this withSuperGroupId($value) |
709
|
|
|
* @method string getGroupName() |
710
|
|
|
* @method $this withGroupName($value) |
711
|
|
|
*/ |
712
|
|
|
class CreateDeviceGroup extends V20180120Rpc |
713
|
|
|
{ |
714
|
|
|
} |
715
|
|
|
|
716
|
|
|
/** |
717
|
|
|
* @method string getIotInstanceId() |
718
|
|
|
* @method $this withIotInstanceId($value) |
719
|
|
|
* @method string getGroupId() |
720
|
|
|
* @method $this withGroupId($value) |
721
|
|
|
* @method array getDevice() |
722
|
|
|
*/ |
723
|
|
|
class BatchDeleteDeviceGroupRelations extends V20180120Rpc |
724
|
|
|
{ |
725
|
|
|
|
726
|
|
|
/** |
727
|
|
|
* @param array $device |
728
|
|
|
* |
729
|
|
|
* @return $this |
730
|
|
|
*/ |
731
|
|
|
public function withDevice(array $device) |
732
|
|
|
{ |
733
|
|
|
$this->data['Device'] = $device; |
734
|
|
|
foreach ($device as $depth1 => $depth1Value) { |
735
|
|
|
$this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName']; |
736
|
|
|
$this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey']; |
737
|
|
|
} |
738
|
|
|
|
739
|
|
|
return $this; |
740
|
|
|
} |
741
|
|
|
} |
742
|
|
|
|
743
|
|
|
/** |
744
|
|
|
* @method string getIotInstanceId() |
745
|
|
|
* @method $this withIotInstanceId($value) |
746
|
|
|
* @method string getGroupId() |
747
|
|
|
* @method $this withGroupId($value) |
748
|
|
|
* @method array getDevice() |
749
|
|
|
*/ |
750
|
|
|
class BatchAddDeviceGroupRelations extends V20180120Rpc |
751
|
|
|
{ |
752
|
|
|
|
753
|
|
|
/** |
754
|
|
|
* @param array $device |
755
|
|
|
* |
756
|
|
|
* @return $this |
757
|
|
|
*/ |
758
|
|
|
public function withDevice(array $device) |
759
|
|
|
{ |
760
|
|
|
$this->data['Device'] = $device; |
761
|
|
|
foreach ($device as $depth1 => $depth1Value) { |
762
|
|
|
$this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName']; |
763
|
|
|
$this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey']; |
764
|
|
|
} |
765
|
|
|
|
766
|
|
|
return $this; |
767
|
|
|
} |
768
|
|
|
} |
769
|
|
|
|
770
|
|
|
/** |
771
|
|
|
* @method string getIotId() |
772
|
|
|
* @method $this withIotId($value) |
773
|
|
|
* @method string getIotInstanceId() |
774
|
|
|
* @method $this withIotInstanceId($value) |
775
|
|
|
* @method string getDeviceName() |
776
|
|
|
* @method $this withDeviceName($value) |
777
|
|
|
* @method string getProductKey() |
778
|
|
|
* @method $this withProductKey($value) |
779
|
|
|
* @method string getProps() |
780
|
|
|
* @method $this withProps($value) |
781
|
|
|
*/ |
782
|
|
|
class SaveDeviceProp extends V20180120Rpc |
783
|
|
|
{ |
784
|
|
|
} |
785
|
|
|
|
786
|
|
|
/** |
787
|
|
|
* @method string getIotId() |
788
|
|
|
* @method $this withIotId($value) |
789
|
|
|
* @method string getIotInstanceId() |
790
|
|
|
* @method $this withIotInstanceId($value) |
791
|
|
|
* @method string getDeviceName() |
792
|
|
|
* @method $this withDeviceName($value) |
793
|
|
|
* @method string getProductKey() |
794
|
|
|
* @method $this withProductKey($value) |
795
|
|
|
* @method string getPropKey() |
796
|
|
|
* @method $this withPropKey($value) |
797
|
|
|
*/ |
798
|
|
|
class DeleteDeviceProp extends V20180120Rpc |
799
|
|
|
{ |
800
|
|
|
} |
801
|
|
|
|
802
|
|
|
/** |
803
|
|
|
* @method string getApplyId() |
804
|
|
|
* @method $this withApplyId($value) |
805
|
|
|
* @method string getIotInstanceId() |
806
|
|
|
* @method $this withIotInstanceId($value) |
807
|
|
|
* @method string getPageSize() |
808
|
|
|
* @method $this withPageSize($value) |
809
|
|
|
* @method string getCurrentPage() |
810
|
|
|
* @method $this withCurrentPage($value) |
811
|
|
|
*/ |
812
|
|
|
class QueryPageByApplyId extends V20180120Rpc |
813
|
|
|
{ |
814
|
|
|
} |
815
|
|
|
|
816
|
|
|
/** |
817
|
|
|
* @method string getIotInstanceId() |
818
|
|
|
* @method $this withIotInstanceId($value) |
819
|
|
|
* @method string getPageSize() |
820
|
|
|
* @method $this withPageSize($value) |
821
|
|
|
* @method string getCurrentPage() |
822
|
|
|
* @method $this withCurrentPage($value) |
823
|
|
|
* @method string getProductKey() |
824
|
|
|
* @method $this withProductKey($value) |
825
|
|
|
*/ |
826
|
|
|
class QueryDevice extends V20180120Rpc |
827
|
|
|
{ |
828
|
|
|
} |
829
|
|
|
|
830
|
|
|
/** |
831
|
|
|
* @method array getIotId() |
832
|
|
|
* @method string getIotInstanceId() |
833
|
|
|
* @method $this withIotInstanceId($value) |
834
|
|
|
* @method array getDeviceName() |
835
|
|
|
* @method string getProductKey() |
836
|
|
|
* @method $this withProductKey($value) |
837
|
|
|
*/ |
838
|
|
|
class BatchGetDeviceState extends V20180120Rpc |
839
|
|
|
{ |
840
|
|
|
|
841
|
|
|
/** |
842
|
|
|
* @param array $iotId |
843
|
|
|
* |
844
|
|
|
* @return $this |
845
|
|
|
*/ |
846
|
|
|
public function withIotId(array $iotId) |
847
|
|
|
{ |
848
|
|
|
$this->data['IotId'] = $iotId; |
849
|
|
|
foreach ($iotId as $i => $iValue) { |
850
|
|
|
$this->options['query']['IotId.' . ($i + 1)] = $iValue; |
851
|
|
|
} |
852
|
|
|
|
853
|
|
|
return $this; |
854
|
|
|
} |
855
|
|
|
|
856
|
|
|
/** |
857
|
|
|
* @param array $deviceName |
858
|
|
|
* |
859
|
|
|
* @return $this |
860
|
|
|
*/ |
861
|
|
|
public function withDeviceName(array $deviceName) |
862
|
|
|
{ |
863
|
|
|
$this->data['DeviceName'] = $deviceName; |
864
|
|
|
foreach ($deviceName as $i => $iValue) { |
865
|
|
|
$this->options['query']['DeviceName.' . ($i + 1)] = $iValue; |
866
|
|
|
} |
867
|
|
|
|
868
|
|
|
return $this; |
869
|
|
|
} |
870
|
|
|
} |
871
|
|
|
|
872
|
|
|
/** |
873
|
|
|
* @method string getIotInstanceId() |
874
|
|
|
* @method $this withIotInstanceId($value) |
875
|
|
|
* @method string getRequestBase64Byte() |
876
|
|
|
* @method $this withRequestBase64Byte($value) |
877
|
|
|
* @method string getTopic() |
878
|
|
|
* @method $this withTopic($value) |
879
|
|
|
* @method string getDeviceName() |
880
|
|
|
* @method $this withDeviceName($value) |
881
|
|
|
* @method string getProductKey() |
882
|
|
|
* @method $this withProductKey($value) |
883
|
|
|
* @method string getTimeout() |
884
|
|
|
* @method $this withTimeout($value) |
885
|
|
|
*/ |
886
|
|
|
class RRpc extends V20180120Rpc |
887
|
|
|
{ |
888
|
|
|
} |
889
|
|
|
|
890
|
|
|
/** |
891
|
|
|
* @method string getIotInstanceId() |
892
|
|
|
* @method $this withIotInstanceId($value) |
893
|
|
|
* @method string getTopic() |
894
|
|
|
* @method $this withTopic($value) |
895
|
|
|
*/ |
896
|
|
|
class QueryTopicReverseRouteTable extends V20180120Rpc |
897
|
|
|
{ |
898
|
|
|
} |
899
|
|
|
|
900
|
|
|
/** |
901
|
|
|
* @method string getIotInstanceId() |
902
|
|
|
* @method $this withIotInstanceId($value) |
903
|
|
|
* @method string getTopic() |
904
|
|
|
* @method $this withTopic($value) |
905
|
|
|
*/ |
906
|
|
|
class QueryTopicRouteTable extends V20180120Rpc |
907
|
|
|
{ |
908
|
|
|
} |
909
|
|
|
|
910
|
|
|
/** |
911
|
|
|
* @method string getTopicFullName() |
912
|
|
|
* @method $this withTopicFullName($value) |
913
|
|
|
* @method string getMessageContent() |
914
|
|
|
* @method $this withMessageContent($value) |
915
|
|
|
* @method string getIotInstanceId() |
916
|
|
|
* @method $this withIotInstanceId($value) |
917
|
|
|
* @method string getProductKey() |
918
|
|
|
* @method $this withProductKey($value) |
919
|
|
|
*/ |
920
|
|
|
class PubBroadcast extends V20180120Rpc |
921
|
|
|
{ |
922
|
|
|
} |
923
|
|
|
|
924
|
|
|
/** |
925
|
|
|
* @method array getDstTopic() |
926
|
|
|
* @method string getIotInstanceId() |
927
|
|
|
* @method $this withIotInstanceId($value) |
928
|
|
|
* @method string getSrcTopic() |
929
|
|
|
* @method $this withSrcTopic($value) |
930
|
|
|
*/ |
931
|
|
|
class DeleteTopicRouteTable extends V20180120Rpc |
932
|
|
|
{ |
933
|
|
|
|
934
|
|
|
/** |
935
|
|
|
* @param array $dstTopic |
936
|
|
|
* |
937
|
|
|
* @return $this |
938
|
|
|
*/ |
939
|
|
|
public function withDstTopic(array $dstTopic) |
940
|
|
|
{ |
941
|
|
|
$this->data['DstTopic'] = $dstTopic; |
942
|
|
|
foreach ($dstTopic as $i => $iValue) { |
943
|
|
|
$this->options['query']['DstTopic.' . ($i + 1)] = $iValue; |
944
|
|
|
} |
945
|
|
|
|
946
|
|
|
return $this; |
947
|
|
|
} |
948
|
|
|
} |
949
|
|
|
|
950
|
|
|
/** |
951
|
|
|
* @method array getDstTopic() |
952
|
|
|
* @method string getIotInstanceId() |
953
|
|
|
* @method $this withIotInstanceId($value) |
954
|
|
|
* @method string getSrcTopic() |
955
|
|
|
* @method $this withSrcTopic($value) |
956
|
|
|
*/ |
957
|
|
|
class CreateTopicRouteTable extends V20180120Rpc |
958
|
|
|
{ |
959
|
|
|
|
960
|
|
|
/** |
961
|
|
|
* @param array $dstTopic |
962
|
|
|
* |
963
|
|
|
* @return $this |
964
|
|
|
*/ |
965
|
|
|
public function withDstTopic(array $dstTopic) |
966
|
|
|
{ |
967
|
|
|
$this->data['DstTopic'] = $dstTopic; |
968
|
|
|
foreach ($dstTopic as $i => $iValue) { |
969
|
|
|
$this->options['query']['DstTopic.' . ($i + 1)] = $iValue; |
970
|
|
|
} |
971
|
|
|
|
972
|
|
|
return $this; |
973
|
|
|
} |
974
|
|
|
} |
975
|
|
|
|
976
|
|
|
/** |
977
|
|
|
* @method array getProductKeyList() |
978
|
|
|
* @method array getCategoryKeyList() |
979
|
|
|
* @method string getPageSize() |
980
|
|
|
* @method $this withPageSize($value) |
981
|
|
|
* @method string getCurrentPage() |
982
|
|
|
* @method $this withCurrentPage($value) |
983
|
|
|
* @method string getAppKey() |
984
|
|
|
* @method $this withAppKey($value) |
985
|
|
|
* @method array getTagList() |
986
|
|
|
*/ |
987
|
|
|
class QueryAhDeviceList extends V20180120Rpc |
988
|
|
|
{ |
989
|
|
|
|
990
|
|
|
/** |
991
|
|
|
* @param array $productKeyList |
992
|
|
|
* |
993
|
|
|
* @return $this |
994
|
|
|
*/ |
995
|
|
|
public function withProductKeyList(array $productKeyList) |
996
|
|
|
{ |
997
|
|
|
$this->data['ProductKeyList'] = $productKeyList; |
998
|
|
|
foreach ($productKeyList as $i => $iValue) { |
999
|
|
|
$this->options['query']['ProductKeyList.' . ($i + 1)] = $iValue; |
1000
|
|
|
} |
1001
|
|
|
|
1002
|
|
|
return $this; |
1003
|
|
|
} |
1004
|
|
|
|
1005
|
|
|
/** |
1006
|
|
|
* @param array $categoryKeyList |
1007
|
|
|
* |
1008
|
|
|
* @return $this |
1009
|
|
|
*/ |
1010
|
|
|
public function withCategoryKeyList(array $categoryKeyList) |
1011
|
|
|
{ |
1012
|
|
|
$this->data['CategoryKeyList'] = $categoryKeyList; |
1013
|
|
|
foreach ($categoryKeyList as $i => $iValue) { |
1014
|
|
|
$this->options['query']['CategoryKeyList.' . ($i + 1)] = $iValue; |
1015
|
|
|
} |
1016
|
|
|
|
1017
|
|
|
return $this; |
1018
|
|
|
} |
1019
|
|
|
|
1020
|
|
|
/** |
1021
|
|
|
* @param array $tagList |
1022
|
|
|
* |
1023
|
|
|
* @return $this |
1024
|
|
|
*/ |
1025
|
|
|
public function withTagList(array $tagList) |
1026
|
|
|
{ |
1027
|
|
|
$this->data['TagList'] = $tagList; |
1028
|
|
|
foreach ($tagList as $depth1 => $depth1Value) { |
1029
|
|
|
$this->options['query']['TagList.' . ($depth1 + 1) . '.TagName'] = $depth1Value['TagName']; |
1030
|
|
|
$this->options['query']['TagList.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
1031
|
|
|
} |
1032
|
|
|
|
1033
|
|
|
return $this; |
1034
|
|
|
} |
1035
|
|
|
} |
1036
|
|
|
|
1037
|
|
|
/** |
1038
|
|
|
* @method array getProductKeyList() |
1039
|
|
|
* @method array getCategoryKeyList() |
1040
|
|
|
* @method string getPageSize() |
1041
|
|
|
* @method $this withPageSize($value) |
1042
|
|
|
* @method string getCurrentPage() |
1043
|
|
|
* @method $this withCurrentPage($value) |
1044
|
|
|
* @method string getAppKey() |
1045
|
|
|
* @method $this withAppKey($value) |
1046
|
|
|
* @method array getTagList() |
1047
|
|
|
*/ |
1048
|
|
|
class AhQueryDeviceList extends V20180120Rpc |
1049
|
|
|
{ |
1050
|
|
|
|
1051
|
|
|
/** |
1052
|
|
|
* @param array $productKeyList |
1053
|
|
|
* |
1054
|
|
|
* @return $this |
1055
|
|
|
*/ |
1056
|
|
|
public function withProductKeyList(array $productKeyList) |
1057
|
|
|
{ |
1058
|
|
|
$this->data['ProductKeyList'] = $productKeyList; |
1059
|
|
|
foreach ($productKeyList as $i => $iValue) { |
1060
|
|
|
$this->options['query']['ProductKeyList.' . ($i + 1)] = $iValue; |
1061
|
|
|
} |
1062
|
|
|
|
1063
|
|
|
return $this; |
1064
|
|
|
} |
1065
|
|
|
|
1066
|
|
|
/** |
1067
|
|
|
* @param array $categoryKeyList |
1068
|
|
|
* |
1069
|
|
|
* @return $this |
1070
|
|
|
*/ |
1071
|
|
|
public function withCategoryKeyList(array $categoryKeyList) |
1072
|
|
|
{ |
1073
|
|
|
$this->data['CategoryKeyList'] = $categoryKeyList; |
1074
|
|
|
foreach ($categoryKeyList as $i => $iValue) { |
1075
|
|
|
$this->options['query']['CategoryKeyList.' . ($i + 1)] = $iValue; |
1076
|
|
|
} |
1077
|
|
|
|
1078
|
|
|
return $this; |
1079
|
|
|
} |
1080
|
|
|
|
1081
|
|
|
/** |
1082
|
|
|
* @param array $tagList |
1083
|
|
|
* |
1084
|
|
|
* @return $this |
1085
|
|
|
*/ |
1086
|
|
|
public function withTagList(array $tagList) |
1087
|
|
|
{ |
1088
|
|
|
$this->data['TagList'] = $tagList; |
1089
|
|
|
foreach ($tagList as $depth1 => $depth1Value) { |
1090
|
|
|
$this->options['query']['TagList.' . ($depth1 + 1) . '.TagName'] = $depth1Value['TagName']; |
1091
|
|
|
$this->options['query']['TagList.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue']; |
1092
|
|
|
} |
1093
|
|
|
|
1094
|
|
|
return $this; |
1095
|
|
|
} |
1096
|
|
|
} |
1097
|
|
|
|
1098
|
|
|
/** |
1099
|
|
|
* @method string getIotId() |
1100
|
|
|
* @method $this withIotId($value) |
1101
|
|
|
* @method string getIotInstanceId() |
1102
|
|
|
* @method $this withIotInstanceId($value) |
1103
|
|
|
* @method string getDeviceName() |
1104
|
|
|
* @method $this withDeviceName($value) |
1105
|
|
|
* @method string getProductKey() |
1106
|
|
|
* @method $this withProductKey($value) |
1107
|
|
|
*/ |
1108
|
|
|
class QueryDeviceProp extends V20180120Rpc |
1109
|
|
|
{ |
1110
|
|
|
} |
1111
|
|
|
|
1112
|
|
|
/** |
1113
|
|
|
* @method string getConfiguration() |
1114
|
|
|
* @method $this withConfiguration($value) |
1115
|
|
|
* @method string getIotInstanceId() |
1116
|
|
|
* @method $this withIotInstanceId($value) |
1117
|
|
|
* @method string getRuleId() |
1118
|
|
|
* @method $this withRuleId($value) |
1119
|
|
|
* @method string getType() |
1120
|
|
|
* @method $this withType($value) |
1121
|
|
|
* @method string getErrorActionFlag() |
1122
|
|
|
* @method $this withErrorActionFlag($value) |
1123
|
|
|
*/ |
1124
|
|
|
class CreateRuleAction extends V20180120Rpc |
1125
|
|
|
{ |
1126
|
|
|
} |
1127
|
|
|
|
1128
|
|
|
/** |
1129
|
|
|
* @method string getSelect() |
1130
|
|
|
* @method $this withSelect($value) |
1131
|
|
|
* @method string getRuleDesc() |
1132
|
|
|
* @method $this withRuleDesc($value) |
1133
|
|
|
* @method string getDataType() |
1134
|
|
|
* @method $this withDataType($value) |
1135
|
|
|
* @method string getIotInstanceId() |
1136
|
|
|
* @method $this withIotInstanceId($value) |
1137
|
|
|
* @method string getName() |
1138
|
|
|
* @method $this withName($value) |
1139
|
|
|
* @method string getWhere() |
1140
|
|
|
* @method $this withWhere($value) |
1141
|
|
|
* @method string getProductKey() |
1142
|
|
|
* @method $this withProductKey($value) |
1143
|
|
|
* @method string getTopicType() |
1144
|
|
|
* @method $this withTopicType($value) |
1145
|
|
|
* @method string getShortTopic() |
1146
|
|
|
* @method $this withShortTopic($value) |
1147
|
|
|
*/ |
1148
|
|
|
class CreateRule extends V20180120Rpc |
1149
|
|
|
{ |
1150
|
|
|
} |
1151
|
|
|
|
1152
|
|
|
/** |
1153
|
|
|
* @method string getIotInstanceId() |
1154
|
|
|
* @method $this withIotInstanceId($value) |
1155
|
|
|
* @method string getRuleId() |
1156
|
|
|
* @method $this withRuleId($value) |
1157
|
|
|
*/ |
1158
|
|
|
class ListRuleActions extends V20180120Rpc |
1159
|
|
|
{ |
1160
|
|
|
} |
1161
|
|
|
|
1162
|
|
|
/** |
1163
|
|
|
* @method string getIotInstanceId() |
1164
|
|
|
* @method $this withIotInstanceId($value) |
1165
|
|
|
* @method string getRuleId() |
1166
|
|
|
* @method $this withRuleId($value) |
1167
|
|
|
*/ |
1168
|
|
|
class StartRule extends V20180120Rpc |
1169
|
|
|
{ |
1170
|
|
|
} |
1171
|
|
|
|
1172
|
|
|
/** |
1173
|
|
|
* @method string getIotInstanceId() |
1174
|
|
|
* @method $this withIotInstanceId($value) |
1175
|
|
|
* @method string getProductKey() |
1176
|
|
|
* @method $this withProductKey($value) |
1177
|
|
|
*/ |
1178
|
|
|
class QueryProductTopic extends V20180120Rpc |
1179
|
|
|
{ |
1180
|
|
|
} |
1181
|
|
|
|
1182
|
|
|
/** |
1183
|
|
|
* @method string getIotInstanceId() |
1184
|
|
|
* @method $this withIotInstanceId($value) |
1185
|
|
|
* @method string getActionId() |
1186
|
|
|
* @method $this withActionId($value) |
1187
|
|
|
*/ |
1188
|
|
|
class DeleteRuleAction extends V20180120Rpc |
1189
|
|
|
{ |
1190
|
|
|
} |
1191
|
|
|
|
1192
|
|
|
/** |
1193
|
|
|
* @method string getIotInstanceId() |
1194
|
|
|
* @method $this withIotInstanceId($value) |
1195
|
|
|
* @method string getRuleId() |
1196
|
|
|
* @method $this withRuleId($value) |
1197
|
|
|
*/ |
1198
|
|
|
class StopRule extends V20180120Rpc |
1199
|
|
|
{ |
1200
|
|
|
} |
1201
|
|
|
|
1202
|
|
|
/** |
1203
|
|
|
* @method string getTopicFullName() |
1204
|
|
|
* @method $this withTopicFullName($value) |
1205
|
|
|
* @method string getQos() |
1206
|
|
|
* @method $this withQos($value) |
1207
|
|
|
* @method string getMessageContent() |
1208
|
|
|
* @method $this withMessageContent($value) |
1209
|
|
|
* @method string getIotInstanceId() |
1210
|
|
|
* @method $this withIotInstanceId($value) |
1211
|
|
|
* @method string getProductKey() |
1212
|
|
|
* @method $this withProductKey($value) |
1213
|
|
|
*/ |
1214
|
|
|
class Pub extends V20180120Rpc |
1215
|
|
|
{ |
1216
|
|
|
} |
1217
|
|
|
|
1218
|
|
|
/** |
1219
|
|
|
* @method string getSearchName() |
1220
|
|
|
* @method $this withSearchName($value) |
1221
|
|
|
* @method string getIotInstanceId() |
1222
|
|
|
* @method $this withIotInstanceId($value) |
1223
|
|
|
* @method string getPageSize() |
1224
|
|
|
* @method $this withPageSize($value) |
1225
|
|
|
* @method string getCurrentPage() |
1226
|
|
|
* @method $this withCurrentPage($value) |
1227
|
|
|
*/ |
1228
|
|
|
class ListRule extends V20180120Rpc |
1229
|
|
|
{ |
1230
|
|
|
} |
1231
|
|
|
|
1232
|
|
|
/** |
1233
|
|
|
* @method string getIotInstanceId() |
1234
|
|
|
* @method $this withIotInstanceId($value) |
1235
|
|
|
* @method string getRuleId() |
1236
|
|
|
* @method $this withRuleId($value) |
1237
|
|
|
*/ |
1238
|
|
|
class GetRule extends V20180120Rpc |
1239
|
|
|
{ |
1240
|
|
|
} |
1241
|
|
|
|
1242
|
|
|
/** |
1243
|
|
|
* @method string getIotInstanceId() |
1244
|
|
|
* @method $this withIotInstanceId($value) |
1245
|
|
|
* @method string getProductKey() |
1246
|
|
|
* @method $this withProductKey($value) |
1247
|
|
|
* @method string getTopicShortName() |
1248
|
|
|
* @method $this withTopicShortName($value) |
1249
|
|
|
* @method string getOperation() |
1250
|
|
|
* @method $this withOperation($value) |
1251
|
|
|
* @method string getDesc() |
1252
|
|
|
* @method $this withDesc($value) |
1253
|
|
|
*/ |
1254
|
|
|
class CreateProductTopic extends V20180120Rpc |
1255
|
|
|
{ |
1256
|
|
|
} |
1257
|
|
|
|
1258
|
|
|
/** |
1259
|
|
|
* @method string getShadowMessage() |
1260
|
|
|
* @method $this withShadowMessage($value) |
1261
|
|
|
* @method string getIotInstanceId() |
1262
|
|
|
* @method $this withIotInstanceId($value) |
1263
|
|
|
* @method string getDeviceName() |
1264
|
|
|
* @method $this withDeviceName($value) |
1265
|
|
|
* @method string getProductKey() |
1266
|
|
|
* @method $this withProductKey($value) |
1267
|
|
|
*/ |
1268
|
|
|
class GetDeviceShadow extends V20180120Rpc |
1269
|
|
|
{ |
1270
|
|
|
} |
1271
|
|
|
|
1272
|
|
|
/** |
1273
|
|
|
* @method string getTopicId() |
1274
|
|
|
* @method $this withTopicId($value) |
1275
|
|
|
* @method string getIotInstanceId() |
1276
|
|
|
* @method $this withIotInstanceId($value) |
1277
|
|
|
*/ |
1278
|
|
|
class DeleteProductTopic extends V20180120Rpc |
1279
|
|
|
{ |
1280
|
|
|
} |
1281
|
|
|
|
1282
|
|
|
/** |
1283
|
|
|
* @method string getIotInstanceId() |
1284
|
|
|
* @method $this withIotInstanceId($value) |
1285
|
|
|
* @method string getRuleId() |
1286
|
|
|
* @method $this withRuleId($value) |
1287
|
|
|
*/ |
1288
|
|
|
class DeleteRule extends V20180120Rpc |
1289
|
|
|
{ |
1290
|
|
|
} |
1291
|
|
|
|
1292
|
|
|
/** |
1293
|
|
|
* @method string getTopicId() |
1294
|
|
|
* @method $this withTopicId($value) |
1295
|
|
|
* @method string getIotInstanceId() |
1296
|
|
|
* @method $this withIotInstanceId($value) |
1297
|
|
|
* @method string getOperation() |
1298
|
|
|
* @method $this withOperation($value) |
1299
|
|
|
* @method string getTopicShortName() |
1300
|
|
|
* @method $this withTopicShortName($value) |
1301
|
|
|
* @method string getDesc() |
1302
|
|
|
* @method $this withDesc($value) |
1303
|
|
|
*/ |
1304
|
|
|
class UpdateProductTopic extends V20180120Rpc |
1305
|
|
|
{ |
1306
|
|
|
} |
1307
|
|
|
|
1308
|
|
|
/** |
1309
|
|
|
* @method string getIotInstanceId() |
1310
|
|
|
* @method $this withIotInstanceId($value) |
1311
|
|
|
* @method string getActionId() |
1312
|
|
|
* @method $this withActionId($value) |
1313
|
|
|
*/ |
1314
|
|
|
class GetRuleAction extends V20180120Rpc |
1315
|
|
|
{ |
1316
|
|
|
} |
1317
|
|
|
|
1318
|
|
|
/** |
1319
|
|
|
* @method string getConfiguration() |
1320
|
|
|
* @method $this withConfiguration($value) |
1321
|
|
|
* @method string getIotInstanceId() |
1322
|
|
|
* @method $this withIotInstanceId($value) |
1323
|
|
|
* @method string getActionId() |
1324
|
|
|
* @method $this withActionId($value) |
1325
|
|
|
* @method string getType() |
1326
|
|
|
* @method $this withType($value) |
1327
|
|
|
*/ |
1328
|
|
|
class UpdateRuleAction extends V20180120Rpc |
1329
|
|
|
{ |
1330
|
|
|
} |
1331
|
|
|
|
1332
|
|
|
/** |
1333
|
|
|
* @method string getShadowMessage() |
1334
|
|
|
* @method $this withShadowMessage($value) |
1335
|
|
|
* @method string getIotInstanceId() |
1336
|
|
|
* @method $this withIotInstanceId($value) |
1337
|
|
|
* @method string getDeviceName() |
1338
|
|
|
* @method $this withDeviceName($value) |
1339
|
|
|
* @method string getProductKey() |
1340
|
|
|
* @method $this withProductKey($value) |
1341
|
|
|
*/ |
1342
|
|
|
class UpdateDeviceShadow extends V20180120Rpc |
1343
|
|
|
{ |
1344
|
|
|
} |
1345
|
|
|
|
1346
|
|
|
/** |
1347
|
|
|
* @method string getSelect() |
1348
|
|
|
* @method $this withSelect($value) |
1349
|
|
|
* @method string getRuleDesc() |
1350
|
|
|
* @method $this withRuleDesc($value) |
1351
|
|
|
* @method string getIotInstanceId() |
1352
|
|
|
* @method $this withIotInstanceId($value) |
1353
|
|
|
* @method string getName() |
1354
|
|
|
* @method $this withName($value) |
1355
|
|
|
* @method string getWhere() |
1356
|
|
|
* @method $this withWhere($value) |
1357
|
|
|
* @method string getRuleId() |
1358
|
|
|
* @method $this withRuleId($value) |
1359
|
|
|
* @method string getProductKey() |
1360
|
|
|
* @method $this withProductKey($value) |
1361
|
|
|
* @method string getTopicType() |
1362
|
|
|
* @method $this withTopicType($value) |
1363
|
|
|
* @method string getShortTopic() |
1364
|
|
|
* @method $this withShortTopic($value) |
1365
|
|
|
*/ |
1366
|
|
|
class UpdateRule extends V20180120Rpc |
1367
|
|
|
{ |
1368
|
|
|
} |
1369
|
|
|
|
1370
|
|
|
/** |
1371
|
|
|
* @method string getIotId() |
1372
|
|
|
* @method $this withIotId($value) |
1373
|
|
|
* @method string getIotInstanceId() |
1374
|
|
|
* @method $this withIotInstanceId($value) |
1375
|
|
|
* @method string getDeviceName() |
1376
|
|
|
* @method $this withDeviceName($value) |
1377
|
|
|
* @method string getProductKey() |
1378
|
|
|
* @method $this withProductKey($value) |
1379
|
|
|
*/ |
1380
|
|
|
class GetGatewayBySubDevice extends V20180120Rpc |
1381
|
|
|
{ |
1382
|
|
|
} |
1383
|
|
|
|
1384
|
|
|
/** |
1385
|
|
|
* @method string getApplyId() |
1386
|
|
|
* @method $this withApplyId($value) |
1387
|
|
|
* @method string getIotInstanceId() |
1388
|
|
|
* @method $this withIotInstanceId($value) |
1389
|
|
|
* @method string getProductKey() |
1390
|
|
|
* @method $this withProductKey($value) |
1391
|
|
|
*/ |
1392
|
|
|
class QueryBatchRegisterDeviceStatus extends V20180120Rpc |
1393
|
|
|
{ |
1394
|
|
|
} |
1395
|
|
|
|
1396
|
|
|
/** |
1397
|
|
|
* @method string getIotId() |
1398
|
|
|
* @method $this withIotId($value) |
1399
|
|
|
* @method string getIotInstanceId() |
1400
|
|
|
* @method $this withIotInstanceId($value) |
1401
|
|
|
* @method string getDeviceName() |
1402
|
|
|
* @method $this withDeviceName($value) |
1403
|
|
|
* @method string getProductKey() |
1404
|
|
|
* @method $this withProductKey($value) |
1405
|
|
|
*/ |
1406
|
|
|
class RemoveThingTopo extends V20180120Rpc |
1407
|
|
|
{ |
1408
|
|
|
} |
1409
|
|
|
|
1410
|
|
|
/** |
1411
|
|
|
* @method string getIotId() |
1412
|
|
|
* @method $this withIotId($value) |
1413
|
|
|
* @method string getPageNo() |
1414
|
|
|
* @method $this withPageNo($value) |
1415
|
|
|
* @method string getIotInstanceId() |
1416
|
|
|
* @method $this withIotInstanceId($value) |
1417
|
|
|
* @method string getPageSize() |
1418
|
|
|
* @method $this withPageSize($value) |
1419
|
|
|
* @method string getDeviceName() |
1420
|
|
|
* @method $this withDeviceName($value) |
1421
|
|
|
* @method string getProductKey() |
1422
|
|
|
* @method $this withProductKey($value) |
1423
|
|
|
*/ |
1424
|
|
|
class GetThingTopo extends V20180120Rpc |
1425
|
|
|
{ |
1426
|
|
|
} |
1427
|
|
|
|
1428
|
|
|
/** |
1429
|
|
|
* @method string getGwProductKey() |
1430
|
|
|
* @method $this withGwProductKey($value) |
1431
|
|
|
* @method string getGwDeviceName() |
1432
|
|
|
* @method $this withGwDeviceName($value) |
1433
|
|
|
* @method string getIotInstanceId() |
1434
|
|
|
* @method $this withIotInstanceId($value) |
1435
|
|
|
* @method string getGwIotId() |
1436
|
|
|
* @method $this withGwIotId($value) |
1437
|
|
|
* @method string getDeviceListStr() |
1438
|
|
|
* @method $this withDeviceListStr($value) |
1439
|
|
|
*/ |
1440
|
|
|
class NotifyAddThingTopo extends V20180120Rpc |
1441
|
|
|
{ |
1442
|
|
|
} |
1443
|
|
|
|
1444
|
|
|
/** |
1445
|
|
|
* @method string getAsc() |
1446
|
|
|
* @method $this withAsc($value) |
1447
|
|
|
* @method string getIdentifier() |
1448
|
|
|
* @method $this withIdentifier($value) |
1449
|
|
|
* @method string getIotId() |
1450
|
|
|
* @method $this withIotId($value) |
1451
|
|
|
* @method string getIotInstanceId() |
1452
|
|
|
* @method $this withIotInstanceId($value) |
1453
|
|
|
* @method string getPageSize() |
1454
|
|
|
* @method $this withPageSize($value) |
1455
|
|
|
* @method string getEndTime() |
1456
|
|
|
* @method $this withEndTime($value) |
1457
|
|
|
* @method string getDeviceName() |
1458
|
|
|
* @method $this withDeviceName($value) |
1459
|
|
|
* @method string getStartTime() |
1460
|
|
|
* @method $this withStartTime($value) |
1461
|
|
|
* @method string getProductKey() |
1462
|
|
|
* @method $this withProductKey($value) |
1463
|
|
|
*/ |
1464
|
|
|
class QueryDevicePropertyData extends V20180120Rpc |
1465
|
|
|
{ |
1466
|
|
|
} |
1467
|
|
|
|
1468
|
|
|
/** |
1469
|
|
|
* @method string getIotId() |
1470
|
|
|
* @method $this withIotId($value) |
1471
|
|
|
* @method string getIotInstanceId() |
1472
|
|
|
* @method $this withIotInstanceId($value) |
1473
|
|
|
* @method string getDeviceName() |
1474
|
|
|
* @method $this withDeviceName($value) |
1475
|
|
|
* @method string getProductKey() |
1476
|
|
|
* @method $this withProductKey($value) |
1477
|
|
|
*/ |
1478
|
|
|
class QueryDevicePropertyStatus extends V20180120Rpc |
1479
|
|
|
{ |
1480
|
|
|
} |
1481
|
|
|
|
1482
|
|
|
/** |
1483
|
|
|
* @method string getIotInstanceId() |
1484
|
|
|
* @method $this withIotInstanceId($value) |
1485
|
|
|
* @method string getCount() |
1486
|
|
|
* @method $this withCount($value) |
1487
|
|
|
* @method string getProductKey() |
1488
|
|
|
* @method $this withProductKey($value) |
1489
|
|
|
*/ |
1490
|
|
|
class BatchRegisterDevice extends V20180120Rpc |
1491
|
|
|
{ |
1492
|
|
|
} |
1493
|
|
|
|
1494
|
|
|
/** |
1495
|
|
|
* @method string getApplyId() |
1496
|
|
|
* @method $this withApplyId($value) |
1497
|
|
|
* @method string getIotInstanceId() |
1498
|
|
|
* @method $this withIotInstanceId($value) |
1499
|
|
|
* @method string getProductKey() |
1500
|
|
|
* @method $this withProductKey($value) |
1501
|
|
|
*/ |
1502
|
|
|
class BatchRegisterDeviceWithApplyId extends V20180120Rpc |
1503
|
|
|
{ |
1504
|
|
|
} |
1505
|
|
|
|
1506
|
|
|
/** |
1507
|
|
|
* @method string getIotInstanceId() |
1508
|
|
|
* @method $this withIotInstanceId($value) |
1509
|
|
|
* @method array getDeviceName() |
1510
|
|
|
* @method string getProductKey() |
1511
|
|
|
* @method $this withProductKey($value) |
1512
|
|
|
*/ |
1513
|
|
|
class BatchCheckDeviceNames extends V20180120Rpc |
1514
|
|
|
{ |
1515
|
|
|
|
1516
|
|
|
/** |
1517
|
|
|
* @param array $deviceName |
1518
|
|
|
* |
1519
|
|
|
* @return $this |
1520
|
|
|
*/ |
1521
|
|
|
public function withDeviceName(array $deviceName) |
1522
|
|
|
{ |
1523
|
|
|
$this->data['DeviceName'] = $deviceName; |
1524
|
|
|
foreach ($deviceName as $i => $iValue) { |
1525
|
|
|
$this->options['query']['DeviceName.' . ($i + 1)] = $iValue; |
1526
|
|
|
} |
1527
|
|
|
|
1528
|
|
|
return $this; |
1529
|
|
|
} |
1530
|
|
|
} |
1531
|
|
|
|
1532
|
|
|
/** |
1533
|
|
|
* @method string getIotInstanceId() |
1534
|
|
|
* @method $this withIotInstanceId($value) |
1535
|
|
|
* @method string getProductName() |
1536
|
|
|
* @method $this withProductName($value) |
1537
|
|
|
* @method string getDescription() |
1538
|
|
|
* @method $this withDescription($value) |
1539
|
|
|
* @method string getProductKey() |
1540
|
|
|
* @method $this withProductKey($value) |
1541
|
|
|
*/ |
1542
|
|
|
class UpdateProduct extends V20180120Rpc |
1543
|
|
|
{ |
1544
|
|
|
} |
1545
|
|
|
|
1546
|
|
|
/** |
1547
|
|
|
* @method string getPinCode() |
1548
|
|
|
* @method $this withPinCode($value) |
1549
|
|
|
* @method string getIotInstanceId() |
1550
|
|
|
* @method $this withIotInstanceId($value) |
1551
|
|
|
* @method string getNickname() |
1552
|
|
|
* @method $this withNickname($value) |
1553
|
|
|
* @method string getDeviceName() |
1554
|
|
|
* @method $this withDeviceName($value) |
1555
|
|
|
* @method string getProductKey() |
1556
|
|
|
* @method $this withProductKey($value) |
1557
|
|
|
* @method string getDevEui() |
1558
|
|
|
* @method $this withDevEui($value) |
1559
|
|
|
*/ |
1560
|
|
|
class RegisterDevice extends V20180120Rpc |
1561
|
|
|
{ |
1562
|
|
|
} |
1563
|
|
|
|
1564
|
|
|
/** |
1565
|
|
|
* @method string getIotId() |
1566
|
|
|
* @method $this withIotId($value) |
1567
|
|
|
* @method string getIotInstanceId() |
1568
|
|
|
* @method $this withIotInstanceId($value) |
1569
|
|
|
* @method string getDeviceName() |
1570
|
|
|
* @method $this withDeviceName($value) |
1571
|
|
|
* @method string getProductKey() |
1572
|
|
|
* @method $this withProductKey($value) |
1573
|
|
|
* @method string getItems() |
1574
|
|
|
* @method $this withItems($value) |
1575
|
|
|
*/ |
1576
|
|
|
class SetDeviceProperty extends V20180120Rpc |
1577
|
|
|
{ |
1578
|
|
|
} |
1579
|
|
|
|
1580
|
|
|
/** |
1581
|
|
|
* @method string getIotInstanceId() |
1582
|
|
|
* @method $this withIotInstanceId($value) |
1583
|
|
|
* @method string getPageSize() |
1584
|
|
|
* @method $this withPageSize($value) |
1585
|
|
|
* @method string getCurrentPage() |
1586
|
|
|
* @method $this withCurrentPage($value) |
1587
|
|
|
* @method string getAliyunCommodityCode() |
1588
|
|
|
* @method $this withAliyunCommodityCode($value) |
1589
|
|
|
*/ |
1590
|
|
|
class QueryProductList extends V20180120Rpc |
1591
|
|
|
{ |
1592
|
|
|
} |
1593
|
|
|
|
1594
|
|
|
/** |
1595
|
|
|
* @method string getIotInstanceId() |
1596
|
|
|
* @method $this withIotInstanceId($value) |
1597
|
|
|
* @method string getProductKey() |
1598
|
|
|
* @method $this withProductKey($value) |
1599
|
|
|
*/ |
1600
|
|
|
class QueryDeviceStatistics extends V20180120Rpc |
1601
|
|
|
{ |
1602
|
|
|
} |
1603
|
|
|
|
1604
|
|
|
/** |
1605
|
|
|
* @method string getIotInstanceId() |
1606
|
|
|
* @method $this withIotInstanceId($value) |
1607
|
|
|
* @method string getProductKey() |
1608
|
|
|
* @method $this withProductKey($value) |
1609
|
|
|
*/ |
1610
|
|
|
class QueryProduct extends V20180120Rpc |
1611
|
|
|
{ |
1612
|
|
|
} |
1613
|
|
|
|
1614
|
|
|
/** |
1615
|
|
|
* @method string getAsc() |
1616
|
|
|
* @method $this withAsc($value) |
1617
|
|
|
* @method string getIdentifier() |
1618
|
|
|
* @method $this withIdentifier($value) |
1619
|
|
|
* @method string getIotId() |
1620
|
|
|
* @method $this withIotId($value) |
1621
|
|
|
* @method string getIotInstanceId() |
1622
|
|
|
* @method $this withIotInstanceId($value) |
1623
|
|
|
* @method string getPageSize() |
1624
|
|
|
* @method $this withPageSize($value) |
1625
|
|
|
* @method string getEndTime() |
1626
|
|
|
* @method $this withEndTime($value) |
1627
|
|
|
* @method string getEventType() |
1628
|
|
|
* @method $this withEventType($value) |
1629
|
|
|
* @method string getDeviceName() |
1630
|
|
|
* @method $this withDeviceName($value) |
1631
|
|
|
* @method string getStartTime() |
1632
|
|
|
* @method $this withStartTime($value) |
1633
|
|
|
* @method string getProductKey() |
1634
|
|
|
* @method $this withProductKey($value) |
1635
|
|
|
*/ |
1636
|
|
|
class QueryDeviceEventData extends V20180120Rpc |
1637
|
|
|
{ |
1638
|
|
|
} |
1639
|
|
|
|
1640
|
|
|
/** |
1641
|
|
|
* @method string getAsc() |
1642
|
|
|
* @method $this withAsc($value) |
1643
|
|
|
* @method string getIdentifier() |
1644
|
|
|
* @method $this withIdentifier($value) |
1645
|
|
|
* @method string getIotId() |
1646
|
|
|
* @method $this withIotId($value) |
1647
|
|
|
* @method string getIotInstanceId() |
1648
|
|
|
* @method $this withIotInstanceId($value) |
1649
|
|
|
* @method string getPageSize() |
1650
|
|
|
* @method $this withPageSize($value) |
1651
|
|
|
* @method string getEndTime() |
1652
|
|
|
* @method $this withEndTime($value) |
1653
|
|
|
* @method string getDeviceName() |
1654
|
|
|
* @method $this withDeviceName($value) |
1655
|
|
|
* @method string getStartTime() |
1656
|
|
|
* @method $this withStartTime($value) |
1657
|
|
|
* @method string getProductKey() |
1658
|
|
|
* @method $this withProductKey($value) |
1659
|
|
|
*/ |
1660
|
|
|
class QueryDeviceServiceData extends V20180120Rpc |
1661
|
|
|
{ |
1662
|
|
|
} |
1663
|
|
|
|
1664
|
|
|
/** |
1665
|
|
|
* @method string getIotId() |
1666
|
|
|
* @method $this withIotId($value) |
1667
|
|
|
* @method string getIotInstanceId() |
1668
|
|
|
* @method $this withIotInstanceId($value) |
1669
|
|
|
* @method string getDeviceName() |
1670
|
|
|
* @method $this withDeviceName($value) |
1671
|
|
|
* @method string getProductKey() |
1672
|
|
|
* @method $this withProductKey($value) |
1673
|
|
|
*/ |
1674
|
|
|
class QueryDeviceDetail extends V20180120Rpc |
1675
|
|
|
{ |
1676
|
|
|
} |
1677
|
|
|
|
1678
|
|
|
/** |
1679
|
|
|
* @method string getArgs() |
1680
|
|
|
* @method $this withArgs($value) |
1681
|
|
|
* @method string getIdentifier() |
1682
|
|
|
* @method $this withIdentifier($value) |
1683
|
|
|
* @method string getIotId() |
1684
|
|
|
* @method $this withIotId($value) |
1685
|
|
|
* @method string getIotInstanceId() |
1686
|
|
|
* @method $this withIotInstanceId($value) |
1687
|
|
|
* @method string getDeviceName() |
1688
|
|
|
* @method $this withDeviceName($value) |
1689
|
|
|
* @method string getProductKey() |
1690
|
|
|
* @method $this withProductKey($value) |
1691
|
|
|
*/ |
1692
|
|
|
class InvokeThingService extends V20180120Rpc |
1693
|
|
|
{ |
1694
|
|
|
} |
1695
|
|
|
|
1696
|
|
|
/** |
1697
|
|
|
* @method string getIotId() |
1698
|
|
|
* @method $this withIotId($value) |
1699
|
|
|
* @method string getIotInstanceId() |
1700
|
|
|
* @method $this withIotInstanceId($value) |
1701
|
|
|
* @method string getDeviceName() |
1702
|
|
|
* @method $this withDeviceName($value) |
1703
|
|
|
* @method string getProductKey() |
1704
|
|
|
* @method $this withProductKey($value) |
1705
|
|
|
*/ |
1706
|
|
|
class GetDeviceStatus extends V20180120Rpc |
1707
|
|
|
{ |
1708
|
|
|
} |
1709
|
|
|
|
1710
|
|
|
/** |
1711
|
|
|
* @method string getIotId() |
1712
|
|
|
* @method $this withIotId($value) |
1713
|
|
|
* @method string getIotInstanceId() |
1714
|
|
|
* @method $this withIotInstanceId($value) |
1715
|
|
|
* @method string getDeviceName() |
1716
|
|
|
* @method $this withDeviceName($value) |
1717
|
|
|
* @method string getProductKey() |
1718
|
|
|
* @method $this withProductKey($value) |
1719
|
|
|
*/ |
1720
|
|
|
class DisableThing extends V20180120Rpc |
1721
|
|
|
{ |
1722
|
|
|
} |
1723
|
|
|
|
1724
|
|
|
/** |
1725
|
|
|
* @method string getIotId() |
1726
|
|
|
* @method $this withIotId($value) |
1727
|
|
|
* @method string getIotInstanceId() |
1728
|
|
|
* @method $this withIotInstanceId($value) |
1729
|
|
|
* @method string getDeviceName() |
1730
|
|
|
* @method $this withDeviceName($value) |
1731
|
|
|
* @method string getProductKey() |
1732
|
|
|
* @method $this withProductKey($value) |
1733
|
|
|
*/ |
1734
|
|
|
class EnableThing extends V20180120Rpc |
1735
|
|
|
{ |
1736
|
|
|
} |
1737
|
|
|
|
1738
|
|
|
/** |
1739
|
|
|
* @method string getIotId() |
1740
|
|
|
* @method $this withIotId($value) |
1741
|
|
|
* @method string getIotInstanceId() |
1742
|
|
|
* @method $this withIotInstanceId($value) |
1743
|
|
|
* @method string getDeviceName() |
1744
|
|
|
* @method $this withDeviceName($value) |
1745
|
|
|
* @method string getProductKey() |
1746
|
|
|
* @method $this withProductKey($value) |
1747
|
|
|
*/ |
1748
|
|
|
class DeleteDevice extends V20180120Rpc |
1749
|
|
|
{ |
1750
|
|
|
} |
1751
|
|
|
|
1752
|
|
|
/** |
1753
|
|
|
* @method string getIotInstanceId() |
1754
|
|
|
* @method $this withIotInstanceId($value) |
1755
|
|
|
* @method string getProductKey() |
1756
|
|
|
* @method $this withProductKey($value) |
1757
|
|
|
*/ |
1758
|
|
|
class DeleteProduct extends V20180120Rpc |
1759
|
|
|
{ |
1760
|
|
|
} |
1761
|
|
|
|
1762
|
|
|
/** |
1763
|
|
|
* @method string getDataFormat() |
1764
|
|
|
* @method $this withDataFormat($value) |
1765
|
|
|
* @method string getNodeType() |
1766
|
|
|
* @method $this withNodeType($value) |
1767
|
|
|
* @method string getId2() |
1768
|
|
|
* @method $this withId2($value) |
1769
|
|
|
* @method string getIotInstanceId() |
1770
|
|
|
* @method $this withIotInstanceId($value) |
1771
|
|
|
* @method string getNetType() |
1772
|
|
|
* @method $this withNetType($value) |
1773
|
|
|
* @method string getProductName() |
1774
|
|
|
* @method $this withProductName($value) |
1775
|
|
|
* @method string getDescription() |
1776
|
|
|
* @method $this withDescription($value) |
1777
|
|
|
* @method string getProtocolType() |
1778
|
|
|
* @method $this withProtocolType($value) |
1779
|
|
|
* @method string getAliyunCommodityCode() |
1780
|
|
|
* @method $this withAliyunCommodityCode($value) |
1781
|
|
|
* @method string getJoinPermissionId() |
1782
|
|
|
* @method $this withJoinPermissionId($value) |
1783
|
|
|
* @method string getCategoryId() |
1784
|
|
|
* @method $this withCategoryId($value) |
1785
|
|
|
*/ |
1786
|
|
|
class CreateProduct extends V20180120Rpc |
1787
|
|
|
{ |
1788
|
|
|
} |
1789
|
|
|
|