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