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