GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 51d9ec...2e733b )
by
unknown
06:17
created

QueryClientIds   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 27
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withApiRevision() 0 6 1
A withApiProduct() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Iot\V20180120;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method BatchAddDeviceGroupRelations batchAddDeviceGroupRelations(array $options = [])
9
 * @method BatchAddThingTopo batchAddThingTopo(array $options = [])
10
 * @method BatchBindDeviceToEdgeInstanceWithDriver batchBindDeviceToEdgeInstanceWithDriver(array $options = [])
11
 * @method BatchCheckDeviceNames batchCheckDeviceNames(array $options = [])
12
 * @method BatchClearEdgeInstanceDeviceConfig batchClearEdgeInstanceDeviceConfig(array $options = [])
13
 * @method BatchDeleteDeviceGroupRelations batchDeleteDeviceGroupRelations(array $options = [])
14
 * @method BatchDeleteEdgeInstanceChannel batchDeleteEdgeInstanceChannel(array $options = [])
15
 * @method BatchGetDeviceBindStatus batchGetDeviceBindStatus(array $options = [])
16
 * @method BatchGetDeviceState batchGetDeviceState(array $options = [])
17
 * @method BatchGetEdgeDriver batchGetEdgeDriver(array $options = [])
18
 * @method BatchGetEdgeInstanceChannel batchGetEdgeInstanceChannel(array $options = [])
19
 * @method BatchGetEdgeInstanceDeviceChannel batchGetEdgeInstanceDeviceChannel(array $options = [])
20
 * @method BatchGetEdgeInstanceDeviceConfig batchGetEdgeInstanceDeviceConfig(array $options = [])
21
 * @method BatchGetEdgeInstanceDeviceDriver batchGetEdgeInstanceDeviceDriver(array $options = [])
22
 * @method BatchGetEdgeInstanceDriverConfigs batchGetEdgeInstanceDriverConfigs(array $options = [])
23
 * @method BatchQueryDeviceDetail batchQueryDeviceDetail(array $options = [])
24
 * @method BatchRegisterDevice batchRegisterDevice(array $options = [])
25
 * @method BatchRegisterDeviceWithApplyId batchRegisterDeviceWithApplyId(array $options = [])
26
 * @method BatchSetEdgeInstanceDeviceChannel batchSetEdgeInstanceDeviceChannel(array $options = [])
27
 * @method BatchSetEdgeInstanceDeviceConfig batchSetEdgeInstanceDeviceConfig(array $options = [])
28
 * @method BatchUnbindDeviceFromEdgeInstance batchUnbindDeviceFromEdgeInstance(array $options = [])
29
 * @method BatchUpdateDeviceNickname batchUpdateDeviceNickname(array $options = [])
30
 * @method BindApplicationToEdgeInstance bindApplicationToEdgeInstance(array $options = [])
31
 * @method BindDriverToEdgeInstance bindDriverToEdgeInstance(array $options = [])
32
 * @method BindGatewayToEdgeInstance bindGatewayToEdgeInstance(array $options = [])
33
 * @method BindSceneRuleToEdgeInstance bindSceneRuleToEdgeInstance(array $options = [])
34
 * @method CancelOTAStrategyByJob cancelOTAStrategyByJob(array $options = [])
35
 * @method CancelOTATaskByDevice cancelOTATaskByDevice(array $options = [])
36
 * @method CancelOTATaskByJob cancelOTATaskByJob(array $options = [])
37
 * @method ClearEdgeInstanceDriverConfigs clearEdgeInstanceDriverConfigs(array $options = [])
38
 * @method CloseEdgeInstanceDeployment closeEdgeInstanceDeployment(array $options = [])
39
 * @method CopyThingModel copyThingModel(array $options = [])
40
 * @method CreateConsumerGroup createConsumerGroup(array $options = [])
41
 * @method CreateConsumerGroupSubscribeRelation createConsumerGroupSubscribeRelation(array $options = [])
42
 * @method CreateDataAPIService createDataAPIService(array $options = [])
43
 * @method CreateDeviceGroup createDeviceGroup(array $options = [])
44
 * @method CreateEdgeDriver createEdgeDriver(array $options = [])
45
 * @method CreateEdgeDriverVersion createEdgeDriverVersion(array $options = [])
46
 * @method CreateEdgeInstance createEdgeInstance(array $options = [])
47
 * @method CreateEdgeInstanceChannel createEdgeInstanceChannel(array $options = [])
48
 * @method CreateEdgeInstanceDeployment createEdgeInstanceDeployment(array $options = [])
49
 * @method CreateEdgeOssPreSignedAddress createEdgeOssPreSignedAddress(array $options = [])
50
 * @method CreateLoRaNodesTask createLoRaNodesTask(array $options = [])
51
 * @method CreateOTADynamicUpgradeJob createOTADynamicUpgradeJob(array $options = [])
52
 * @method CreateOTAFirmware createOTAFirmware(array $options = [])
53
 * @method CreateOTAStaticUpgradeJob createOTAStaticUpgradeJob(array $options = [])
54
 * @method CreateOTAVerifyJob createOTAVerifyJob(array $options = [])
55
 * @method CreateProduct createProduct(array $options = [])
56
 * @method CreateProductTags createProductTags(array $options = [])
57
 * @method CreateProductTopic createProductTopic(array $options = [])
58
 * @method CreateRule createRule(array $options = [])
59
 * @method CreateRuleAction createRuleAction(array $options = [])
60
 * @method CreateSceneRule createSceneRule(array $options = [])
61
 * @method CreateSubscribeRelation createSubscribeRelation(array $options = [])
62
 * @method CreateThingModel createThingModel(array $options = [])
63
 * @method CreateTopicRouteTable createTopicRouteTable(array $options = [])
64
 * @method DeleteClientIds deleteClientIds(array $options = [])
65
 * @method DeleteConsumerGroup deleteConsumerGroup(array $options = [])
66
 * @method DeleteConsumerGroupSubscribeRelation deleteConsumerGroupSubscribeRelation(array $options = [])
67
 * @method DeleteDevice deleteDevice(array $options = [])
68
 * @method DeleteDeviceFile deleteDeviceFile(array $options = [])
69
 * @method DeleteDeviceGroup deleteDeviceGroup(array $options = [])
70
 * @method DeleteDeviceProp deleteDeviceProp(array $options = [])
71
 * @method DeleteEdgeDriver deleteEdgeDriver(array $options = [])
72
 * @method DeleteEdgeDriverVersion deleteEdgeDriverVersion(array $options = [])
73
 * @method DeleteEdgeInstance deleteEdgeInstance(array $options = [])
74
 * @method DeleteOTAFirmware deleteOTAFirmware(array $options = [])
75
 * @method DeleteProduct deleteProduct(array $options = [])
76
 * @method DeleteProductTags deleteProductTags(array $options = [])
77
 * @method DeleteProductTopic deleteProductTopic(array $options = [])
78
 * @method DeleteRule deleteRule(array $options = [])
79
 * @method DeleteRuleAction deleteRuleAction(array $options = [])
80
 * @method DeleteSceneRule deleteSceneRule(array $options = [])
81
 * @method DeleteSubscribeRelation deleteSubscribeRelation(array $options = [])
82
 * @method DeleteThingModel deleteThingModel(array $options = [])
83
 * @method DeleteTopicRouteTable deleteTopicRouteTable(array $options = [])
84
 * @method DisableSceneRule disableSceneRule(array $options = [])
85
 * @method DisableThing disableThing(array $options = [])
86
 * @method EnableSceneRule enableSceneRule(array $options = [])
87
 * @method EnableThing enableThing(array $options = [])
88
 * @method GenerateOTAUploadURL generateOTAUploadURL(array $options = [])
89
 * @method GetDataAPIServiceDetail getDataAPIServiceDetail(array $options = [])
90
 * @method GetDeviceShadow getDeviceShadow(array $options = [])
91
 * @method GetDeviceStatus getDeviceStatus(array $options = [])
92
 * @method GetEdgeDriverVersion getEdgeDriverVersion(array $options = [])
93
 * @method GetEdgeInstance getEdgeInstance(array $options = [])
94
 * @method GetEdgeInstanceDeployment getEdgeInstanceDeployment(array $options = [])
95
 * @method GetGatewayBySubDevice getGatewayBySubDevice(array $options = [])
96
 * @method GetLoraNodesTask getLoraNodesTask(array $options = [])
97
 * @method GetNodesAddingTask getNodesAddingTask(array $options = [])
98
 * @method GetRule getRule(array $options = [])
99
 * @method GetRuleAction getRuleAction(array $options = [])
100
 * @method GetSceneRule getSceneRule(array $options = [])
101
 * @method GetThingModelTsl getThingModelTsl(array $options = [])
102
 * @method GetThingTemplate getThingTemplate(array $options = [])
103
 * @method GetThingTopo getThingTopo(array $options = [])
104
 * @method ImportThingModelTsl importThingModelTsl(array $options = [])
105
 * @method InvokeDataAPIService invokeDataAPIService(array $options = [])
106
 * @method InvokeThingService invokeThingService(array $options = [])
107
 * @method InvokeThingsService invokeThingsService(array $options = [])
108
 * @method ListOTAFirmware listOTAFirmware(array $options = [])
109
 * @method ListOTAJobByDevice listOTAJobByDevice(array $options = [])
110
 * @method ListOTAJobByFirmware listOTAJobByFirmware(array $options = [])
111
 * @method ListOTATaskByJob listOTATaskByJob(array $options = [])
112
 * @method ListProductByTags listProductByTags(array $options = [])
113
 * @method ListProductTags listProductTags(array $options = [])
114
 * @method ListRule listRule(array $options = [])
115
 * @method ListRuleActions listRuleActions(array $options = [])
116
 * @method ListThingModelVersion listThingModelVersion(array $options = [])
117
 * @method ListThingTemplates listThingTemplates(array $options = [])
118
 * @method NotifyAddThingTopo notifyAddThingTopo(array $options = [])
119
 * @method Pub pub(array $options = [])
120
 * @method PubBroadcast pubBroadcast(array $options = [])
121
 * @method PublishThingModel publishThingModel(array $options = [])
122
 * @method QueryAppDeviceList queryAppDeviceList(array $options = [])
123
 * @method QueryBatchRegisterDeviceStatus queryBatchRegisterDeviceStatus(array $options = [])
124
 * @method QueryCertUrlByApplyId queryCertUrlByApplyId(array $options = [])
125
 * @method QueryClientIds queryClientIds(array $options = [])
126
 * @method QueryConsumerGroupByGroupId queryConsumerGroupByGroupId(array $options = [])
127
 * @method QueryConsumerGroupList queryConsumerGroupList(array $options = [])
128
 * @method QueryConsumerGroupStatus queryConsumerGroupStatus(array $options = [])
129
 * @method QueryDetailSceneRuleLog queryDetailSceneRuleLog(array $options = [])
130
 * @method QueryDevice queryDevice(array $options = [])
131
 * @method QueryDeviceByStatus queryDeviceByStatus(array $options = [])
132
 * @method QueryDeviceByTags queryDeviceByTags(array $options = [])
133
 * @method QueryDeviceCert queryDeviceCert(array $options = [])
134
 * @method QueryDeviceDesiredProperty queryDeviceDesiredProperty(array $options = [])
135
 * @method QueryDeviceDetail queryDeviceDetail(array $options = [])
136
 * @method QueryDeviceEventData queryDeviceEventData(array $options = [])
137
 * @method QueryDeviceFile queryDeviceFile(array $options = [])
138
 * @method QueryDeviceFileList queryDeviceFileList(array $options = [])
139
 * @method QueryDeviceGroupByDevice queryDeviceGroupByDevice(array $options = [])
140
 * @method QueryDeviceGroupByTags queryDeviceGroupByTags(array $options = [])
141
 * @method QueryDeviceGroupInfo queryDeviceGroupInfo(array $options = [])
142
 * @method QueryDeviceGroupList queryDeviceGroupList(array $options = [])
143
 * @method QueryDeviceGroupTagList queryDeviceGroupTagList(array $options = [])
144
 * @method QueryDeviceListByDeviceGroup queryDeviceListByDeviceGroup(array $options = [])
145
 * @method QueryDeviceProp queryDeviceProp(array $options = [])
146
 * @method QueryDevicePropertiesData queryDevicePropertiesData(array $options = [])
147
 * @method QueryDevicePropertyData queryDevicePropertyData(array $options = [])
148
 * @method QueryDevicePropertyStatus queryDevicePropertyStatus(array $options = [])
149
 * @method QueryDeviceServiceData queryDeviceServiceData(array $options = [])
150
 * @method QueryDeviceStatistics queryDeviceStatistics(array $options = [])
151
 * @method QueryEdgeDriver queryEdgeDriver(array $options = [])
152
 * @method QueryEdgeDriverVersion queryEdgeDriverVersion(array $options = [])
153
 * @method QueryEdgeInstance queryEdgeInstance(array $options = [])
154
 * @method QueryEdgeInstanceChannel queryEdgeInstanceChannel(array $options = [])
155
 * @method QueryEdgeInstanceDevice queryEdgeInstanceDevice(array $options = [])
156
 * @method QueryEdgeInstanceDeviceByDriver queryEdgeInstanceDeviceByDriver(array $options = [])
157
 * @method QueryEdgeInstanceDriver queryEdgeInstanceDriver(array $options = [])
158
 * @method QueryEdgeInstanceGateway queryEdgeInstanceGateway(array $options = [])
159
 * @method QueryEdgeInstanceHistoricDeployment queryEdgeInstanceHistoricDeployment(array $options = [])
160
 * @method QueryEdgeInstanceSceneRule queryEdgeInstanceSceneRule(array $options = [])
161
 * @method QueryLoRaJoinPermissions queryLoRaJoinPermissions(array $options = [])
162
 * @method QueryOTAFirmware queryOTAFirmware(array $options = [])
163
 * @method QueryOTAJob queryOTAJob(array $options = [])
164
 * @method QueryPageByApplyId queryPageByApplyId(array $options = [])
165
 * @method QueryProduct queryProduct(array $options = [])
166
 * @method QueryProductCertInfo queryProductCertInfo(array $options = [])
167
 * @method QueryProductList queryProductList(array $options = [])
168
 * @method QueryProductTopic queryProductTopic(array $options = [])
169
 * @method QuerySceneRule querySceneRule(array $options = [])
170
 * @method QuerySubscribeRelation querySubscribeRelation(array $options = [])
171
 * @method QuerySummarySceneRuleLog querySummarySceneRuleLog(array $options = [])
172
 * @method QuerySuperDeviceGroup querySuperDeviceGroup(array $options = [])
173
 * @method QueryThingModel queryThingModel(array $options = [])
174
 * @method QueryTopicReverseRouteTable queryTopicReverseRouteTable(array $options = [])
175
 * @method QueryTopicRouteTable queryTopicRouteTable(array $options = [])
176
 * @method RegisterDevice registerDevice(array $options = [])
177
 * @method ReleaseEdgeDriverVersion releaseEdgeDriverVersion(array $options = [])
178
 * @method RemoveThingTopo removeThingTopo(array $options = [])
179
 * @method ReplaceEdgeInstanceGateway replaceEdgeInstanceGateway(array $options = [])
180
 * @method ResetConsumerGroupPosition resetConsumerGroupPosition(array $options = [])
181
 * @method ResetThing resetThing(array $options = [])
182
 * @method RRpc rRpc(array $options = [])
183
 * @method SaveDeviceProp saveDeviceProp(array $options = [])
184
 * @method SetDeviceDesiredProperty setDeviceDesiredProperty(array $options = [])
185
 * @method SetDeviceGroupTags setDeviceGroupTags(array $options = [])
186
 * @method SetDeviceProperty setDeviceProperty(array $options = [])
187
 * @method SetDevicesProperty setDevicesProperty(array $options = [])
188
 * @method SetEdgeInstanceDriverConfigs setEdgeInstanceDriverConfigs(array $options = [])
189
 * @method SetProductCertInfo setProductCertInfo(array $options = [])
190
 * @method StartRule startRule(array $options = [])
191
 * @method StopRule stopRule(array $options = [])
192
 * @method TransformClientId transformClientId(array $options = [])
193
 * @method TriggerSceneRule triggerSceneRule(array $options = [])
194
 * @method UnbindApplicationFromEdgeInstance unbindApplicationFromEdgeInstance(array $options = [])
195
 * @method UnbindDriverFromEdgeInstance unbindDriverFromEdgeInstance(array $options = [])
196
 * @method UnbindSceneRuleFromEdgeInstance unbindSceneRuleFromEdgeInstance(array $options = [])
197
 * @method UpdateConsumerGroup updateConsumerGroup(array $options = [])
198
 * @method UpdateDeviceGroup updateDeviceGroup(array $options = [])
199
 * @method UpdateDeviceShadow updateDeviceShadow(array $options = [])
200
 * @method UpdateEdgeDriverVersion updateEdgeDriverVersion(array $options = [])
201
 * @method UpdateEdgeInstance updateEdgeInstance(array $options = [])
202
 * @method UpdateEdgeInstanceChannel updateEdgeInstanceChannel(array $options = [])
203
 * @method UpdateProduct updateProduct(array $options = [])
204
 * @method UpdateProductFilterConfig updateProductFilterConfig(array $options = [])
205
 * @method UpdateProductTags updateProductTags(array $options = [])
206
 * @method UpdateProductTopic updateProductTopic(array $options = [])
207
 * @method UpdateRule updateRule(array $options = [])
208
 * @method UpdateRuleAction updateRuleAction(array $options = [])
209
 * @method UpdateSceneRule updateSceneRule(array $options = [])
210
 * @method UpdateSubscribeRelation updateSubscribeRelation(array $options = [])
211
 * @method UpdateThingModel updateThingModel(array $options = [])
212
 */
213
class IotApiResolver extends ApiResolver
214
{
215
}
216
217
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
218
{
219
    /** @var string */
220
    public $product = 'Iot';
221
222
    /** @var string */
223
    public $version = '2018-01-20';
224
225
    /** @var string */
226
    public $method = 'POST';
227
228
    /** @var string */
229
    public $serviceCode = 'iot';
230
}
231
232
/**
233
 * @method string getIotInstanceId()
234
 * @method $this withIotInstanceId($value)
235
 * @method string getGroupId()
236
 * @method $this withGroupId($value)
237
 * @method string getApiProduct()
238
 * @method string getApiRevision()
239
 * @method array getDevice()
240
 */
241
class BatchAddDeviceGroupRelations extends Rpc
242
{
243
244
    /**
245
     * @param string $value
246
     *
247
     * @return $this
248
     */
249
    public function withApiProduct($value)
250
    {
251
        $this->data['ApiProduct'] = $value;
252
        $this->options['form_params']['ApiProduct'] = $value;
253
254
        return $this;
255
    }
256
257
    /**
258
     * @param string $value
259
     *
260
     * @return $this
261
     */
262
    public function withApiRevision($value)
263
    {
264
        $this->data['ApiRevision'] = $value;
265
        $this->options['form_params']['ApiRevision'] = $value;
266
267
        return $this;
268
    }
269
270
    /**
271
     * @param array $device
272
     *
273
     * @return $this
274
     */
275
	public function withDevice(array $device)
276
	{
277
	    $this->data['Device'] = $device;
278
		foreach ($device as $depth1 => $depth1Value) {
279
			if(isset($depth1Value['DeviceName'])){
280
				$this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
281
			}
282
			if(isset($depth1Value['ProductKey'])){
283
				$this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
284
			}
285
		}
286
287
		return $this;
288
    }
289
}
290
291
/**
292
 * @method string getGwProductKey()
293
 * @method $this withGwProductKey($value)
294
 * @method string getIotInstanceId()
295
 * @method $this withIotInstanceId($value)
296
 * @method string getExt()
297
 * @method $this withExt($value)
298
 * @method array getTopoAddItem()
299
 * @method string getGwDeviceName()
300
 * @method $this withGwDeviceName($value)
301
 * @method string getApiProduct()
302
 * @method string getApiRevision()
303
 */
304
class BatchAddThingTopo extends Rpc
305
{
306
307
    /**
308
     * @param array $topoAddItem
309
     *
310
     * @return $this
311
     */
312
	public function withTopoAddItem(array $topoAddItem)
313
	{
314
	    $this->data['TopoAddItem'] = $topoAddItem;
315
		foreach ($topoAddItem as $depth1 => $depth1Value) {
316
			if(isset($depth1Value['ClientId'])){
317
				$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.ClientId'] = $depth1Value['ClientId'];
318
			}
319
			if(isset($depth1Value['SignMethod'])){
320
				$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.SignMethod'] = $depth1Value['SignMethod'];
321
			}
322
			if(isset($depth1Value['Sign'])){
323
				$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.Sign'] = $depth1Value['Sign'];
324
			}
325
			if(isset($depth1Value['DeviceName'])){
326
				$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
327
			}
328
			if(isset($depth1Value['ProductKey'])){
329
				$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
330
			}
331
			if(isset($depth1Value['Timestamp'])){
332
				$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.Timestamp'] = $depth1Value['Timestamp'];
333
			}
334
		}
335
336
		return $this;
337
    }
338
339
    /**
340
     * @param string $value
341
     *
342
     * @return $this
343
     */
344
    public function withApiProduct($value)
345
    {
346
        $this->data['ApiProduct'] = $value;
347
        $this->options['form_params']['ApiProduct'] = $value;
348
349
        return $this;
350
    }
351
352
    /**
353
     * @param string $value
354
     *
355
     * @return $this
356
     */
357
    public function withApiRevision($value)
358
    {
359
        $this->data['ApiRevision'] = $value;
360
        $this->options['form_params']['ApiRevision'] = $value;
361
362
        return $this;
363
    }
364
}
365
366
/**
367
 * @method string getDriverId()
368
 * @method $this withDriverId($value)
369
 * @method array getIotIds()
370
 * @method string getIotInstanceId()
371
 * @method $this withIotInstanceId($value)
372
 * @method string getInstanceId()
373
 * @method $this withInstanceId($value)
374
 * @method string getApiProduct()
375
 * @method string getApiRevision()
376
 */
377
class BatchBindDeviceToEdgeInstanceWithDriver extends Rpc
378
{
379
380
    /**
381
     * @param array $iotIds
382
     *
383
     * @return $this
384
     */
385
	public function withIotIds(array $iotIds)
386
	{
387
	    $this->data['IotIds'] = $iotIds;
388
		foreach ($iotIds as $i => $iValue) {
389
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
390
		}
391
392
		return $this;
393
    }
394
395
    /**
396
     * @param string $value
397
     *
398
     * @return $this
399
     */
400
    public function withApiProduct($value)
401
    {
402
        $this->data['ApiProduct'] = $value;
403
        $this->options['form_params']['ApiProduct'] = $value;
404
405
        return $this;
406
    }
407
408
    /**
409
     * @param string $value
410
     *
411
     * @return $this
412
     */
413
    public function withApiRevision($value)
414
    {
415
        $this->data['ApiRevision'] = $value;
416
        $this->options['form_params']['ApiRevision'] = $value;
417
418
        return $this;
419
    }
420
}
421
422
/**
423
 * @method string getIotInstanceId()
424
 * @method $this withIotInstanceId($value)
425
 * @method string getProductKey()
426
 * @method $this withProductKey($value)
427
 * @method string getApiProduct()
428
 * @method string getApiRevision()
429
 * @method array getDeviceName()
430
 */
431
class BatchCheckDeviceNames extends Rpc
432
{
433
434
    /**
435
     * @param string $value
436
     *
437
     * @return $this
438
     */
439
    public function withApiProduct($value)
440
    {
441
        $this->data['ApiProduct'] = $value;
442
        $this->options['form_params']['ApiProduct'] = $value;
443
444
        return $this;
445
    }
446
447
    /**
448
     * @param string $value
449
     *
450
     * @return $this
451
     */
452
    public function withApiRevision($value)
453
    {
454
        $this->data['ApiRevision'] = $value;
455
        $this->options['form_params']['ApiRevision'] = $value;
456
457
        return $this;
458
    }
459
460
    /**
461
     * @param array $deviceName
462
     *
463
     * @return $this
464
     */
465
	public function withDeviceName(array $deviceName)
466
	{
467
	    $this->data['DeviceName'] = $deviceName;
468
		foreach ($deviceName as $i => $iValue) {
469
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
470
		}
471
472
		return $this;
473
    }
474
}
475
476
/**
477
 * @method array getIotIds()
478
 * @method string getIotInstanceId()
479
 * @method $this withIotInstanceId($value)
480
 * @method string getInstanceId()
481
 * @method $this withInstanceId($value)
482
 * @method string getApiProduct()
483
 * @method string getApiRevision()
484
 */
485
class BatchClearEdgeInstanceDeviceConfig extends Rpc
486
{
487
488
    /**
489
     * @param array $iotIds
490
     *
491
     * @return $this
492
     */
493
	public function withIotIds(array $iotIds)
494
	{
495
	    $this->data['IotIds'] = $iotIds;
496
		foreach ($iotIds as $i => $iValue) {
497
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
498
		}
499
500
		return $this;
501
    }
502
503
    /**
504
     * @param string $value
505
     *
506
     * @return $this
507
     */
508
    public function withApiProduct($value)
509
    {
510
        $this->data['ApiProduct'] = $value;
511
        $this->options['form_params']['ApiProduct'] = $value;
512
513
        return $this;
514
    }
515
516
    /**
517
     * @param string $value
518
     *
519
     * @return $this
520
     */
521
    public function withApiRevision($value)
522
    {
523
        $this->data['ApiRevision'] = $value;
524
        $this->options['form_params']['ApiRevision'] = $value;
525
526
        return $this;
527
    }
528
}
529
530
/**
531
 * @method string getIotInstanceId()
532
 * @method $this withIotInstanceId($value)
533
 * @method string getGroupId()
534
 * @method $this withGroupId($value)
535
 * @method string getApiProduct()
536
 * @method string getApiRevision()
537
 * @method array getDevice()
538
 */
539
class BatchDeleteDeviceGroupRelations extends Rpc
540
{
541
542
    /**
543
     * @param string $value
544
     *
545
     * @return $this
546
     */
547
    public function withApiProduct($value)
548
    {
549
        $this->data['ApiProduct'] = $value;
550
        $this->options['form_params']['ApiProduct'] = $value;
551
552
        return $this;
553
    }
554
555
    /**
556
     * @param string $value
557
     *
558
     * @return $this
559
     */
560
    public function withApiRevision($value)
561
    {
562
        $this->data['ApiRevision'] = $value;
563
        $this->options['form_params']['ApiRevision'] = $value;
564
565
        return $this;
566
    }
567
568
    /**
569
     * @param array $device
570
     *
571
     * @return $this
572
     */
573
	public function withDevice(array $device)
574
	{
575
	    $this->data['Device'] = $device;
576
		foreach ($device as $depth1 => $depth1Value) {
577
			if(isset($depth1Value['DeviceName'])){
578
				$this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
579
			}
580
			if(isset($depth1Value['ProductKey'])){
581
				$this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
582
			}
583
		}
584
585
		return $this;
586
    }
587
}
588
589
/**
590
 * @method string getDriverId()
591
 * @method $this withDriverId($value)
592
 * @method string getIotInstanceId()
593
 * @method $this withIotInstanceId($value)
594
 * @method string getInstanceId()
595
 * @method $this withInstanceId($value)
596
 * @method string getApiProduct()
597
 * @method string getApiRevision()
598
 * @method array getChannelIds()
599
 */
600
class BatchDeleteEdgeInstanceChannel extends Rpc
601
{
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withApiProduct($value)
609
    {
610
        $this->data['ApiProduct'] = $value;
611
        $this->options['form_params']['ApiProduct'] = $value;
612
613
        return $this;
614
    }
615
616
    /**
617
     * @param string $value
618
     *
619
     * @return $this
620
     */
621
    public function withApiRevision($value)
622
    {
623
        $this->data['ApiRevision'] = $value;
624
        $this->options['form_params']['ApiRevision'] = $value;
625
626
        return $this;
627
    }
628
629
    /**
630
     * @param array $channelIds
631
     *
632
     * @return $this
633
     */
634
	public function withChannelIds(array $channelIds)
635
	{
636
	    $this->data['ChannelIds'] = $channelIds;
637
		foreach ($channelIds as $i => $iValue) {
638
			$this->options['query']['ChannelIds.' . ($i + 1)] = $iValue;
639
		}
640
641
		return $this;
642
    }
643
}
644
645
/**
646
 * @method array getIotIds()
647
 * @method string getIotInstanceId()
648
 * @method $this withIotInstanceId($value)
649
 * @method string getApiProduct()
650
 * @method string getApiRevision()
651
 */
652
class BatchGetDeviceBindStatus extends Rpc
653
{
654
655
    /**
656
     * @param array $iotIds
657
     *
658
     * @return $this
659
     */
660
	public function withIotIds(array $iotIds)
661
	{
662
	    $this->data['IotIds'] = $iotIds;
663
		foreach ($iotIds as $i => $iValue) {
664
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
665
		}
666
667
		return $this;
668
    }
669
670
    /**
671
     * @param string $value
672
     *
673
     * @return $this
674
     */
675
    public function withApiProduct($value)
676
    {
677
        $this->data['ApiProduct'] = $value;
678
        $this->options['form_params']['ApiProduct'] = $value;
679
680
        return $this;
681
    }
682
683
    /**
684
     * @param string $value
685
     *
686
     * @return $this
687
     */
688
    public function withApiRevision($value)
689
    {
690
        $this->data['ApiRevision'] = $value;
691
        $this->options['form_params']['ApiRevision'] = $value;
692
693
        return $this;
694
    }
695
}
696
697
/**
698
 * @method array getIotId()
699
 * @method string getIotInstanceId()
700
 * @method $this withIotInstanceId($value)
701
 * @method string getProductKey()
702
 * @method $this withProductKey($value)
703
 * @method string getApiProduct()
704
 * @method string getApiRevision()
705
 * @method array getDeviceName()
706
 */
707
class BatchGetDeviceState extends Rpc
708
{
709
710
    /**
711
     * @param array $iotId
712
     *
713
     * @return $this
714
     */
715
	public function withIotId(array $iotId)
716
	{
717
	    $this->data['IotId'] = $iotId;
718
		foreach ($iotId as $i => $iValue) {
719
			$this->options['query']['IotId.' . ($i + 1)] = $iValue;
720
		}
721
722
		return $this;
723
    }
724
725
    /**
726
     * @param string $value
727
     *
728
     * @return $this
729
     */
730
    public function withApiProduct($value)
731
    {
732
        $this->data['ApiProduct'] = $value;
733
        $this->options['form_params']['ApiProduct'] = $value;
734
735
        return $this;
736
    }
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withApiRevision($value)
744
    {
745
        $this->data['ApiRevision'] = $value;
746
        $this->options['form_params']['ApiRevision'] = $value;
747
748
        return $this;
749
    }
750
751
    /**
752
     * @param array $deviceName
753
     *
754
     * @return $this
755
     */
756
	public function withDeviceName(array $deviceName)
757
	{
758
	    $this->data['DeviceName'] = $deviceName;
759
		foreach ($deviceName as $i => $iValue) {
760
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
761
		}
762
763
		return $this;
764
    }
765
}
766
767
/**
768
 * @method array getDriverIds()
769
 * @method string getIotInstanceId()
770
 * @method $this withIotInstanceId($value)
771
 * @method string getApiProduct()
772
 * @method string getApiRevision()
773
 */
774
class BatchGetEdgeDriver extends Rpc
775
{
776
777
    /**
778
     * @param array $driverIds
779
     *
780
     * @return $this
781
     */
782
	public function withDriverIds(array $driverIds)
783
	{
784
	    $this->data['DriverIds'] = $driverIds;
785
		foreach ($driverIds as $i => $iValue) {
786
			$this->options['query']['DriverIds.' . ($i + 1)] = $iValue;
787
		}
788
789
		return $this;
790
    }
791
792
    /**
793
     * @param string $value
794
     *
795
     * @return $this
796
     */
797
    public function withApiProduct($value)
798
    {
799
        $this->data['ApiProduct'] = $value;
800
        $this->options['form_params']['ApiProduct'] = $value;
801
802
        return $this;
803
    }
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withApiRevision($value)
811
    {
812
        $this->data['ApiRevision'] = $value;
813
        $this->options['form_params']['ApiRevision'] = $value;
814
815
        return $this;
816
    }
817
}
818
819
/**
820
 * @method string getDriverId()
821
 * @method $this withDriverId($value)
822
 * @method string getIotInstanceId()
823
 * @method $this withIotInstanceId($value)
824
 * @method string getInstanceId()
825
 * @method $this withInstanceId($value)
826
 * @method string getApiProduct()
827
 * @method string getApiRevision()
828
 * @method array getChannelIds()
829
 */
830
class BatchGetEdgeInstanceChannel extends Rpc
831
{
832
833
    /**
834
     * @param string $value
835
     *
836
     * @return $this
837
     */
838
    public function withApiProduct($value)
839
    {
840
        $this->data['ApiProduct'] = $value;
841
        $this->options['form_params']['ApiProduct'] = $value;
842
843
        return $this;
844
    }
845
846
    /**
847
     * @param string $value
848
     *
849
     * @return $this
850
     */
851
    public function withApiRevision($value)
852
    {
853
        $this->data['ApiRevision'] = $value;
854
        $this->options['form_params']['ApiRevision'] = $value;
855
856
        return $this;
857
    }
858
859
    /**
860
     * @param array $channelIds
861
     *
862
     * @return $this
863
     */
864
	public function withChannelIds(array $channelIds)
865
	{
866
	    $this->data['ChannelIds'] = $channelIds;
867
		foreach ($channelIds as $i => $iValue) {
868
			$this->options['query']['ChannelIds.' . ($i + 1)] = $iValue;
869
		}
870
871
		return $this;
872
    }
873
}
874
875
/**
876
 * @method string getDriverId()
877
 * @method $this withDriverId($value)
878
 * @method array getIotIds()
879
 * @method string getIotInstanceId()
880
 * @method $this withIotInstanceId($value)
881
 * @method string getInstanceId()
882
 * @method $this withInstanceId($value)
883
 * @method string getApiProduct()
884
 * @method string getApiRevision()
885
 */
886
class BatchGetEdgeInstanceDeviceChannel extends Rpc
887
{
888
889
    /**
890
     * @param array $iotIds
891
     *
892
     * @return $this
893
     */
894
	public function withIotIds(array $iotIds)
895
	{
896
	    $this->data['IotIds'] = $iotIds;
897
		foreach ($iotIds as $i => $iValue) {
898
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
899
		}
900
901
		return $this;
902
    }
903
904
    /**
905
     * @param string $value
906
     *
907
     * @return $this
908
     */
909
    public function withApiProduct($value)
910
    {
911
        $this->data['ApiProduct'] = $value;
912
        $this->options['form_params']['ApiProduct'] = $value;
913
914
        return $this;
915
    }
916
917
    /**
918
     * @param string $value
919
     *
920
     * @return $this
921
     */
922
    public function withApiRevision($value)
923
    {
924
        $this->data['ApiRevision'] = $value;
925
        $this->options['form_params']['ApiRevision'] = $value;
926
927
        return $this;
928
    }
929
}
930
931
/**
932
 * @method array getIotIds()
933
 * @method string getIotInstanceId()
934
 * @method $this withIotInstanceId($value)
935
 * @method string getInstanceId()
936
 * @method $this withInstanceId($value)
937
 * @method string getApiProduct()
938
 * @method string getApiRevision()
939
 */
940
class BatchGetEdgeInstanceDeviceConfig extends Rpc
941
{
942
943
    /**
944
     * @param array $iotIds
945
     *
946
     * @return $this
947
     */
948
	public function withIotIds(array $iotIds)
949
	{
950
	    $this->data['IotIds'] = $iotIds;
951
		foreach ($iotIds as $i => $iValue) {
952
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
953
		}
954
955
		return $this;
956
    }
957
958
    /**
959
     * @param string $value
960
     *
961
     * @return $this
962
     */
963
    public function withApiProduct($value)
964
    {
965
        $this->data['ApiProduct'] = $value;
966
        $this->options['form_params']['ApiProduct'] = $value;
967
968
        return $this;
969
    }
970
971
    /**
972
     * @param string $value
973
     *
974
     * @return $this
975
     */
976
    public function withApiRevision($value)
977
    {
978
        $this->data['ApiRevision'] = $value;
979
        $this->options['form_params']['ApiRevision'] = $value;
980
981
        return $this;
982
    }
983
}
984
985
/**
986
 * @method array getIotIds()
987
 * @method string getIotInstanceId()
988
 * @method $this withIotInstanceId($value)
989
 * @method string getInstanceId()
990
 * @method $this withInstanceId($value)
991
 * @method string getApiProduct()
992
 * @method string getApiRevision()
993
 */
994
class BatchGetEdgeInstanceDeviceDriver extends Rpc
995
{
996
997
    /**
998
     * @param array $iotIds
999
     *
1000
     * @return $this
1001
     */
1002
	public function withIotIds(array $iotIds)
1003
	{
1004
	    $this->data['IotIds'] = $iotIds;
1005
		foreach ($iotIds as $i => $iValue) {
1006
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
1007
		}
1008
1009
		return $this;
1010
    }
1011
1012
    /**
1013
     * @param string $value
1014
     *
1015
     * @return $this
1016
     */
1017
    public function withApiProduct($value)
1018
    {
1019
        $this->data['ApiProduct'] = $value;
1020
        $this->options['form_params']['ApiProduct'] = $value;
1021
1022
        return $this;
1023
    }
1024
1025
    /**
1026
     * @param string $value
1027
     *
1028
     * @return $this
1029
     */
1030
    public function withApiRevision($value)
1031
    {
1032
        $this->data['ApiRevision'] = $value;
1033
        $this->options['form_params']['ApiRevision'] = $value;
1034
1035
        return $this;
1036
    }
1037
}
1038
1039
/**
1040
 * @method array getDriverIds()
1041
 * @method string getIotInstanceId()
1042
 * @method $this withIotInstanceId($value)
1043
 * @method string getInstanceId()
1044
 * @method $this withInstanceId($value)
1045
 * @method string getApiProduct()
1046
 * @method string getApiRevision()
1047
 */
1048
class BatchGetEdgeInstanceDriverConfigs extends Rpc
1049
{
1050
1051
    /**
1052
     * @param array $driverIds
1053
     *
1054
     * @return $this
1055
     */
1056
	public function withDriverIds(array $driverIds)
1057
	{
1058
	    $this->data['DriverIds'] = $driverIds;
1059
		foreach ($driverIds as $i => $iValue) {
1060
			$this->options['query']['DriverIds.' . ($i + 1)] = $iValue;
1061
		}
1062
1063
		return $this;
1064
    }
1065
1066
    /**
1067
     * @param string $value
1068
     *
1069
     * @return $this
1070
     */
1071
    public function withApiProduct($value)
1072
    {
1073
        $this->data['ApiProduct'] = $value;
1074
        $this->options['form_params']['ApiProduct'] = $value;
1075
1076
        return $this;
1077
    }
1078
1079
    /**
1080
     * @param string $value
1081
     *
1082
     * @return $this
1083
     */
1084
    public function withApiRevision($value)
1085
    {
1086
        $this->data['ApiRevision'] = $value;
1087
        $this->options['form_params']['ApiRevision'] = $value;
1088
1089
        return $this;
1090
    }
1091
}
1092
1093
/**
1094
 * @method string getIotInstanceId()
1095
 * @method $this withIotInstanceId($value)
1096
 * @method string getProductKey()
1097
 * @method $this withProductKey($value)
1098
 * @method string getApiProduct()
1099
 * @method string getApiRevision()
1100
 * @method array getDeviceName()
1101
 */
1102
class BatchQueryDeviceDetail extends Rpc
1103
{
1104
1105
    /**
1106
     * @param string $value
1107
     *
1108
     * @return $this
1109
     */
1110
    public function withApiProduct($value)
1111
    {
1112
        $this->data['ApiProduct'] = $value;
1113
        $this->options['form_params']['ApiProduct'] = $value;
1114
1115
        return $this;
1116
    }
1117
1118
    /**
1119
     * @param string $value
1120
     *
1121
     * @return $this
1122
     */
1123
    public function withApiRevision($value)
1124
    {
1125
        $this->data['ApiRevision'] = $value;
1126
        $this->options['form_params']['ApiRevision'] = $value;
1127
1128
        return $this;
1129
    }
1130
1131
    /**
1132
     * @param array $deviceName
1133
     *
1134
     * @return $this
1135
     */
1136
	public function withDeviceName(array $deviceName)
1137
	{
1138
	    $this->data['DeviceName'] = $deviceName;
1139
		foreach ($deviceName as $i => $iValue) {
1140
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
1141
		}
1142
1143
		return $this;
1144
    }
1145
}
1146
1147
/**
1148
 * @method string getIotInstanceId()
1149
 * @method $this withIotInstanceId($value)
1150
 * @method string getCount()
1151
 * @method $this withCount($value)
1152
 * @method string getProductKey()
1153
 * @method $this withProductKey($value)
1154
 * @method string getApiProduct()
1155
 * @method string getApiRevision()
1156
 */
1157
class BatchRegisterDevice extends Rpc
1158
{
1159
1160
    /**
1161
     * @param string $value
1162
     *
1163
     * @return $this
1164
     */
1165
    public function withApiProduct($value)
1166
    {
1167
        $this->data['ApiProduct'] = $value;
1168
        $this->options['form_params']['ApiProduct'] = $value;
1169
1170
        return $this;
1171
    }
1172
1173
    /**
1174
     * @param string $value
1175
     *
1176
     * @return $this
1177
     */
1178
    public function withApiRevision($value)
1179
    {
1180
        $this->data['ApiRevision'] = $value;
1181
        $this->options['form_params']['ApiRevision'] = $value;
1182
1183
        return $this;
1184
    }
1185
}
1186
1187
/**
1188
 * @method string getIotInstanceId()
1189
 * @method $this withIotInstanceId($value)
1190
 * @method string getProductKey()
1191
 * @method $this withProductKey($value)
1192
 * @method string getApplyId()
1193
 * @method $this withApplyId($value)
1194
 * @method string getApiProduct()
1195
 * @method string getApiRevision()
1196
 */
1197
class BatchRegisterDeviceWithApplyId extends Rpc
1198
{
1199
1200
    /**
1201
     * @param string $value
1202
     *
1203
     * @return $this
1204
     */
1205
    public function withApiProduct($value)
1206
    {
1207
        $this->data['ApiProduct'] = $value;
1208
        $this->options['form_params']['ApiProduct'] = $value;
1209
1210
        return $this;
1211
    }
1212
1213
    /**
1214
     * @param string $value
1215
     *
1216
     * @return $this
1217
     */
1218
    public function withApiRevision($value)
1219
    {
1220
        $this->data['ApiRevision'] = $value;
1221
        $this->options['form_params']['ApiRevision'] = $value;
1222
1223
        return $this;
1224
    }
1225
}
1226
1227
/**
1228
 * @method string getDriverId()
1229
 * @method $this withDriverId($value)
1230
 * @method array getIotIds()
1231
 * @method string getIotInstanceId()
1232
 * @method $this withIotInstanceId($value)
1233
 * @method string getInstanceId()
1234
 * @method $this withInstanceId($value)
1235
 * @method string getApiProduct()
1236
 * @method string getApiRevision()
1237
 * @method string getChannelId()
1238
 * @method $this withChannelId($value)
1239
 */
1240
class BatchSetEdgeInstanceDeviceChannel extends Rpc
1241
{
1242
1243
    /**
1244
     * @param array $iotIds
1245
     *
1246
     * @return $this
1247
     */
1248
	public function withIotIds(array $iotIds)
1249
	{
1250
	    $this->data['IotIds'] = $iotIds;
1251
		foreach ($iotIds as $i => $iValue) {
1252
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
1253
		}
1254
1255
		return $this;
1256
    }
1257
1258
    /**
1259
     * @param string $value
1260
     *
1261
     * @return $this
1262
     */
1263
    public function withApiProduct($value)
1264
    {
1265
        $this->data['ApiProduct'] = $value;
1266
        $this->options['form_params']['ApiProduct'] = $value;
1267
1268
        return $this;
1269
    }
1270
1271
    /**
1272
     * @param string $value
1273
     *
1274
     * @return $this
1275
     */
1276
    public function withApiRevision($value)
1277
    {
1278
        $this->data['ApiRevision'] = $value;
1279
        $this->options['form_params']['ApiRevision'] = $value;
1280
1281
        return $this;
1282
    }
1283
}
1284
1285
/**
1286
 * @method array getDeviceConfigs()
1287
 * @method string getIotInstanceId()
1288
 * @method $this withIotInstanceId($value)
1289
 * @method string getInstanceId()
1290
 * @method $this withInstanceId($value)
1291
 * @method string getApiProduct()
1292
 * @method string getApiRevision()
1293
 */
1294
class BatchSetEdgeInstanceDeviceConfig extends Rpc
1295
{
1296
1297
    /**
1298
     * @param array $deviceConfigs
1299
     *
1300
     * @return $this
1301
     */
1302
	public function withDeviceConfigs(array $deviceConfigs)
1303
	{
1304
	    $this->data['DeviceConfigs'] = $deviceConfigs;
1305
		foreach ($deviceConfigs as $depth1 => $depth1Value) {
1306
			if(isset($depth1Value['IotId'])){
1307
				$this->options['query']['DeviceConfigs.' . ($depth1 + 1) . '.IotId'] = $depth1Value['IotId'];
1308
			}
1309
			if(isset($depth1Value['Content'])){
1310
				$this->options['query']['DeviceConfigs.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
1311
			}
1312
		}
1313
1314
		return $this;
1315
    }
1316
1317
    /**
1318
     * @param string $value
1319
     *
1320
     * @return $this
1321
     */
1322
    public function withApiProduct($value)
1323
    {
1324
        $this->data['ApiProduct'] = $value;
1325
        $this->options['form_params']['ApiProduct'] = $value;
1326
1327
        return $this;
1328
    }
1329
1330
    /**
1331
     * @param string $value
1332
     *
1333
     * @return $this
1334
     */
1335
    public function withApiRevision($value)
1336
    {
1337
        $this->data['ApiRevision'] = $value;
1338
        $this->options['form_params']['ApiRevision'] = $value;
1339
1340
        return $this;
1341
    }
1342
}
1343
1344
/**
1345
 * @method array getIotIds()
1346
 * @method string getIotInstanceId()
1347
 * @method $this withIotInstanceId($value)
1348
 * @method string getInstanceId()
1349
 * @method $this withInstanceId($value)
1350
 * @method string getApiProduct()
1351
 * @method string getApiRevision()
1352
 */
1353
class BatchUnbindDeviceFromEdgeInstance extends Rpc
1354
{
1355
1356
    /**
1357
     * @param array $iotIds
1358
     *
1359
     * @return $this
1360
     */
1361
	public function withIotIds(array $iotIds)
1362
	{
1363
	    $this->data['IotIds'] = $iotIds;
1364
		foreach ($iotIds as $i => $iValue) {
1365
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
1366
		}
1367
1368
		return $this;
1369
    }
1370
1371
    /**
1372
     * @param string $value
1373
     *
1374
     * @return $this
1375
     */
1376
    public function withApiProduct($value)
1377
    {
1378
        $this->data['ApiProduct'] = $value;
1379
        $this->options['form_params']['ApiProduct'] = $value;
1380
1381
        return $this;
1382
    }
1383
1384
    /**
1385
     * @param string $value
1386
     *
1387
     * @return $this
1388
     */
1389
    public function withApiRevision($value)
1390
    {
1391
        $this->data['ApiRevision'] = $value;
1392
        $this->options['form_params']['ApiRevision'] = $value;
1393
1394
        return $this;
1395
    }
1396
}
1397
1398
/**
1399
 * @method string getIotInstanceId()
1400
 * @method $this withIotInstanceId($value)
1401
 * @method array getDeviceNicknameInfo()
1402
 * @method string getApiProduct()
1403
 * @method string getApiRevision()
1404
 */
1405
class BatchUpdateDeviceNickname extends Rpc
1406
{
1407
1408
    /**
1409
     * @param array $deviceNicknameInfo
1410
     *
1411
     * @return $this
1412
     */
1413
	public function withDeviceNicknameInfo(array $deviceNicknameInfo)
1414
	{
1415
	    $this->data['DeviceNicknameInfo'] = $deviceNicknameInfo;
1416
		foreach ($deviceNicknameInfo as $depth1 => $depth1Value) {
1417
			if(isset($depth1Value['IotId'])){
1418
				$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.IotId'] = $depth1Value['IotId'];
1419
			}
1420
			if(isset($depth1Value['Nickname'])){
1421
				$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.Nickname'] = $depth1Value['Nickname'];
1422
			}
1423
			if(isset($depth1Value['DeviceName'])){
1424
				$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
1425
			}
1426
			if(isset($depth1Value['ProductKey'])){
1427
				$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
1428
			}
1429
		}
1430
1431
		return $this;
1432
    }
1433
1434
    /**
1435
     * @param string $value
1436
     *
1437
     * @return $this
1438
     */
1439
    public function withApiProduct($value)
1440
    {
1441
        $this->data['ApiProduct'] = $value;
1442
        $this->options['form_params']['ApiProduct'] = $value;
1443
1444
        return $this;
1445
    }
1446
1447
    /**
1448
     * @param string $value
1449
     *
1450
     * @return $this
1451
     */
1452
    public function withApiRevision($value)
1453
    {
1454
        $this->data['ApiRevision'] = $value;
1455
        $this->options['form_params']['ApiRevision'] = $value;
1456
1457
        return $this;
1458
    }
1459
}
1460
1461
/**
1462
 * @method string getApplicationVersion()
1463
 * @method $this withApplicationVersion($value)
1464
 * @method string getIotInstanceId()
1465
 * @method $this withIotInstanceId($value)
1466
 * @method string getApplicationId()
1467
 * @method $this withApplicationId($value)
1468
 * @method string getInstanceId()
1469
 * @method $this withInstanceId($value)
1470
 * @method string getApiProduct()
1471
 * @method string getApiRevision()
1472
 */
1473
class BindApplicationToEdgeInstance extends Rpc
1474
{
1475
1476
    /**
1477
     * @param string $value
1478
     *
1479
     * @return $this
1480
     */
1481
    public function withApiProduct($value)
1482
    {
1483
        $this->data['ApiProduct'] = $value;
1484
        $this->options['form_params']['ApiProduct'] = $value;
1485
1486
        return $this;
1487
    }
1488
1489
    /**
1490
     * @param string $value
1491
     *
1492
     * @return $this
1493
     */
1494
    public function withApiRevision($value)
1495
    {
1496
        $this->data['ApiRevision'] = $value;
1497
        $this->options['form_params']['ApiRevision'] = $value;
1498
1499
        return $this;
1500
    }
1501
}
1502
1503
/**
1504
 * @method string getDriverId()
1505
 * @method $this withDriverId($value)
1506
 * @method string getIotInstanceId()
1507
 * @method $this withIotInstanceId($value)
1508
 * @method string getDriverVersion()
1509
 * @method $this withDriverVersion($value)
1510
 * @method string getOrderId()
1511
 * @method $this withOrderId($value)
1512
 * @method string getInstanceId()
1513
 * @method $this withInstanceId($value)
1514
 * @method string getApiProduct()
1515
 * @method string getApiRevision()
1516
 */
1517
class BindDriverToEdgeInstance extends Rpc
1518
{
1519
1520
    /**
1521
     * @param string $value
1522
     *
1523
     * @return $this
1524
     */
1525
    public function withApiProduct($value)
1526
    {
1527
        $this->data['ApiProduct'] = $value;
1528
        $this->options['form_params']['ApiProduct'] = $value;
1529
1530
        return $this;
1531
    }
1532
1533
    /**
1534
     * @param string $value
1535
     *
1536
     * @return $this
1537
     */
1538
    public function withApiRevision($value)
1539
    {
1540
        $this->data['ApiRevision'] = $value;
1541
        $this->options['form_params']['ApiRevision'] = $value;
1542
1543
        return $this;
1544
    }
1545
}
1546
1547
/**
1548
 * @method string getIotId()
1549
 * @method $this withIotId($value)
1550
 * @method string getIotInstanceId()
1551
 * @method $this withIotInstanceId($value)
1552
 * @method string getProductKey()
1553
 * @method $this withProductKey($value)
1554
 * @method string getInstanceId()
1555
 * @method $this withInstanceId($value)
1556
 * @method string getApiProduct()
1557
 * @method string getApiRevision()
1558
 * @method string getDeviceName()
1559
 * @method $this withDeviceName($value)
1560
 */
1561
class BindGatewayToEdgeInstance extends Rpc
1562
{
1563
1564
    /**
1565
     * @param string $value
1566
     *
1567
     * @return $this
1568
     */
1569
    public function withApiProduct($value)
1570
    {
1571
        $this->data['ApiProduct'] = $value;
1572
        $this->options['form_params']['ApiProduct'] = $value;
1573
1574
        return $this;
1575
    }
1576
1577
    /**
1578
     * @param string $value
1579
     *
1580
     * @return $this
1581
     */
1582
    public function withApiRevision($value)
1583
    {
1584
        $this->data['ApiRevision'] = $value;
1585
        $this->options['form_params']['ApiRevision'] = $value;
1586
1587
        return $this;
1588
    }
1589
}
1590
1591
/**
1592
 * @method string getIotInstanceId()
1593
 * @method $this withIotInstanceId($value)
1594
 * @method string getInstanceId()
1595
 * @method $this withInstanceId($value)
1596
 * @method string getApiProduct()
1597
 * @method string getApiRevision()
1598
 * @method string getRuleId()
1599
 * @method $this withRuleId($value)
1600
 */
1601
class BindSceneRuleToEdgeInstance extends Rpc
1602
{
1603
1604
    /**
1605
     * @param string $value
1606
     *
1607
     * @return $this
1608
     */
1609
    public function withApiProduct($value)
1610
    {
1611
        $this->data['ApiProduct'] = $value;
1612
        $this->options['form_params']['ApiProduct'] = $value;
1613
1614
        return $this;
1615
    }
1616
1617
    /**
1618
     * @param string $value
1619
     *
1620
     * @return $this
1621
     */
1622
    public function withApiRevision($value)
1623
    {
1624
        $this->data['ApiRevision'] = $value;
1625
        $this->options['form_params']['ApiRevision'] = $value;
1626
1627
        return $this;
1628
    }
1629
}
1630
1631
/**
1632
 * @method string getJobId()
1633
 * @method $this withJobId($value)
1634
 * @method string getIotInstanceId()
1635
 * @method $this withIotInstanceId($value)
1636
 * @method string getApiProduct()
1637
 * @method string getApiRevision()
1638
 */
1639
class CancelOTAStrategyByJob extends Rpc
1640
{
1641
1642
    /**
1643
     * @param string $value
1644
     *
1645
     * @return $this
1646
     */
1647
    public function withApiProduct($value)
1648
    {
1649
        $this->data['ApiProduct'] = $value;
1650
        $this->options['form_params']['ApiProduct'] = $value;
1651
1652
        return $this;
1653
    }
1654
1655
    /**
1656
     * @param string $value
1657
     *
1658
     * @return $this
1659
     */
1660
    public function withApiRevision($value)
1661
    {
1662
        $this->data['ApiRevision'] = $value;
1663
        $this->options['form_params']['ApiRevision'] = $value;
1664
1665
        return $this;
1666
    }
1667
}
1668
1669
/**
1670
 * @method string getJobId()
1671
 * @method $this withJobId($value)
1672
 * @method string getIotInstanceId()
1673
 * @method $this withIotInstanceId($value)
1674
 * @method string getFirmwareId()
1675
 * @method $this withFirmwareId($value)
1676
 * @method string getProductKey()
1677
 * @method $this withProductKey($value)
1678
 * @method string getApiProduct()
1679
 * @method string getApiRevision()
1680
 * @method array getDeviceName()
1681
 */
1682
class CancelOTATaskByDevice extends Rpc
1683
{
1684
1685
    /**
1686
     * @param string $value
1687
     *
1688
     * @return $this
1689
     */
1690
    public function withApiProduct($value)
1691
    {
1692
        $this->data['ApiProduct'] = $value;
1693
        $this->options['form_params']['ApiProduct'] = $value;
1694
1695
        return $this;
1696
    }
1697
1698
    /**
1699
     * @param string $value
1700
     *
1701
     * @return $this
1702
     */
1703
    public function withApiRevision($value)
1704
    {
1705
        $this->data['ApiRevision'] = $value;
1706
        $this->options['form_params']['ApiRevision'] = $value;
1707
1708
        return $this;
1709
    }
1710
1711
    /**
1712
     * @param array $deviceName
1713
     *
1714
     * @return $this
1715
     */
1716
	public function withDeviceName(array $deviceName)
1717
	{
1718
	    $this->data['DeviceName'] = $deviceName;
1719
		foreach ($deviceName as $i => $iValue) {
1720
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
1721
		}
1722
1723
		return $this;
1724
    }
1725
}
1726
1727
/**
1728
 * @method string getCancelScheduledTask()
1729
 * @method $this withCancelScheduledTask($value)
1730
 * @method string getJobId()
1731
 * @method $this withJobId($value)
1732
 * @method string getIotInstanceId()
1733
 * @method $this withIotInstanceId($value)
1734
 * @method string getCancelQueuedTask()
1735
 * @method $this withCancelQueuedTask($value)
1736
 * @method string getCancelInProgressTask()
1737
 * @method $this withCancelInProgressTask($value)
1738
 * @method string getCancelNotifiedTask()
1739
 * @method $this withCancelNotifiedTask($value)
1740
 * @method string getApiProduct()
1741
 * @method string getApiRevision()
1742
 */
1743
class CancelOTATaskByJob extends Rpc
1744
{
1745
1746
    /**
1747
     * @param string $value
1748
     *
1749
     * @return $this
1750
     */
1751
    public function withApiProduct($value)
1752
    {
1753
        $this->data['ApiProduct'] = $value;
1754
        $this->options['form_params']['ApiProduct'] = $value;
1755
1756
        return $this;
1757
    }
1758
1759
    /**
1760
     * @param string $value
1761
     *
1762
     * @return $this
1763
     */
1764
    public function withApiRevision($value)
1765
    {
1766
        $this->data['ApiRevision'] = $value;
1767
        $this->options['form_params']['ApiRevision'] = $value;
1768
1769
        return $this;
1770
    }
1771
}
1772
1773
/**
1774
 * @method string getDriverId()
1775
 * @method $this withDriverId($value)
1776
 * @method string getIotInstanceId()
1777
 * @method $this withIotInstanceId($value)
1778
 * @method string getInstanceId()
1779
 * @method $this withInstanceId($value)
1780
 * @method string getApiProduct()
1781
 * @method string getApiRevision()
1782
 */
1783
class ClearEdgeInstanceDriverConfigs extends Rpc
1784
{
1785
1786
    /**
1787
     * @param string $value
1788
     *
1789
     * @return $this
1790
     */
1791
    public function withApiProduct($value)
1792
    {
1793
        $this->data['ApiProduct'] = $value;
1794
        $this->options['form_params']['ApiProduct'] = $value;
1795
1796
        return $this;
1797
    }
1798
1799
    /**
1800
     * @param string $value
1801
     *
1802
     * @return $this
1803
     */
1804
    public function withApiRevision($value)
1805
    {
1806
        $this->data['ApiRevision'] = $value;
1807
        $this->options['form_params']['ApiRevision'] = $value;
1808
1809
        return $this;
1810
    }
1811
}
1812
1813
/**
1814
 * @method string getIotInstanceId()
1815
 * @method $this withIotInstanceId($value)
1816
 * @method string getInstanceId()
1817
 * @method $this withInstanceId($value)
1818
 * @method string getApiProduct()
1819
 * @method string getApiRevision()
1820
 */
1821
class CloseEdgeInstanceDeployment extends Rpc
1822
{
1823
1824
    /**
1825
     * @param string $value
1826
     *
1827
     * @return $this
1828
     */
1829
    public function withApiProduct($value)
1830
    {
1831
        $this->data['ApiProduct'] = $value;
1832
        $this->options['form_params']['ApiProduct'] = $value;
1833
1834
        return $this;
1835
    }
1836
1837
    /**
1838
     * @param string $value
1839
     *
1840
     * @return $this
1841
     */
1842
    public function withApiRevision($value)
1843
    {
1844
        $this->data['ApiRevision'] = $value;
1845
        $this->options['form_params']['ApiRevision'] = $value;
1846
1847
        return $this;
1848
    }
1849
}
1850
1851
/**
1852
 * @method string getTargetProductKey()
1853
 * @method $this withTargetProductKey($value)
1854
 * @method string getResourceGroupId()
1855
 * @method $this withResourceGroupId($value)
1856
 * @method string getIotInstanceId()
1857
 * @method $this withIotInstanceId($value)
1858
 * @method string getSourceModelVersion()
1859
 * @method $this withSourceModelVersion($value)
1860
 * @method string getSourceProductKey()
1861
 * @method $this withSourceProductKey($value)
1862
 * @method string getApiProduct()
1863
 * @method string getApiRevision()
1864
 */
1865
class CopyThingModel extends Rpc
1866
{
1867
1868
    /**
1869
     * @param string $value
1870
     *
1871
     * @return $this
1872
     */
1873
    public function withApiProduct($value)
1874
    {
1875
        $this->data['ApiProduct'] = $value;
1876
        $this->options['form_params']['ApiProduct'] = $value;
1877
1878
        return $this;
1879
    }
1880
1881
    /**
1882
     * @param string $value
1883
     *
1884
     * @return $this
1885
     */
1886
    public function withApiRevision($value)
1887
    {
1888
        $this->data['ApiRevision'] = $value;
1889
        $this->options['form_params']['ApiRevision'] = $value;
1890
1891
        return $this;
1892
    }
1893
}
1894
1895
/**
1896
 * @method string getIotInstanceId()
1897
 * @method $this withIotInstanceId($value)
1898
 * @method string getGroupName()
1899
 * @method $this withGroupName($value)
1900
 * @method string getApiProduct()
1901
 * @method string getApiRevision()
1902
 */
1903
class CreateConsumerGroup extends Rpc
1904
{
1905
1906
    /**
1907
     * @param string $value
1908
     *
1909
     * @return $this
1910
     */
1911
    public function withApiProduct($value)
1912
    {
1913
        $this->data['ApiProduct'] = $value;
1914
        $this->options['form_params']['ApiProduct'] = $value;
1915
1916
        return $this;
1917
    }
1918
1919
    /**
1920
     * @param string $value
1921
     *
1922
     * @return $this
1923
     */
1924
    public function withApiRevision($value)
1925
    {
1926
        $this->data['ApiRevision'] = $value;
1927
        $this->options['form_params']['ApiRevision'] = $value;
1928
1929
        return $this;
1930
    }
1931
}
1932
1933
/**
1934
 * @method string getConsumerGroupId()
1935
 * @method $this withConsumerGroupId($value)
1936
 * @method string getIotInstanceId()
1937
 * @method $this withIotInstanceId($value)
1938
 * @method string getProductKey()
1939
 * @method $this withProductKey($value)
1940
 * @method string getApiProduct()
1941
 * @method string getApiRevision()
1942
 */
1943
class CreateConsumerGroupSubscribeRelation extends Rpc
1944
{
1945
1946
    /**
1947
     * @param string $value
1948
     *
1949
     * @return $this
1950
     */
1951
    public function withApiProduct($value)
1952
    {
1953
        $this->data['ApiProduct'] = $value;
1954
        $this->options['form_params']['ApiProduct'] = $value;
1955
1956
        return $this;
1957
    }
1958
1959
    /**
1960
     * @param string $value
1961
     *
1962
     * @return $this
1963
     */
1964
    public function withApiRevision($value)
1965
    {
1966
        $this->data['ApiRevision'] = $value;
1967
        $this->options['form_params']['ApiRevision'] = $value;
1968
1969
        return $this;
1970
    }
1971
}
1972
1973
/**
1974
 * @method array getRequestParam()
1975
 * @method string getIotInstanceId()
1976
 * @method string getApiPath()
1977
 * @method string getTemplateSql()
1978
 * @method array getResponseParam()
1979
 * @method string getOriginSql()
1980
 * @method string getDisplayName()
1981
 * @method string getApiProduct()
1982
 * @method string getApiRevision()
1983
 * @method string getDesc()
1984
 */
1985
class CreateDataAPIService extends Rpc
1986
{
1987
1988
    /**
1989
     * @param array $requestParam
1990
     *
1991
     * @return $this
1992
     */
1993
	public function withRequestParam(array $requestParam)
1994
	{
1995
	    $this->data['RequestParam'] = $requestParam;
1996
		foreach ($requestParam as $depth1 => $depth1Value) {
1997
			if(isset($depth1Value['Name'])){
1998
				$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1999
			}
2000
			if(isset($depth1Value['Type'])){
2001
				$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
2002
			}
2003
			if(isset($depth1Value['Desc'])){
2004
				$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Desc'] = $depth1Value['Desc'];
2005
			}
2006
			if(isset($depth1Value['Example'])){
2007
				$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Example'] = $depth1Value['Example'];
2008
			}
2009
			if(isset($depth1Value['Required'])){
2010
				$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Required'] = $depth1Value['Required'];
2011
			}
2012
		}
2013
2014
		return $this;
2015
    }
2016
2017
    /**
2018
     * @param string $value
2019
     *
2020
     * @return $this
2021
     */
2022
    public function withIotInstanceId($value)
2023
    {
2024
        $this->data['IotInstanceId'] = $value;
2025
        $this->options['form_params']['IotInstanceId'] = $value;
2026
2027
        return $this;
2028
    }
2029
2030
    /**
2031
     * @param string $value
2032
     *
2033
     * @return $this
2034
     */
2035
    public function withApiPath($value)
2036
    {
2037
        $this->data['ApiPath'] = $value;
2038
        $this->options['form_params']['ApiPath'] = $value;
2039
2040
        return $this;
2041
    }
2042
2043
    /**
2044
     * @param string $value
2045
     *
2046
     * @return $this
2047
     */
2048
    public function withTemplateSql($value)
2049
    {
2050
        $this->data['TemplateSql'] = $value;
2051
        $this->options['form_params']['TemplateSql'] = $value;
2052
2053
        return $this;
2054
    }
2055
2056
    /**
2057
     * @param array $responseParam
2058
     *
2059
     * @return $this
2060
     */
2061
	public function withResponseParam(array $responseParam)
2062
	{
2063
	    $this->data['ResponseParam'] = $responseParam;
2064
		foreach ($responseParam as $depth1 => $depth1Value) {
2065
			if(isset($depth1Value['Name'])){
2066
				$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2067
			}
2068
			if(isset($depth1Value['Type'])){
2069
				$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
2070
			}
2071
			if(isset($depth1Value['Desc'])){
2072
				$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Desc'] = $depth1Value['Desc'];
2073
			}
2074
			if(isset($depth1Value['Example'])){
2075
				$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Example'] = $depth1Value['Example'];
2076
			}
2077
			if(isset($depth1Value['Required'])){
2078
				$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Required'] = $depth1Value['Required'];
2079
			}
2080
		}
2081
2082
		return $this;
2083
    }
2084
2085
    /**
2086
     * @param string $value
2087
     *
2088
     * @return $this
2089
     */
2090
    public function withOriginSql($value)
2091
    {
2092
        $this->data['OriginSql'] = $value;
2093
        $this->options['form_params']['OriginSql'] = $value;
2094
2095
        return $this;
2096
    }
2097
2098
    /**
2099
     * @param string $value
2100
     *
2101
     * @return $this
2102
     */
2103
    public function withDisplayName($value)
2104
    {
2105
        $this->data['DisplayName'] = $value;
2106
        $this->options['form_params']['DisplayName'] = $value;
2107
2108
        return $this;
2109
    }
2110
2111
    /**
2112
     * @param string $value
2113
     *
2114
     * @return $this
2115
     */
2116
    public function withApiProduct($value)
2117
    {
2118
        $this->data['ApiProduct'] = $value;
2119
        $this->options['form_params']['ApiProduct'] = $value;
2120
2121
        return $this;
2122
    }
2123
2124
    /**
2125
     * @param string $value
2126
     *
2127
     * @return $this
2128
     */
2129
    public function withApiRevision($value)
2130
    {
2131
        $this->data['ApiRevision'] = $value;
2132
        $this->options['form_params']['ApiRevision'] = $value;
2133
2134
        return $this;
2135
    }
2136
2137
    /**
2138
     * @param string $value
2139
     *
2140
     * @return $this
2141
     */
2142
    public function withDesc($value)
2143
    {
2144
        $this->data['Desc'] = $value;
2145
        $this->options['form_params']['Desc'] = $value;
2146
2147
        return $this;
2148
    }
2149
}
2150
2151
/**
2152
 * @method string getSuperGroupId()
2153
 * @method $this withSuperGroupId($value)
2154
 * @method string getIotInstanceId()
2155
 * @method $this withIotInstanceId($value)
2156
 * @method string getGroupName()
2157
 * @method $this withGroupName($value)
2158
 * @method string getGroupDesc()
2159
 * @method $this withGroupDesc($value)
2160
 * @method string getApiProduct()
2161
 * @method string getApiRevision()
2162
 */
2163
class CreateDeviceGroup extends Rpc
2164
{
2165
2166
    /**
2167
     * @param string $value
2168
     *
2169
     * @return $this
2170
     */
2171
    public function withApiProduct($value)
2172
    {
2173
        $this->data['ApiProduct'] = $value;
2174
        $this->options['form_params']['ApiProduct'] = $value;
2175
2176
        return $this;
2177
    }
2178
2179
    /**
2180
     * @param string $value
2181
     *
2182
     * @return $this
2183
     */
2184
    public function withApiRevision($value)
2185
    {
2186
        $this->data['ApiRevision'] = $value;
2187
        $this->options['form_params']['ApiRevision'] = $value;
2188
2189
        return $this;
2190
    }
2191
}
2192
2193
/**
2194
 * @method string getDriverProtocol()
2195
 * @method $this withDriverProtocol($value)
2196
 * @method string getDriverName()
2197
 * @method $this withDriverName($value)
2198
 * @method string getIsBuiltIn()
2199
 * @method $this withIsBuiltIn($value)
2200
 * @method string getIotInstanceId()
2201
 * @method $this withIotInstanceId($value)
2202
 * @method string getRuntime()
2203
 * @method $this withRuntime($value)
2204
 * @method string getApiProduct()
2205
 * @method string getCpuArch()
2206
 * @method $this withCpuArch($value)
2207
 * @method string getApiRevision()
2208
 */
2209
class CreateEdgeDriver extends Rpc
2210
{
2211
2212
    /**
2213
     * @param string $value
2214
     *
2215
     * @return $this
2216
     */
2217
    public function withApiProduct($value)
2218
    {
2219
        $this->data['ApiProduct'] = $value;
2220
        $this->options['form_params']['ApiProduct'] = $value;
2221
2222
        return $this;
2223
    }
2224
2225
    /**
2226
     * @param string $value
2227
     *
2228
     * @return $this
2229
     */
2230
    public function withApiRevision($value)
2231
    {
2232
        $this->data['ApiRevision'] = $value;
2233
        $this->options['form_params']['ApiRevision'] = $value;
2234
2235
        return $this;
2236
    }
2237
}
2238
2239
/**
2240
 * @method string getConfigCheckRule()
2241
 * @method $this withConfigCheckRule($value)
2242
 * @method string getArgument()
2243
 * @method $this withArgument($value)
2244
 * @method string getEdgeVersion()
2245
 * @method $this withEdgeVersion($value)
2246
 * @method string getDescription()
2247
 * @method $this withDescription($value)
2248
 * @method string getDriverId()
2249
 * @method $this withDriverId($value)
2250
 * @method string getIotInstanceId()
2251
 * @method $this withIotInstanceId($value)
2252
 * @method string getContainerConfig()
2253
 * @method $this withContainerConfig($value)
2254
 * @method string getDriverVersion()
2255
 * @method $this withDriverVersion($value)
2256
 * @method string getDriverConfig()
2257
 * @method $this withDriverConfig($value)
2258
 * @method string getSourceConfig()
2259
 * @method $this withSourceConfig($value)
2260
 * @method string getApiProduct()
2261
 * @method string getApiRevision()
2262
 */
2263
class CreateEdgeDriverVersion extends Rpc
2264
{
2265
2266
    /**
2267
     * @param string $value
2268
     *
2269
     * @return $this
2270
     */
2271
    public function withApiProduct($value)
2272
    {
2273
        $this->data['ApiProduct'] = $value;
2274
        $this->options['form_params']['ApiProduct'] = $value;
2275
2276
        return $this;
2277
    }
2278
2279
    /**
2280
     * @param string $value
2281
     *
2282
     * @return $this
2283
     */
2284
    public function withApiRevision($value)
2285
    {
2286
        $this->data['ApiRevision'] = $value;
2287
        $this->options['form_params']['ApiRevision'] = $value;
2288
2289
        return $this;
2290
    }
2291
}
2292
2293
/**
2294
 * @method string getSpec()
2295
 * @method $this withSpec($value)
2296
 * @method string getIotInstanceId()
2297
 * @method $this withIotInstanceId($value)
2298
 * @method string getTags()
2299
 * @method $this withTags($value)
2300
 * @method string getApiProduct()
2301
 * @method string getName()
2302
 * @method $this withName($value)
2303
 * @method string getApiRevision()
2304
 */
2305
class CreateEdgeInstance extends Rpc
2306
{
2307
2308
    /**
2309
     * @param string $value
2310
     *
2311
     * @return $this
2312
     */
2313
    public function withApiProduct($value)
2314
    {
2315
        $this->data['ApiProduct'] = $value;
2316
        $this->options['form_params']['ApiProduct'] = $value;
2317
2318
        return $this;
2319
    }
2320
2321
    /**
2322
     * @param string $value
2323
     *
2324
     * @return $this
2325
     */
2326
    public function withApiRevision($value)
2327
    {
2328
        $this->data['ApiRevision'] = $value;
2329
        $this->options['form_params']['ApiRevision'] = $value;
2330
2331
        return $this;
2332
    }
2333
}
2334
2335
/**
2336
 * @method array getConfigs()
2337
 * @method string getDriverId()
2338
 * @method $this withDriverId($value)
2339
 * @method string getIotInstanceId()
2340
 * @method $this withIotInstanceId($value)
2341
 * @method string getChannelName()
2342
 * @method $this withChannelName($value)
2343
 * @method string getInstanceId()
2344
 * @method $this withInstanceId($value)
2345
 * @method string getApiProduct()
2346
 * @method string getApiRevision()
2347
 */
2348
class CreateEdgeInstanceChannel extends Rpc
2349
{
2350
2351
    /**
2352
     * @param array $configs
2353
     *
2354
     * @return $this
2355
     */
2356
	public function withConfigs(array $configs)
2357
	{
2358
	    $this->data['Configs'] = $configs;
2359
		foreach ($configs as $depth1 => $depth1Value) {
2360
			if(isset($depth1Value['Format'])){
2361
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Format'] = $depth1Value['Format'];
2362
			}
2363
			if(isset($depth1Value['Content'])){
2364
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
2365
			}
2366
			if(isset($depth1Value['Key'])){
2367
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2368
			}
2369
		}
2370
2371
		return $this;
2372
    }
2373
2374
    /**
2375
     * @param string $value
2376
     *
2377
     * @return $this
2378
     */
2379
    public function withApiProduct($value)
2380
    {
2381
        $this->data['ApiProduct'] = $value;
2382
        $this->options['form_params']['ApiProduct'] = $value;
2383
2384
        return $this;
2385
    }
2386
2387
    /**
2388
     * @param string $value
2389
     *
2390
     * @return $this
2391
     */
2392
    public function withApiRevision($value)
2393
    {
2394
        $this->data['ApiRevision'] = $value;
2395
        $this->options['form_params']['ApiRevision'] = $value;
2396
2397
        return $this;
2398
    }
2399
}
2400
2401
/**
2402
 * @method string getType()
2403
 * @method $this withType($value)
2404
 * @method string getIotInstanceId()
2405
 * @method $this withIotInstanceId($value)
2406
 * @method string getInstanceId()
2407
 * @method $this withInstanceId($value)
2408
 * @method string getApiProduct()
2409
 * @method string getApiRevision()
2410
 */
2411
class CreateEdgeInstanceDeployment extends Rpc
2412
{
2413
2414
    /**
2415
     * @param string $value
2416
     *
2417
     * @return $this
2418
     */
2419
    public function withApiProduct($value)
2420
    {
2421
        $this->data['ApiProduct'] = $value;
2422
        $this->options['form_params']['ApiProduct'] = $value;
2423
2424
        return $this;
2425
    }
2426
2427
    /**
2428
     * @param string $value
2429
     *
2430
     * @return $this
2431
     */
2432
    public function withApiRevision($value)
2433
    {
2434
        $this->data['ApiRevision'] = $value;
2435
        $this->options['form_params']['ApiRevision'] = $value;
2436
2437
        return $this;
2438
    }
2439
}
2440
2441
/**
2442
 * @method string getType()
2443
 * @method $this withType($value)
2444
 * @method string getIotInstanceId()
2445
 * @method $this withIotInstanceId($value)
2446
 * @method string getResourceVersion()
2447
 * @method $this withResourceVersion($value)
2448
 * @method string getResourceId()
2449
 * @method $this withResourceId($value)
2450
 * @method string getFileName()
2451
 * @method $this withFileName($value)
2452
 * @method string getInstanceId()
2453
 * @method $this withInstanceId($value)
2454
 * @method string getApiProduct()
2455
 * @method string getApiRevision()
2456
 */
2457
class CreateEdgeOssPreSignedAddress extends Rpc
2458
{
2459
2460
    /**
2461
     * @param string $value
2462
     *
2463
     * @return $this
2464
     */
2465
    public function withApiProduct($value)
2466
    {
2467
        $this->data['ApiProduct'] = $value;
2468
        $this->options['form_params']['ApiProduct'] = $value;
2469
2470
        return $this;
2471
    }
2472
2473
    /**
2474
     * @param string $value
2475
     *
2476
     * @return $this
2477
     */
2478
    public function withApiRevision($value)
2479
    {
2480
        $this->data['ApiRevision'] = $value;
2481
        $this->options['form_params']['ApiRevision'] = $value;
2482
2483
        return $this;
2484
    }
2485
}
2486
2487
/**
2488
 * @method string getIotInstanceId()
2489
 * @method $this withIotInstanceId($value)
2490
 * @method array getDeviceInfo()
2491
 * @method string getProductKey()
2492
 * @method $this withProductKey($value)
2493
 * @method string getApiProduct()
2494
 * @method string getApiRevision()
2495
 */
2496
class CreateLoRaNodesTask extends Rpc
2497
{
2498
2499
    /**
2500
     * @param array $deviceInfo
2501
     *
2502
     * @return $this
2503
     */
2504
	public function withDeviceInfo(array $deviceInfo)
2505
	{
2506
	    $this->data['DeviceInfo'] = $deviceInfo;
2507
		foreach ($deviceInfo as $depth1 => $depth1Value) {
2508
			if(isset($depth1Value['PinCode'])){
2509
				$this->options['query']['DeviceInfo.' . ($depth1 + 1) . '.PinCode'] = $depth1Value['PinCode'];
2510
			}
2511
			if(isset($depth1Value['DevEui'])){
2512
				$this->options['query']['DeviceInfo.' . ($depth1 + 1) . '.DevEui'] = $depth1Value['DevEui'];
2513
			}
2514
		}
2515
2516
		return $this;
2517
    }
2518
2519
    /**
2520
     * @param string $value
2521
     *
2522
     * @return $this
2523
     */
2524
    public function withApiProduct($value)
2525
    {
2526
        $this->data['ApiProduct'] = $value;
2527
        $this->options['form_params']['ApiProduct'] = $value;
2528
2529
        return $this;
2530
    }
2531
2532
    /**
2533
     * @param string $value
2534
     *
2535
     * @return $this
2536
     */
2537
    public function withApiRevision($value)
2538
    {
2539
        $this->data['ApiRevision'] = $value;
2540
        $this->options['form_params']['ApiRevision'] = $value;
2541
2542
        return $this;
2543
    }
2544
}
2545
2546
/**
2547
 * @method string getRetryCount()
2548
 * @method $this withRetryCount($value)
2549
 * @method string getTimeoutInMinutes()
2550
 * @method $this withTimeoutInMinutes($value)
2551
 * @method string getIotInstanceId()
2552
 * @method $this withIotInstanceId($value)
2553
 * @method string getFirmwareId()
2554
 * @method $this withFirmwareId($value)
2555
 * @method string getProductKey()
2556
 * @method $this withProductKey($value)
2557
 * @method string getRetryInterval()
2558
 * @method $this withRetryInterval($value)
2559
 * @method array getSrcVersion()
2560
 * @method string getApiProduct()
2561
 * @method string getApiRevision()
2562
 * @method string getMaximumPerMinute()
2563
 * @method $this withMaximumPerMinute($value)
2564
 */
2565
class CreateOTADynamicUpgradeJob extends Rpc
2566
{
2567
2568
    /**
2569
     * @param array $srcVersion
2570
     *
2571
     * @return $this
2572
     */
2573
	public function withSrcVersion(array $srcVersion)
2574
	{
2575
	    $this->data['SrcVersion'] = $srcVersion;
2576
		foreach ($srcVersion as $i => $iValue) {
2577
			$this->options['query']['SrcVersion.' . ($i + 1)] = $iValue;
2578
		}
2579
2580
		return $this;
2581
    }
2582
2583
    /**
2584
     * @param string $value
2585
     *
2586
     * @return $this
2587
     */
2588
    public function withApiProduct($value)
2589
    {
2590
        $this->data['ApiProduct'] = $value;
2591
        $this->options['form_params']['ApiProduct'] = $value;
2592
2593
        return $this;
2594
    }
2595
2596
    /**
2597
     * @param string $value
2598
     *
2599
     * @return $this
2600
     */
2601
    public function withApiRevision($value)
2602
    {
2603
        $this->data['ApiRevision'] = $value;
2604
        $this->options['form_params']['ApiRevision'] = $value;
2605
2606
        return $this;
2607
    }
2608
}
2609
2610
/**
2611
 * @method string getSignMethod()
2612
 * @method $this withSignMethod($value)
2613
 * @method string getType()
2614
 * @method $this withType($value)
2615
 * @method string getFirmwareUrl()
2616
 * @method $this withFirmwareUrl($value)
2617
 * @method string getIotInstanceId()
2618
 * @method $this withIotInstanceId($value)
2619
 * @method string getFirmwareDesc()
2620
 * @method $this withFirmwareDesc($value)
2621
 * @method string getModuleName()
2622
 * @method $this withModuleName($value)
2623
 * @method string getFirmwareSign()
2624
 * @method $this withFirmwareSign($value)
2625
 * @method string getFirmwareSize()
2626
 * @method $this withFirmwareSize($value)
2627
 * @method string getFirmwareName()
2628
 * @method $this withFirmwareName($value)
2629
 * @method string getProductKey()
2630
 * @method $this withProductKey($value)
2631
 * @method string getSrcVersion()
2632
 * @method $this withSrcVersion($value)
2633
 * @method string getApiProduct()
2634
 * @method string getApiRevision()
2635
 * @method string getDestVersion()
2636
 * @method $this withDestVersion($value)
2637
 */
2638
class CreateOTAFirmware extends Rpc
2639
{
2640
2641
    /**
2642
     * @param string $value
2643
     *
2644
     * @return $this
2645
     */
2646
    public function withApiProduct($value)
2647
    {
2648
        $this->data['ApiProduct'] = $value;
2649
        $this->options['form_params']['ApiProduct'] = $value;
2650
2651
        return $this;
2652
    }
2653
2654
    /**
2655
     * @param string $value
2656
     *
2657
     * @return $this
2658
     */
2659
    public function withApiRevision($value)
2660
    {
2661
        $this->data['ApiRevision'] = $value;
2662
        $this->options['form_params']['ApiRevision'] = $value;
2663
2664
        return $this;
2665
    }
2666
}
2667
2668
/**
2669
 * @method string getRetryCount()
2670
 * @method $this withRetryCount($value)
2671
 * @method string getTimeoutInMinutes()
2672
 * @method $this withTimeoutInMinutes($value)
2673
 * @method string getIotInstanceId()
2674
 * @method $this withIotInstanceId($value)
2675
 * @method string getTargetSelection()
2676
 * @method $this withTargetSelection($value)
2677
 * @method string getScheduleFinishTime()
2678
 * @method $this withScheduleFinishTime($value)
2679
 * @method string getGrayPercent()
2680
 * @method $this withGrayPercent($value)
2681
 * @method string getFirmwareId()
2682
 * @method $this withFirmwareId($value)
2683
 * @method string getProductKey()
2684
 * @method $this withProductKey($value)
2685
 * @method string getRetryInterval()
2686
 * @method $this withRetryInterval($value)
2687
 * @method array getSrcVersion()
2688
 * @method string getScheduleTime()
2689
 * @method $this withScheduleTime($value)
2690
 * @method string getApiProduct()
2691
 * @method string getApiRevision()
2692
 * @method string getMaximumPerMinute()
2693
 * @method $this withMaximumPerMinute($value)
2694
 * @method array getTargetDeviceName()
2695
 */
2696
class CreateOTAStaticUpgradeJob extends Rpc
2697
{
2698
2699
    /**
2700
     * @param array $srcVersion
2701
     *
2702
     * @return $this
2703
     */
2704
	public function withSrcVersion(array $srcVersion)
2705
	{
2706
	    $this->data['SrcVersion'] = $srcVersion;
2707
		foreach ($srcVersion as $i => $iValue) {
2708
			$this->options['query']['SrcVersion.' . ($i + 1)] = $iValue;
2709
		}
2710
2711
		return $this;
2712
    }
2713
2714
    /**
2715
     * @param string $value
2716
     *
2717
     * @return $this
2718
     */
2719
    public function withApiProduct($value)
2720
    {
2721
        $this->data['ApiProduct'] = $value;
2722
        $this->options['form_params']['ApiProduct'] = $value;
2723
2724
        return $this;
2725
    }
2726
2727
    /**
2728
     * @param string $value
2729
     *
2730
     * @return $this
2731
     */
2732
    public function withApiRevision($value)
2733
    {
2734
        $this->data['ApiRevision'] = $value;
2735
        $this->options['form_params']['ApiRevision'] = $value;
2736
2737
        return $this;
2738
    }
2739
2740
    /**
2741
     * @param array $targetDeviceName
2742
     *
2743
     * @return $this
2744
     */
2745
	public function withTargetDeviceName(array $targetDeviceName)
2746
	{
2747
	    $this->data['TargetDeviceName'] = $targetDeviceName;
2748
		foreach ($targetDeviceName as $i => $iValue) {
2749
			$this->options['query']['TargetDeviceName.' . ($i + 1)] = $iValue;
2750
		}
2751
2752
		return $this;
2753
    }
2754
}
2755
2756
/**
2757
 * @method string getTimeoutInMinutes()
2758
 * @method $this withTimeoutInMinutes($value)
2759
 * @method string getIotInstanceId()
2760
 * @method $this withIotInstanceId($value)
2761
 * @method string getFirmwareId()
2762
 * @method $this withFirmwareId($value)
2763
 * @method string getProductKey()
2764
 * @method $this withProductKey($value)
2765
 * @method string getApiProduct()
2766
 * @method string getApiRevision()
2767
 * @method array getTargetDeviceName()
2768
 */
2769
class CreateOTAVerifyJob extends Rpc
2770
{
2771
2772
    /**
2773
     * @param string $value
2774
     *
2775
     * @return $this
2776
     */
2777
    public function withApiProduct($value)
2778
    {
2779
        $this->data['ApiProduct'] = $value;
2780
        $this->options['form_params']['ApiProduct'] = $value;
2781
2782
        return $this;
2783
    }
2784
2785
    /**
2786
     * @param string $value
2787
     *
2788
     * @return $this
2789
     */
2790
    public function withApiRevision($value)
2791
    {
2792
        $this->data['ApiRevision'] = $value;
2793
        $this->options['form_params']['ApiRevision'] = $value;
2794
2795
        return $this;
2796
    }
2797
2798
    /**
2799
     * @param array $targetDeviceName
2800
     *
2801
     * @return $this
2802
     */
2803
	public function withTargetDeviceName(array $targetDeviceName)
2804
	{
2805
	    $this->data['TargetDeviceName'] = $targetDeviceName;
2806
		foreach ($targetDeviceName as $i => $iValue) {
2807
			$this->options['query']['TargetDeviceName.' . ($i + 1)] = $iValue;
2808
		}
2809
2810
		return $this;
2811
    }
2812
}
2813
2814
/**
2815
 * @method string getNodeType()
2816
 * @method $this withNodeType($value)
2817
 * @method string getDescription()
2818
 * @method $this withDescription($value)
2819
 * @method string getCategoryKey()
2820
 * @method $this withCategoryKey($value)
2821
 * @method string getJoinPermissionId()
2822
 * @method $this withJoinPermissionId($value)
2823
 * @method string getAuthType()
2824
 * @method $this withAuthType($value)
2825
 * @method string getResourceGroupId()
2826
 * @method $this withResourceGroupId($value)
2827
 * @method string getIotInstanceId()
2828
 * @method $this withIotInstanceId($value)
2829
 * @method string getProductName()
2830
 * @method $this withProductName($value)
2831
 * @method string getAliyunCommodityCode()
2832
 * @method $this withAliyunCommodityCode($value)
2833
 * @method string getPublishAuto()
2834
 * @method $this withPublishAuto($value)
2835
 * @method string getCategoryId()
2836
 * @method $this withCategoryId($value)
2837
 * @method string getDataFormat()
2838
 * @method $this withDataFormat($value)
2839
 * @method string getId2()
2840
 * @method $this withId2($value)
2841
 * @method string getNetType()
2842
 * @method $this withNetType($value)
2843
 * @method string getApiProduct()
2844
 * @method string getApiRevision()
2845
 * @method string getProtocolType()
2846
 * @method $this withProtocolType($value)
2847
 */
2848
class CreateProduct extends Rpc
2849
{
2850
2851
    /**
2852
     * @param string $value
2853
     *
2854
     * @return $this
2855
     */
2856
    public function withApiProduct($value)
2857
    {
2858
        $this->data['ApiProduct'] = $value;
2859
        $this->options['form_params']['ApiProduct'] = $value;
2860
2861
        return $this;
2862
    }
2863
2864
    /**
2865
     * @param string $value
2866
     *
2867
     * @return $this
2868
     */
2869
    public function withApiRevision($value)
2870
    {
2871
        $this->data['ApiRevision'] = $value;
2872
        $this->options['form_params']['ApiRevision'] = $value;
2873
2874
        return $this;
2875
    }
2876
}
2877
2878
/**
2879
 * @method string getIotInstanceId()
2880
 * @method $this withIotInstanceId($value)
2881
 * @method string getProductKey()
2882
 * @method $this withProductKey($value)
2883
 * @method array getProductTag()
2884
 * @method string getApiProduct()
2885
 * @method string getApiRevision()
2886
 */
2887
class CreateProductTags extends Rpc
2888
{
2889
2890
    /**
2891
     * @param array $productTag
2892
     *
2893
     * @return $this
2894
     */
2895
	public function withProductTag(array $productTag)
2896
	{
2897
	    $this->data['ProductTag'] = $productTag;
2898
		foreach ($productTag as $depth1 => $depth1Value) {
2899
			if(isset($depth1Value['TagValue'])){
2900
				$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
2901
			}
2902
			if(isset($depth1Value['TagKey'])){
2903
				$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
2904
			}
2905
		}
2906
2907
		return $this;
2908
    }
2909
2910
    /**
2911
     * @param string $value
2912
     *
2913
     * @return $this
2914
     */
2915
    public function withApiProduct($value)
2916
    {
2917
        $this->data['ApiProduct'] = $value;
2918
        $this->options['form_params']['ApiProduct'] = $value;
2919
2920
        return $this;
2921
    }
2922
2923
    /**
2924
     * @param string $value
2925
     *
2926
     * @return $this
2927
     */
2928
    public function withApiRevision($value)
2929
    {
2930
        $this->data['ApiRevision'] = $value;
2931
        $this->options['form_params']['ApiRevision'] = $value;
2932
2933
        return $this;
2934
    }
2935
}
2936
2937
/**
2938
 * @method string getIotInstanceId()
2939
 * @method $this withIotInstanceId($value)
2940
 * @method string getTopicShortName()
2941
 * @method $this withTopicShortName($value)
2942
 * @method string getProductKey()
2943
 * @method $this withProductKey($value)
2944
 * @method string getApiProduct()
2945
 * @method string getApiRevision()
2946
 * @method string getOperation()
2947
 * @method $this withOperation($value)
2948
 * @method string getDesc()
2949
 * @method $this withDesc($value)
2950
 */
2951
class CreateProductTopic extends Rpc
2952
{
2953
2954
    /**
2955
     * @param string $value
2956
     *
2957
     * @return $this
2958
     */
2959
    public function withApiProduct($value)
2960
    {
2961
        $this->data['ApiProduct'] = $value;
2962
        $this->options['form_params']['ApiProduct'] = $value;
2963
2964
        return $this;
2965
    }
2966
2967
    /**
2968
     * @param string $value
2969
     *
2970
     * @return $this
2971
     */
2972
    public function withApiRevision($value)
2973
    {
2974
        $this->data['ApiRevision'] = $value;
2975
        $this->options['form_params']['ApiRevision'] = $value;
2976
2977
        return $this;
2978
    }
2979
}
2980
2981
/**
2982
 * @method string getSelect()
2983
 * @method $this withSelect($value)
2984
 * @method string getRuleDesc()
2985
 * @method $this withRuleDesc($value)
2986
 * @method string getShortTopic()
2987
 * @method $this withShortTopic($value)
2988
 * @method string getResourceGroupId()
2989
 * @method $this withResourceGroupId($value)
2990
 * @method string getDataType()
2991
 * @method $this withDataType($value)
2992
 * @method string getIotInstanceId()
2993
 * @method $this withIotInstanceId($value)
2994
 * @method string getWhere()
2995
 * @method $this withWhere($value)
2996
 * @method string getTopicType()
2997
 * @method $this withTopicType($value)
2998
 * @method string getProductKey()
2999
 * @method $this withProductKey($value)
3000
 * @method string getApiProduct()
3001
 * @method string getName()
3002
 * @method $this withName($value)
3003
 * @method string getApiRevision()
3004
 */
3005
class CreateRule extends Rpc
3006
{
3007
3008
    /**
3009
     * @param string $value
3010
     *
3011
     * @return $this
3012
     */
3013
    public function withApiProduct($value)
3014
    {
3015
        $this->data['ApiProduct'] = $value;
3016
        $this->options['form_params']['ApiProduct'] = $value;
3017
3018
        return $this;
3019
    }
3020
3021
    /**
3022
     * @param string $value
3023
     *
3024
     * @return $this
3025
     */
3026
    public function withApiRevision($value)
3027
    {
3028
        $this->data['ApiRevision'] = $value;
3029
        $this->options['form_params']['ApiRevision'] = $value;
3030
3031
        return $this;
3032
    }
3033
}
3034
3035
/**
3036
 * @method string getConfiguration()
3037
 * @method $this withConfiguration($value)
3038
 * @method string getType()
3039
 * @method $this withType($value)
3040
 * @method string getIotInstanceId()
3041
 * @method $this withIotInstanceId($value)
3042
 * @method string getErrorActionFlag()
3043
 * @method $this withErrorActionFlag($value)
3044
 * @method string getApiProduct()
3045
 * @method string getApiRevision()
3046
 * @method string getRuleId()
3047
 * @method $this withRuleId($value)
3048
 */
3049
class CreateRuleAction extends Rpc
3050
{
3051
3052
    /**
3053
     * @param string $value
3054
     *
3055
     * @return $this
3056
     */
3057
    public function withApiProduct($value)
3058
    {
3059
        $this->data['ApiProduct'] = $value;
3060
        $this->options['form_params']['ApiProduct'] = $value;
3061
3062
        return $this;
3063
    }
3064
3065
    /**
3066
     * @param string $value
3067
     *
3068
     * @return $this
3069
     */
3070
    public function withApiRevision($value)
3071
    {
3072
        $this->data['ApiRevision'] = $value;
3073
        $this->options['form_params']['ApiRevision'] = $value;
3074
3075
        return $this;
3076
    }
3077
}
3078
3079
/**
3080
 * @method string getRuleName()
3081
 * @method $this withRuleName($value)
3082
 * @method string getIotInstanceId()
3083
 * @method $this withIotInstanceId($value)
3084
 * @method string getRuleDescription()
3085
 * @method $this withRuleDescription($value)
3086
 * @method string getRuleContent()
3087
 * @method $this withRuleContent($value)
3088
 * @method string getApiProduct()
3089
 * @method string getApiRevision()
3090
 */
3091
class CreateSceneRule extends Rpc
3092
{
3093
3094
    /**
3095
     * @param string $value
3096
     *
3097
     * @return $this
3098
     */
3099
    public function withApiProduct($value)
3100
    {
3101
        $this->data['ApiProduct'] = $value;
3102
        $this->options['form_params']['ApiProduct'] = $value;
3103
3104
        return $this;
3105
    }
3106
3107
    /**
3108
     * @param string $value
3109
     *
3110
     * @return $this
3111
     */
3112
    public function withApiRevision($value)
3113
    {
3114
        $this->data['ApiRevision'] = $value;
3115
        $this->options['form_params']['ApiRevision'] = $value;
3116
3117
        return $this;
3118
    }
3119
}
3120
3121
/**
3122
 * @method string getOtaEventFlag()
3123
 * @method $this withOtaEventFlag($value)
3124
 * @method string getDeviceTopoLifeCycleFlag()
3125
 * @method $this withDeviceTopoLifeCycleFlag($value)
3126
 * @method string getDeviceLifeCycleFlag()
3127
 * @method $this withDeviceLifeCycleFlag($value)
3128
 * @method string getType()
3129
 * @method $this withType($value)
3130
 * @method string getIotInstanceId()
3131
 * @method $this withIotInstanceId($value)
3132
 * @method string getDeviceStatusChangeFlag()
3133
 * @method $this withDeviceStatusChangeFlag($value)
3134
 * @method array getConsumerGroupIds()
3135
 * @method string getProductKey()
3136
 * @method $this withProductKey($value)
3137
 * @method string getThingHistoryFlag()
3138
 * @method $this withThingHistoryFlag($value)
3139
 * @method string getFoundDeviceListFlag()
3140
 * @method $this withFoundDeviceListFlag($value)
3141
 * @method string getApiProduct()
3142
 * @method string getDeviceDataFlag()
3143
 * @method $this withDeviceDataFlag($value)
3144
 * @method string getApiRevision()
3145
 * @method string getMnsConfiguration()
3146
 * @method $this withMnsConfiguration($value)
3147
 */
3148
class CreateSubscribeRelation extends Rpc
3149
{
3150
3151
    /**
3152
     * @param array $consumerGroupIds
3153
     *
3154
     * @return $this
3155
     */
3156
	public function withConsumerGroupIds(array $consumerGroupIds)
3157
	{
3158
	    $this->data['ConsumerGroupIds'] = $consumerGroupIds;
3159
		foreach ($consumerGroupIds as $i => $iValue) {
3160
			$this->options['query']['ConsumerGroupIds.' . ($i + 1)] = $iValue;
3161
		}
3162
3163
		return $this;
3164
    }
3165
3166
    /**
3167
     * @param string $value
3168
     *
3169
     * @return $this
3170
     */
3171
    public function withApiProduct($value)
3172
    {
3173
        $this->data['ApiProduct'] = $value;
3174
        $this->options['form_params']['ApiProduct'] = $value;
3175
3176
        return $this;
3177
    }
3178
3179
    /**
3180
     * @param string $value
3181
     *
3182
     * @return $this
3183
     */
3184
    public function withApiRevision($value)
3185
    {
3186
        $this->data['ApiRevision'] = $value;
3187
        $this->options['form_params']['ApiRevision'] = $value;
3188
3189
        return $this;
3190
    }
3191
}
3192
3193
/**
3194
 * @method string getIotInstanceId()
3195
 * @method $this withIotInstanceId($value)
3196
 * @method string getProductKey()
3197
 * @method $this withProductKey($value)
3198
 * @method string getApiProduct()
3199
 * @method string getThingModelJson()
3200
 * @method $this withThingModelJson($value)
3201
 * @method string getApiRevision()
3202
 */
3203
class CreateThingModel extends Rpc
3204
{
3205
3206
    /**
3207
     * @param string $value
3208
     *
3209
     * @return $this
3210
     */
3211
    public function withApiProduct($value)
3212
    {
3213
        $this->data['ApiProduct'] = $value;
3214
        $this->options['form_params']['ApiProduct'] = $value;
3215
3216
        return $this;
3217
    }
3218
3219
    /**
3220
     * @param string $value
3221
     *
3222
     * @return $this
3223
     */
3224
    public function withApiRevision($value)
3225
    {
3226
        $this->data['ApiRevision'] = $value;
3227
        $this->options['form_params']['ApiRevision'] = $value;
3228
3229
        return $this;
3230
    }
3231
}
3232
3233
/**
3234
 * @method string getIotInstanceId()
3235
 * @method $this withIotInstanceId($value)
3236
 * @method array getDstTopic()
3237
 * @method string getApiProduct()
3238
 * @method string getApiRevision()
3239
 * @method string getSrcTopic()
3240
 * @method $this withSrcTopic($value)
3241
 */
3242
class CreateTopicRouteTable extends Rpc
3243
{
3244
3245
    /**
3246
     * @param array $dstTopic
3247
     *
3248
     * @return $this
3249
     */
3250
	public function withDstTopic(array $dstTopic)
3251
	{
3252
	    $this->data['DstTopic'] = $dstTopic;
3253
		foreach ($dstTopic as $i => $iValue) {
3254
			$this->options['query']['DstTopic.' . ($i + 1)] = $iValue;
3255
		}
3256
3257
		return $this;
3258
    }
3259
3260
    /**
3261
     * @param string $value
3262
     *
3263
     * @return $this
3264
     */
3265
    public function withApiProduct($value)
3266
    {
3267
        $this->data['ApiProduct'] = $value;
3268
        $this->options['form_params']['ApiProduct'] = $value;
3269
3270
        return $this;
3271
    }
3272
3273
    /**
3274
     * @param string $value
3275
     *
3276
     * @return $this
3277
     */
3278
    public function withApiRevision($value)
3279
    {
3280
        $this->data['ApiRevision'] = $value;
3281
        $this->options['form_params']['ApiRevision'] = $value;
3282
3283
        return $this;
3284
    }
3285
}
3286
3287
/**
3288
 * @method string getAuthConfig()
3289
 * @method $this withAuthConfig($value)
3290
 * @method string getIotId()
3291
 * @method $this withIotId($value)
3292
 * @method string getIotInstanceId()
3293
 * @method $this withIotInstanceId($value)
3294
 * @method string getApiProduct()
3295
 * @method string getApiRevision()
3296
 */
3297
class DeleteClientIds extends Rpc
3298
{
3299
3300
    /**
3301
     * @param string $value
3302
     *
3303
     * @return $this
3304
     */
3305
    public function withApiProduct($value)
3306
    {
3307
        $this->data['ApiProduct'] = $value;
3308
        $this->options['form_params']['ApiProduct'] = $value;
3309
3310
        return $this;
3311
    }
3312
3313
    /**
3314
     * @param string $value
3315
     *
3316
     * @return $this
3317
     */
3318
    public function withApiRevision($value)
3319
    {
3320
        $this->data['ApiRevision'] = $value;
3321
        $this->options['form_params']['ApiRevision'] = $value;
3322
3323
        return $this;
3324
    }
3325
}
3326
3327
/**
3328
 * @method string getIotInstanceId()
3329
 * @method $this withIotInstanceId($value)
3330
 * @method string getGroupId()
3331
 * @method $this withGroupId($value)
3332
 * @method string getApiProduct()
3333
 * @method string getApiRevision()
3334
 */
3335
class DeleteConsumerGroup extends Rpc
3336
{
3337
3338
    /**
3339
     * @param string $value
3340
     *
3341
     * @return $this
3342
     */
3343
    public function withApiProduct($value)
3344
    {
3345
        $this->data['ApiProduct'] = $value;
3346
        $this->options['form_params']['ApiProduct'] = $value;
3347
3348
        return $this;
3349
    }
3350
3351
    /**
3352
     * @param string $value
3353
     *
3354
     * @return $this
3355
     */
3356
    public function withApiRevision($value)
3357
    {
3358
        $this->data['ApiRevision'] = $value;
3359
        $this->options['form_params']['ApiRevision'] = $value;
3360
3361
        return $this;
3362
    }
3363
}
3364
3365
/**
3366
 * @method string getConsumerGroupId()
3367
 * @method $this withConsumerGroupId($value)
3368
 * @method string getIotInstanceId()
3369
 * @method $this withIotInstanceId($value)
3370
 * @method string getProductKey()
3371
 * @method $this withProductKey($value)
3372
 * @method string getApiProduct()
3373
 * @method string getApiRevision()
3374
 */
3375
class DeleteConsumerGroupSubscribeRelation extends Rpc
3376
{
3377
3378
    /**
3379
     * @param string $value
3380
     *
3381
     * @return $this
3382
     */
3383
    public function withApiProduct($value)
3384
    {
3385
        $this->data['ApiProduct'] = $value;
3386
        $this->options['form_params']['ApiProduct'] = $value;
3387
3388
        return $this;
3389
    }
3390
3391
    /**
3392
     * @param string $value
3393
     *
3394
     * @return $this
3395
     */
3396
    public function withApiRevision($value)
3397
    {
3398
        $this->data['ApiRevision'] = $value;
3399
        $this->options['form_params']['ApiRevision'] = $value;
3400
3401
        return $this;
3402
    }
3403
}
3404
3405
/**
3406
 * @method string getIotId()
3407
 * @method $this withIotId($value)
3408
 * @method string getIotInstanceId()
3409
 * @method $this withIotInstanceId($value)
3410
 * @method string getProductKey()
3411
 * @method $this withProductKey($value)
3412
 * @method string getApiProduct()
3413
 * @method string getApiRevision()
3414
 * @method string getDeviceName()
3415
 * @method $this withDeviceName($value)
3416
 */
3417
class DeleteDevice extends Rpc
3418
{
3419
3420
    /**
3421
     * @param string $value
3422
     *
3423
     * @return $this
3424
     */
3425
    public function withApiProduct($value)
3426
    {
3427
        $this->data['ApiProduct'] = $value;
3428
        $this->options['form_params']['ApiProduct'] = $value;
3429
3430
        return $this;
3431
    }
3432
3433
    /**
3434
     * @param string $value
3435
     *
3436
     * @return $this
3437
     */
3438
    public function withApiRevision($value)
3439
    {
3440
        $this->data['ApiRevision'] = $value;
3441
        $this->options['form_params']['ApiRevision'] = $value;
3442
3443
        return $this;
3444
    }
3445
}
3446
3447
/**
3448
 * @method string getIotId()
3449
 * @method $this withIotId($value)
3450
 * @method string getIotInstanceId()
3451
 * @method $this withIotInstanceId($value)
3452
 * @method string getFileId()
3453
 * @method $this withFileId($value)
3454
 * @method string getProductKey()
3455
 * @method $this withProductKey($value)
3456
 * @method string getApiProduct()
3457
 * @method string getApiRevision()
3458
 * @method string getDeviceName()
3459
 * @method $this withDeviceName($value)
3460
 */
3461
class DeleteDeviceFile extends Rpc
3462
{
3463
3464
    /**
3465
     * @param string $value
3466
     *
3467
     * @return $this
3468
     */
3469
    public function withApiProduct($value)
3470
    {
3471
        $this->data['ApiProduct'] = $value;
3472
        $this->options['form_params']['ApiProduct'] = $value;
3473
3474
        return $this;
3475
    }
3476
3477
    /**
3478
     * @param string $value
3479
     *
3480
     * @return $this
3481
     */
3482
    public function withApiRevision($value)
3483
    {
3484
        $this->data['ApiRevision'] = $value;
3485
        $this->options['form_params']['ApiRevision'] = $value;
3486
3487
        return $this;
3488
    }
3489
}
3490
3491
/**
3492
 * @method string getIotInstanceId()
3493
 * @method $this withIotInstanceId($value)
3494
 * @method string getGroupId()
3495
 * @method $this withGroupId($value)
3496
 * @method string getApiProduct()
3497
 * @method string getApiRevision()
3498
 */
3499
class DeleteDeviceGroup extends Rpc
3500
{
3501
3502
    /**
3503
     * @param string $value
3504
     *
3505
     * @return $this
3506
     */
3507
    public function withApiProduct($value)
3508
    {
3509
        $this->data['ApiProduct'] = $value;
3510
        $this->options['form_params']['ApiProduct'] = $value;
3511
3512
        return $this;
3513
    }
3514
3515
    /**
3516
     * @param string $value
3517
     *
3518
     * @return $this
3519
     */
3520
    public function withApiRevision($value)
3521
    {
3522
        $this->data['ApiRevision'] = $value;
3523
        $this->options['form_params']['ApiRevision'] = $value;
3524
3525
        return $this;
3526
    }
3527
}
3528
3529
/**
3530
 * @method string getPropKey()
3531
 * @method $this withPropKey($value)
3532
 * @method string getIotId()
3533
 * @method $this withIotId($value)
3534
 * @method string getIotInstanceId()
3535
 * @method $this withIotInstanceId($value)
3536
 * @method string getProductKey()
3537
 * @method $this withProductKey($value)
3538
 * @method string getApiProduct()
3539
 * @method string getApiRevision()
3540
 * @method string getDeviceName()
3541
 * @method $this withDeviceName($value)
3542
 */
3543
class DeleteDeviceProp extends Rpc
3544
{
3545
3546
    /**
3547
     * @param string $value
3548
     *
3549
     * @return $this
3550
     */
3551
    public function withApiProduct($value)
3552
    {
3553
        $this->data['ApiProduct'] = $value;
3554
        $this->options['form_params']['ApiProduct'] = $value;
3555
3556
        return $this;
3557
    }
3558
3559
    /**
3560
     * @param string $value
3561
     *
3562
     * @return $this
3563
     */
3564
    public function withApiRevision($value)
3565
    {
3566
        $this->data['ApiRevision'] = $value;
3567
        $this->options['form_params']['ApiRevision'] = $value;
3568
3569
        return $this;
3570
    }
3571
}
3572
3573
/**
3574
 * @method string getDriverId()
3575
 * @method $this withDriverId($value)
3576
 * @method string getIotInstanceId()
3577
 * @method $this withIotInstanceId($value)
3578
 * @method string getApiProduct()
3579
 * @method string getApiRevision()
3580
 */
3581
class DeleteEdgeDriver extends Rpc
3582
{
3583
3584
    /**
3585
     * @param string $value
3586
     *
3587
     * @return $this
3588
     */
3589
    public function withApiProduct($value)
3590
    {
3591
        $this->data['ApiProduct'] = $value;
3592
        $this->options['form_params']['ApiProduct'] = $value;
3593
3594
        return $this;
3595
    }
3596
3597
    /**
3598
     * @param string $value
3599
     *
3600
     * @return $this
3601
     */
3602
    public function withApiRevision($value)
3603
    {
3604
        $this->data['ApiRevision'] = $value;
3605
        $this->options['form_params']['ApiRevision'] = $value;
3606
3607
        return $this;
3608
    }
3609
}
3610
3611
/**
3612
 * @method string getDriverId()
3613
 * @method $this withDriverId($value)
3614
 * @method string getIotInstanceId()
3615
 * @method $this withIotInstanceId($value)
3616
 * @method string getDriverVersion()
3617
 * @method $this withDriverVersion($value)
3618
 * @method string getApiProduct()
3619
 * @method string getApiRevision()
3620
 */
3621
class DeleteEdgeDriverVersion extends Rpc
3622
{
3623
3624
    /**
3625
     * @param string $value
3626
     *
3627
     * @return $this
3628
     */
3629
    public function withApiProduct($value)
3630
    {
3631
        $this->data['ApiProduct'] = $value;
3632
        $this->options['form_params']['ApiProduct'] = $value;
3633
3634
        return $this;
3635
    }
3636
3637
    /**
3638
     * @param string $value
3639
     *
3640
     * @return $this
3641
     */
3642
    public function withApiRevision($value)
3643
    {
3644
        $this->data['ApiRevision'] = $value;
3645
        $this->options['form_params']['ApiRevision'] = $value;
3646
3647
        return $this;
3648
    }
3649
}
3650
3651
/**
3652
 * @method string getIotInstanceId()
3653
 * @method $this withIotInstanceId($value)
3654
 * @method string getInstanceId()
3655
 * @method $this withInstanceId($value)
3656
 * @method string getApiProduct()
3657
 * @method string getApiRevision()
3658
 */
3659
class DeleteEdgeInstance extends Rpc
3660
{
3661
3662
    /**
3663
     * @param string $value
3664
     *
3665
     * @return $this
3666
     */
3667
    public function withApiProduct($value)
3668
    {
3669
        $this->data['ApiProduct'] = $value;
3670
        $this->options['form_params']['ApiProduct'] = $value;
3671
3672
        return $this;
3673
    }
3674
3675
    /**
3676
     * @param string $value
3677
     *
3678
     * @return $this
3679
     */
3680
    public function withApiRevision($value)
3681
    {
3682
        $this->data['ApiRevision'] = $value;
3683
        $this->options['form_params']['ApiRevision'] = $value;
3684
3685
        return $this;
3686
    }
3687
}
3688
3689
/**
3690
 * @method string getIotInstanceId()
3691
 * @method $this withIotInstanceId($value)
3692
 * @method string getFirmwareId()
3693
 * @method $this withFirmwareId($value)
3694
 * @method string getApiProduct()
3695
 * @method string getApiRevision()
3696
 */
3697
class DeleteOTAFirmware extends Rpc
3698
{
3699
3700
    /**
3701
     * @param string $value
3702
     *
3703
     * @return $this
3704
     */
3705
    public function withApiProduct($value)
3706
    {
3707
        $this->data['ApiProduct'] = $value;
3708
        $this->options['form_params']['ApiProduct'] = $value;
3709
3710
        return $this;
3711
    }
3712
3713
    /**
3714
     * @param string $value
3715
     *
3716
     * @return $this
3717
     */
3718
    public function withApiRevision($value)
3719
    {
3720
        $this->data['ApiRevision'] = $value;
3721
        $this->options['form_params']['ApiRevision'] = $value;
3722
3723
        return $this;
3724
    }
3725
}
3726
3727
/**
3728
 * @method string getIotInstanceId()
3729
 * @method $this withIotInstanceId($value)
3730
 * @method string getProductKey()
3731
 * @method $this withProductKey($value)
3732
 * @method string getApiProduct()
3733
 * @method string getApiRevision()
3734
 */
3735
class DeleteProduct extends Rpc
3736
{
3737
3738
    /**
3739
     * @param string $value
3740
     *
3741
     * @return $this
3742
     */
3743
    public function withApiProduct($value)
3744
    {
3745
        $this->data['ApiProduct'] = $value;
3746
        $this->options['form_params']['ApiProduct'] = $value;
3747
3748
        return $this;
3749
    }
3750
3751
    /**
3752
     * @param string $value
3753
     *
3754
     * @return $this
3755
     */
3756
    public function withApiRevision($value)
3757
    {
3758
        $this->data['ApiRevision'] = $value;
3759
        $this->options['form_params']['ApiRevision'] = $value;
3760
3761
        return $this;
3762
    }
3763
}
3764
3765
/**
3766
 * @method string getIotInstanceId()
3767
 * @method $this withIotInstanceId($value)
3768
 * @method array getProductTagKey()
3769
 * @method string getProductKey()
3770
 * @method $this withProductKey($value)
3771
 * @method string getApiProduct()
3772
 * @method string getApiRevision()
3773
 */
3774
class DeleteProductTags extends Rpc
3775
{
3776
3777
    /**
3778
     * @param array $productTagKey
3779
     *
3780
     * @return $this
3781
     */
3782
	public function withProductTagKey(array $productTagKey)
3783
	{
3784
	    $this->data['ProductTagKey'] = $productTagKey;
3785
		foreach ($productTagKey as $i => $iValue) {
3786
			$this->options['query']['ProductTagKey.' . ($i + 1)] = $iValue;
3787
		}
3788
3789
		return $this;
3790
    }
3791
3792
    /**
3793
     * @param string $value
3794
     *
3795
     * @return $this
3796
     */
3797
    public function withApiProduct($value)
3798
    {
3799
        $this->data['ApiProduct'] = $value;
3800
        $this->options['form_params']['ApiProduct'] = $value;
3801
3802
        return $this;
3803
    }
3804
3805
    /**
3806
     * @param string $value
3807
     *
3808
     * @return $this
3809
     */
3810
    public function withApiRevision($value)
3811
    {
3812
        $this->data['ApiRevision'] = $value;
3813
        $this->options['form_params']['ApiRevision'] = $value;
3814
3815
        return $this;
3816
    }
3817
}
3818
3819
/**
3820
 * @method string getTopicId()
3821
 * @method $this withTopicId($value)
3822
 * @method string getIotInstanceId()
3823
 * @method $this withIotInstanceId($value)
3824
 * @method string getApiProduct()
3825
 * @method string getApiRevision()
3826
 */
3827
class DeleteProductTopic extends Rpc
3828
{
3829
3830
    /**
3831
     * @param string $value
3832
     *
3833
     * @return $this
3834
     */
3835
    public function withApiProduct($value)
3836
    {
3837
        $this->data['ApiProduct'] = $value;
3838
        $this->options['form_params']['ApiProduct'] = $value;
3839
3840
        return $this;
3841
    }
3842
3843
    /**
3844
     * @param string $value
3845
     *
3846
     * @return $this
3847
     */
3848
    public function withApiRevision($value)
3849
    {
3850
        $this->data['ApiRevision'] = $value;
3851
        $this->options['form_params']['ApiRevision'] = $value;
3852
3853
        return $this;
3854
    }
3855
}
3856
3857
/**
3858
 * @method string getIotInstanceId()
3859
 * @method $this withIotInstanceId($value)
3860
 * @method string getApiProduct()
3861
 * @method string getApiRevision()
3862
 * @method string getRuleId()
3863
 * @method $this withRuleId($value)
3864
 */
3865
class DeleteRule extends Rpc
3866
{
3867
3868
    /**
3869
     * @param string $value
3870
     *
3871
     * @return $this
3872
     */
3873
    public function withApiProduct($value)
3874
    {
3875
        $this->data['ApiProduct'] = $value;
3876
        $this->options['form_params']['ApiProduct'] = $value;
3877
3878
        return $this;
3879
    }
3880
3881
    /**
3882
     * @param string $value
3883
     *
3884
     * @return $this
3885
     */
3886
    public function withApiRevision($value)
3887
    {
3888
        $this->data['ApiRevision'] = $value;
3889
        $this->options['form_params']['ApiRevision'] = $value;
3890
3891
        return $this;
3892
    }
3893
}
3894
3895
/**
3896
 * @method string getIotInstanceId()
3897
 * @method $this withIotInstanceId($value)
3898
 * @method string getActionId()
3899
 * @method $this withActionId($value)
3900
 * @method string getApiProduct()
3901
 * @method string getApiRevision()
3902
 */
3903
class DeleteRuleAction extends Rpc
3904
{
3905
3906
    /**
3907
     * @param string $value
3908
     *
3909
     * @return $this
3910
     */
3911
    public function withApiProduct($value)
3912
    {
3913
        $this->data['ApiProduct'] = $value;
3914
        $this->options['form_params']['ApiProduct'] = $value;
3915
3916
        return $this;
3917
    }
3918
3919
    /**
3920
     * @param string $value
3921
     *
3922
     * @return $this
3923
     */
3924
    public function withApiRevision($value)
3925
    {
3926
        $this->data['ApiRevision'] = $value;
3927
        $this->options['form_params']['ApiRevision'] = $value;
3928
3929
        return $this;
3930
    }
3931
}
3932
3933
/**
3934
 * @method string getIotInstanceId()
3935
 * @method $this withIotInstanceId($value)
3936
 * @method string getApiProduct()
3937
 * @method string getApiRevision()
3938
 * @method string getRuleId()
3939
 * @method $this withRuleId($value)
3940
 */
3941
class DeleteSceneRule extends Rpc
3942
{
3943
3944
    /**
3945
     * @param string $value
3946
     *
3947
     * @return $this
3948
     */
3949
    public function withApiProduct($value)
3950
    {
3951
        $this->data['ApiProduct'] = $value;
3952
        $this->options['form_params']['ApiProduct'] = $value;
3953
3954
        return $this;
3955
    }
3956
3957
    /**
3958
     * @param string $value
3959
     *
3960
     * @return $this
3961
     */
3962
    public function withApiRevision($value)
3963
    {
3964
        $this->data['ApiRevision'] = $value;
3965
        $this->options['form_params']['ApiRevision'] = $value;
3966
3967
        return $this;
3968
    }
3969
}
3970
3971
/**
3972
 * @method string getType()
3973
 * @method $this withType($value)
3974
 * @method string getIotInstanceId()
3975
 * @method $this withIotInstanceId($value)
3976
 * @method string getProductKey()
3977
 * @method $this withProductKey($value)
3978
 * @method string getApiProduct()
3979
 * @method string getApiRevision()
3980
 */
3981
class DeleteSubscribeRelation extends Rpc
3982
{
3983
3984
    /**
3985
     * @param string $value
3986
     *
3987
     * @return $this
3988
     */
3989
    public function withApiProduct($value)
3990
    {
3991
        $this->data['ApiProduct'] = $value;
3992
        $this->options['form_params']['ApiProduct'] = $value;
3993
3994
        return $this;
3995
    }
3996
3997
    /**
3998
     * @param string $value
3999
     *
4000
     * @return $this
4001
     */
4002
    public function withApiRevision($value)
4003
    {
4004
        $this->data['ApiRevision'] = $value;
4005
        $this->options['form_params']['ApiRevision'] = $value;
4006
4007
        return $this;
4008
    }
4009
}
4010
4011
/**
4012
 * @method string getResourceGroupId()
4013
 * @method $this withResourceGroupId($value)
4014
 * @method array getPropertyIdentifier()
4015
 * @method string getIotInstanceId()
4016
 * @method $this withIotInstanceId($value)
4017
 * @method array getServiceIdentifier()
4018
 * @method string getProductKey()
4019
 * @method $this withProductKey($value)
4020
 * @method string getApiProduct()
4021
 * @method string getApiRevision()
4022
 * @method array getEventIdentifier()
4023
 */
4024
class DeleteThingModel extends Rpc
4025
{
4026
4027
    /**
4028
     * @param array $propertyIdentifier
4029
     *
4030
     * @return $this
4031
     */
4032
	public function withPropertyIdentifier(array $propertyIdentifier)
4033
	{
4034
	    $this->data['PropertyIdentifier'] = $propertyIdentifier;
4035
		foreach ($propertyIdentifier as $i => $iValue) {
4036
			$this->options['query']['PropertyIdentifier.' . ($i + 1)] = $iValue;
4037
		}
4038
4039
		return $this;
4040
    }
4041
4042
    /**
4043
     * @param array $serviceIdentifier
4044
     *
4045
     * @return $this
4046
     */
4047
	public function withServiceIdentifier(array $serviceIdentifier)
4048
	{
4049
	    $this->data['ServiceIdentifier'] = $serviceIdentifier;
4050
		foreach ($serviceIdentifier as $i => $iValue) {
4051
			$this->options['query']['ServiceIdentifier.' . ($i + 1)] = $iValue;
4052
		}
4053
4054
		return $this;
4055
    }
4056
4057
    /**
4058
     * @param string $value
4059
     *
4060
     * @return $this
4061
     */
4062
    public function withApiProduct($value)
4063
    {
4064
        $this->data['ApiProduct'] = $value;
4065
        $this->options['form_params']['ApiProduct'] = $value;
4066
4067
        return $this;
4068
    }
4069
4070
    /**
4071
     * @param string $value
4072
     *
4073
     * @return $this
4074
     */
4075
    public function withApiRevision($value)
4076
    {
4077
        $this->data['ApiRevision'] = $value;
4078
        $this->options['form_params']['ApiRevision'] = $value;
4079
4080
        return $this;
4081
    }
4082
4083
    /**
4084
     * @param array $eventIdentifier
4085
     *
4086
     * @return $this
4087
     */
4088
	public function withEventIdentifier(array $eventIdentifier)
4089
	{
4090
	    $this->data['EventIdentifier'] = $eventIdentifier;
4091
		foreach ($eventIdentifier as $i => $iValue) {
4092
			$this->options['query']['EventIdentifier.' . ($i + 1)] = $iValue;
4093
		}
4094
4095
		return $this;
4096
    }
4097
}
4098
4099
/**
4100
 * @method string getIotInstanceId()
4101
 * @method $this withIotInstanceId($value)
4102
 * @method array getDstTopic()
4103
 * @method string getApiProduct()
4104
 * @method string getApiRevision()
4105
 * @method string getSrcTopic()
4106
 * @method $this withSrcTopic($value)
4107
 */
4108
class DeleteTopicRouteTable extends Rpc
4109
{
4110
4111
    /**
4112
     * @param array $dstTopic
4113
     *
4114
     * @return $this
4115
     */
4116
	public function withDstTopic(array $dstTopic)
4117
	{
4118
	    $this->data['DstTopic'] = $dstTopic;
4119
		foreach ($dstTopic as $i => $iValue) {
4120
			$this->options['query']['DstTopic.' . ($i + 1)] = $iValue;
4121
		}
4122
4123
		return $this;
4124
    }
4125
4126
    /**
4127
     * @param string $value
4128
     *
4129
     * @return $this
4130
     */
4131
    public function withApiProduct($value)
4132
    {
4133
        $this->data['ApiProduct'] = $value;
4134
        $this->options['form_params']['ApiProduct'] = $value;
4135
4136
        return $this;
4137
    }
4138
4139
    /**
4140
     * @param string $value
4141
     *
4142
     * @return $this
4143
     */
4144
    public function withApiRevision($value)
4145
    {
4146
        $this->data['ApiRevision'] = $value;
4147
        $this->options['form_params']['ApiRevision'] = $value;
4148
4149
        return $this;
4150
    }
4151
}
4152
4153
/**
4154
 * @method string getIotInstanceId()
4155
 * @method $this withIotInstanceId($value)
4156
 * @method string getApiProduct()
4157
 * @method string getApiRevision()
4158
 * @method string getRuleId()
4159
 * @method $this withRuleId($value)
4160
 */
4161
class DisableSceneRule extends Rpc
4162
{
4163
4164
    /**
4165
     * @param string $value
4166
     *
4167
     * @return $this
4168
     */
4169
    public function withApiProduct($value)
4170
    {
4171
        $this->data['ApiProduct'] = $value;
4172
        $this->options['form_params']['ApiProduct'] = $value;
4173
4174
        return $this;
4175
    }
4176
4177
    /**
4178
     * @param string $value
4179
     *
4180
     * @return $this
4181
     */
4182
    public function withApiRevision($value)
4183
    {
4184
        $this->data['ApiRevision'] = $value;
4185
        $this->options['form_params']['ApiRevision'] = $value;
4186
4187
        return $this;
4188
    }
4189
}
4190
4191
/**
4192
 * @method string getIotId()
4193
 * @method $this withIotId($value)
4194
 * @method string getIotInstanceId()
4195
 * @method $this withIotInstanceId($value)
4196
 * @method string getProductKey()
4197
 * @method $this withProductKey($value)
4198
 * @method string getApiProduct()
4199
 * @method string getApiRevision()
4200
 * @method string getDeviceName()
4201
 * @method $this withDeviceName($value)
4202
 */
4203
class DisableThing extends Rpc
4204
{
4205
4206
    /**
4207
     * @param string $value
4208
     *
4209
     * @return $this
4210
     */
4211
    public function withApiProduct($value)
4212
    {
4213
        $this->data['ApiProduct'] = $value;
4214
        $this->options['form_params']['ApiProduct'] = $value;
4215
4216
        return $this;
4217
    }
4218
4219
    /**
4220
     * @param string $value
4221
     *
4222
     * @return $this
4223
     */
4224
    public function withApiRevision($value)
4225
    {
4226
        $this->data['ApiRevision'] = $value;
4227
        $this->options['form_params']['ApiRevision'] = $value;
4228
4229
        return $this;
4230
    }
4231
}
4232
4233
/**
4234
 * @method string getIotInstanceId()
4235
 * @method $this withIotInstanceId($value)
4236
 * @method string getApiProduct()
4237
 * @method string getApiRevision()
4238
 * @method string getRuleId()
4239
 * @method $this withRuleId($value)
4240
 */
4241
class EnableSceneRule extends Rpc
4242
{
4243
4244
    /**
4245
     * @param string $value
4246
     *
4247
     * @return $this
4248
     */
4249
    public function withApiProduct($value)
4250
    {
4251
        $this->data['ApiProduct'] = $value;
4252
        $this->options['form_params']['ApiProduct'] = $value;
4253
4254
        return $this;
4255
    }
4256
4257
    /**
4258
     * @param string $value
4259
     *
4260
     * @return $this
4261
     */
4262
    public function withApiRevision($value)
4263
    {
4264
        $this->data['ApiRevision'] = $value;
4265
        $this->options['form_params']['ApiRevision'] = $value;
4266
4267
        return $this;
4268
    }
4269
}
4270
4271
/**
4272
 * @method string getIotId()
4273
 * @method $this withIotId($value)
4274
 * @method string getIotInstanceId()
4275
 * @method $this withIotInstanceId($value)
4276
 * @method string getProductKey()
4277
 * @method $this withProductKey($value)
4278
 * @method string getApiProduct()
4279
 * @method string getApiRevision()
4280
 * @method string getDeviceName()
4281
 * @method $this withDeviceName($value)
4282
 */
4283
class EnableThing extends Rpc
4284
{
4285
4286
    /**
4287
     * @param string $value
4288
     *
4289
     * @return $this
4290
     */
4291
    public function withApiProduct($value)
4292
    {
4293
        $this->data['ApiProduct'] = $value;
4294
        $this->options['form_params']['ApiProduct'] = $value;
4295
4296
        return $this;
4297
    }
4298
4299
    /**
4300
     * @param string $value
4301
     *
4302
     * @return $this
4303
     */
4304
    public function withApiRevision($value)
4305
    {
4306
        $this->data['ApiRevision'] = $value;
4307
        $this->options['form_params']['ApiRevision'] = $value;
4308
4309
        return $this;
4310
    }
4311
}
4312
4313
/**
4314
 * @method string getIotInstanceId()
4315
 * @method $this withIotInstanceId($value)
4316
 * @method string getApiProduct()
4317
 * @method string getApiRevision()
4318
 */
4319
class GenerateOTAUploadURL extends Rpc
4320
{
4321
4322
    /**
4323
     * @param string $value
4324
     *
4325
     * @return $this
4326
     */
4327
    public function withApiProduct($value)
4328
    {
4329
        $this->data['ApiProduct'] = $value;
4330
        $this->options['form_params']['ApiProduct'] = $value;
4331
4332
        return $this;
4333
    }
4334
4335
    /**
4336
     * @param string $value
4337
     *
4338
     * @return $this
4339
     */
4340
    public function withApiRevision($value)
4341
    {
4342
        $this->data['ApiRevision'] = $value;
4343
        $this->options['form_params']['ApiRevision'] = $value;
4344
4345
        return $this;
4346
    }
4347
}
4348
4349
/**
4350
 * @method string getIotInstanceId()
4351
 * @method string getApiSrn()
4352
 * @method string getApiProduct()
4353
 * @method string getApiRevision()
4354
 */
4355
class GetDataAPIServiceDetail extends Rpc
4356
{
4357
4358
    /**
4359
     * @param string $value
4360
     *
4361
     * @return $this
4362
     */
4363
    public function withIotInstanceId($value)
4364
    {
4365
        $this->data['IotInstanceId'] = $value;
4366
        $this->options['form_params']['IotInstanceId'] = $value;
4367
4368
        return $this;
4369
    }
4370
4371
    /**
4372
     * @param string $value
4373
     *
4374
     * @return $this
4375
     */
4376
    public function withApiSrn($value)
4377
    {
4378
        $this->data['ApiSrn'] = $value;
4379
        $this->options['form_params']['ApiSrn'] = $value;
4380
4381
        return $this;
4382
    }
4383
4384
    /**
4385
     * @param string $value
4386
     *
4387
     * @return $this
4388
     */
4389
    public function withApiProduct($value)
4390
    {
4391
        $this->data['ApiProduct'] = $value;
4392
        $this->options['form_params']['ApiProduct'] = $value;
4393
4394
        return $this;
4395
    }
4396
4397
    /**
4398
     * @param string $value
4399
     *
4400
     * @return $this
4401
     */
4402
    public function withApiRevision($value)
4403
    {
4404
        $this->data['ApiRevision'] = $value;
4405
        $this->options['form_params']['ApiRevision'] = $value;
4406
4407
        return $this;
4408
    }
4409
}
4410
4411
/**
4412
 * @method string getIotInstanceId()
4413
 * @method $this withIotInstanceId($value)
4414
 * @method string getProductKey()
4415
 * @method $this withProductKey($value)
4416
 * @method string getApiProduct()
4417
 * @method string getApiRevision()
4418
 * @method string getDeviceName()
4419
 * @method $this withDeviceName($value)
4420
 */
4421
class GetDeviceShadow extends Rpc
4422
{
4423
4424
    /**
4425
     * @param string $value
4426
     *
4427
     * @return $this
4428
     */
4429
    public function withApiProduct($value)
4430
    {
4431
        $this->data['ApiProduct'] = $value;
4432
        $this->options['form_params']['ApiProduct'] = $value;
4433
4434
        return $this;
4435
    }
4436
4437
    /**
4438
     * @param string $value
4439
     *
4440
     * @return $this
4441
     */
4442
    public function withApiRevision($value)
4443
    {
4444
        $this->data['ApiRevision'] = $value;
4445
        $this->options['form_params']['ApiRevision'] = $value;
4446
4447
        return $this;
4448
    }
4449
}
4450
4451
/**
4452
 * @method string getIotId()
4453
 * @method $this withIotId($value)
4454
 * @method string getIotInstanceId()
4455
 * @method $this withIotInstanceId($value)
4456
 * @method string getProductKey()
4457
 * @method $this withProductKey($value)
4458
 * @method string getApiProduct()
4459
 * @method string getApiRevision()
4460
 * @method string getDeviceName()
4461
 * @method $this withDeviceName($value)
4462
 */
4463
class GetDeviceStatus extends Rpc
4464
{
4465
4466
    /**
4467
     * @param string $value
4468
     *
4469
     * @return $this
4470
     */
4471
    public function withApiProduct($value)
4472
    {
4473
        $this->data['ApiProduct'] = $value;
4474
        $this->options['form_params']['ApiProduct'] = $value;
4475
4476
        return $this;
4477
    }
4478
4479
    /**
4480
     * @param string $value
4481
     *
4482
     * @return $this
4483
     */
4484
    public function withApiRevision($value)
4485
    {
4486
        $this->data['ApiRevision'] = $value;
4487
        $this->options['form_params']['ApiRevision'] = $value;
4488
4489
        return $this;
4490
    }
4491
}
4492
4493
/**
4494
 * @method string getDriverId()
4495
 * @method $this withDriverId($value)
4496
 * @method string getIotInstanceId()
4497
 * @method $this withIotInstanceId($value)
4498
 * @method string getDriverVersion()
4499
 * @method $this withDriverVersion($value)
4500
 * @method string getApiProduct()
4501
 * @method string getApiRevision()
4502
 */
4503
class GetEdgeDriverVersion extends Rpc
4504
{
4505
4506
    /**
4507
     * @param string $value
4508
     *
4509
     * @return $this
4510
     */
4511
    public function withApiProduct($value)
4512
    {
4513
        $this->data['ApiProduct'] = $value;
4514
        $this->options['form_params']['ApiProduct'] = $value;
4515
4516
        return $this;
4517
    }
4518
4519
    /**
4520
     * @param string $value
4521
     *
4522
     * @return $this
4523
     */
4524
    public function withApiRevision($value)
4525
    {
4526
        $this->data['ApiRevision'] = $value;
4527
        $this->options['form_params']['ApiRevision'] = $value;
4528
4529
        return $this;
4530
    }
4531
}
4532
4533
/**
4534
 * @method string getIotInstanceId()
4535
 * @method $this withIotInstanceId($value)
4536
 * @method string getInstanceId()
4537
 * @method $this withInstanceId($value)
4538
 * @method string getApiProduct()
4539
 * @method string getApiRevision()
4540
 */
4541
class GetEdgeInstance extends Rpc
4542
{
4543
4544
    /**
4545
     * @param string $value
4546
     *
4547
     * @return $this
4548
     */
4549
    public function withApiProduct($value)
4550
    {
4551
        $this->data['ApiProduct'] = $value;
4552
        $this->options['form_params']['ApiProduct'] = $value;
4553
4554
        return $this;
4555
    }
4556
4557
    /**
4558
     * @param string $value
4559
     *
4560
     * @return $this
4561
     */
4562
    public function withApiRevision($value)
4563
    {
4564
        $this->data['ApiRevision'] = $value;
4565
        $this->options['form_params']['ApiRevision'] = $value;
4566
4567
        return $this;
4568
    }
4569
}
4570
4571
/**
4572
 * @method string getIotInstanceId()
4573
 * @method $this withIotInstanceId($value)
4574
 * @method string getInstanceId()
4575
 * @method $this withInstanceId($value)
4576
 * @method string getDeploymentId()
4577
 * @method $this withDeploymentId($value)
4578
 * @method string getApiProduct()
4579
 * @method string getApiRevision()
4580
 */
4581
class GetEdgeInstanceDeployment extends Rpc
4582
{
4583
4584
    /**
4585
     * @param string $value
4586
     *
4587
     * @return $this
4588
     */
4589
    public function withApiProduct($value)
4590
    {
4591
        $this->data['ApiProduct'] = $value;
4592
        $this->options['form_params']['ApiProduct'] = $value;
4593
4594
        return $this;
4595
    }
4596
4597
    /**
4598
     * @param string $value
4599
     *
4600
     * @return $this
4601
     */
4602
    public function withApiRevision($value)
4603
    {
4604
        $this->data['ApiRevision'] = $value;
4605
        $this->options['form_params']['ApiRevision'] = $value;
4606
4607
        return $this;
4608
    }
4609
}
4610
4611
/**
4612
 * @method string getIotId()
4613
 * @method $this withIotId($value)
4614
 * @method string getIotInstanceId()
4615
 * @method $this withIotInstanceId($value)
4616
 * @method string getProductKey()
4617
 * @method $this withProductKey($value)
4618
 * @method string getApiProduct()
4619
 * @method string getApiRevision()
4620
 * @method string getDeviceName()
4621
 * @method $this withDeviceName($value)
4622
 */
4623
class GetGatewayBySubDevice extends Rpc
4624
{
4625
4626
    /**
4627
     * @param string $value
4628
     *
4629
     * @return $this
4630
     */
4631
    public function withApiProduct($value)
4632
    {
4633
        $this->data['ApiProduct'] = $value;
4634
        $this->options['form_params']['ApiProduct'] = $value;
4635
4636
        return $this;
4637
    }
4638
4639
    /**
4640
     * @param string $value
4641
     *
4642
     * @return $this
4643
     */
4644
    public function withApiRevision($value)
4645
    {
4646
        $this->data['ApiRevision'] = $value;
4647
        $this->options['form_params']['ApiRevision'] = $value;
4648
4649
        return $this;
4650
    }
4651
}
4652
4653
/**
4654
 * @method string getIotInstanceId()
4655
 * @method $this withIotInstanceId($value)
4656
 * @method string getTaskId()
4657
 * @method $this withTaskId($value)
4658
 * @method string getApiProduct()
4659
 * @method string getApiRevision()
4660
 */
4661
class GetLoraNodesTask extends Rpc
4662
{
4663
4664
    /**
4665
     * @param string $value
4666
     *
4667
     * @return $this
4668
     */
4669
    public function withApiProduct($value)
4670
    {
4671
        $this->data['ApiProduct'] = $value;
4672
        $this->options['form_params']['ApiProduct'] = $value;
4673
4674
        return $this;
4675
    }
4676
4677
    /**
4678
     * @param string $value
4679
     *
4680
     * @return $this
4681
     */
4682
    public function withApiRevision($value)
4683
    {
4684
        $this->data['ApiRevision'] = $value;
4685
        $this->options['form_params']['ApiRevision'] = $value;
4686
4687
        return $this;
4688
    }
4689
}
4690
4691
/**
4692
 * @method string getIotInstanceId()
4693
 * @method $this withIotInstanceId($value)
4694
 * @method string getTaskId()
4695
 * @method $this withTaskId($value)
4696
 * @method string getApiProduct()
4697
 * @method string getApiRevision()
4698
 */
4699
class GetNodesAddingTask extends Rpc
4700
{
4701
4702
    /**
4703
     * @param string $value
4704
     *
4705
     * @return $this
4706
     */
4707
    public function withApiProduct($value)
4708
    {
4709
        $this->data['ApiProduct'] = $value;
4710
        $this->options['form_params']['ApiProduct'] = $value;
4711
4712
        return $this;
4713
    }
4714
4715
    /**
4716
     * @param string $value
4717
     *
4718
     * @return $this
4719
     */
4720
    public function withApiRevision($value)
4721
    {
4722
        $this->data['ApiRevision'] = $value;
4723
        $this->options['form_params']['ApiRevision'] = $value;
4724
4725
        return $this;
4726
    }
4727
}
4728
4729
/**
4730
 * @method string getIotInstanceId()
4731
 * @method $this withIotInstanceId($value)
4732
 * @method string getApiProduct()
4733
 * @method string getApiRevision()
4734
 * @method string getRuleId()
4735
 * @method $this withRuleId($value)
4736
 */
4737
class GetRule extends Rpc
4738
{
4739
4740
    /**
4741
     * @param string $value
4742
     *
4743
     * @return $this
4744
     */
4745
    public function withApiProduct($value)
4746
    {
4747
        $this->data['ApiProduct'] = $value;
4748
        $this->options['form_params']['ApiProduct'] = $value;
4749
4750
        return $this;
4751
    }
4752
4753
    /**
4754
     * @param string $value
4755
     *
4756
     * @return $this
4757
     */
4758
    public function withApiRevision($value)
4759
    {
4760
        $this->data['ApiRevision'] = $value;
4761
        $this->options['form_params']['ApiRevision'] = $value;
4762
4763
        return $this;
4764
    }
4765
}
4766
4767
/**
4768
 * @method string getIotInstanceId()
4769
 * @method $this withIotInstanceId($value)
4770
 * @method string getActionId()
4771
 * @method $this withActionId($value)
4772
 * @method string getApiProduct()
4773
 * @method string getApiRevision()
4774
 */
4775
class GetRuleAction extends Rpc
4776
{
4777
4778
    /**
4779
     * @param string $value
4780
     *
4781
     * @return $this
4782
     */
4783
    public function withApiProduct($value)
4784
    {
4785
        $this->data['ApiProduct'] = $value;
4786
        $this->options['form_params']['ApiProduct'] = $value;
4787
4788
        return $this;
4789
    }
4790
4791
    /**
4792
     * @param string $value
4793
     *
4794
     * @return $this
4795
     */
4796
    public function withApiRevision($value)
4797
    {
4798
        $this->data['ApiRevision'] = $value;
4799
        $this->options['form_params']['ApiRevision'] = $value;
4800
4801
        return $this;
4802
    }
4803
}
4804
4805
/**
4806
 * @method string getIotInstanceId()
4807
 * @method $this withIotInstanceId($value)
4808
 * @method string getApiProduct()
4809
 * @method string getApiRevision()
4810
 * @method string getRuleId()
4811
 * @method $this withRuleId($value)
4812
 */
4813
class GetSceneRule extends Rpc
4814
{
4815
4816
    /**
4817
     * @param string $value
4818
     *
4819
     * @return $this
4820
     */
4821
    public function withApiProduct($value)
4822
    {
4823
        $this->data['ApiProduct'] = $value;
4824
        $this->options['form_params']['ApiProduct'] = $value;
4825
4826
        return $this;
4827
    }
4828
4829
    /**
4830
     * @param string $value
4831
     *
4832
     * @return $this
4833
     */
4834
    public function withApiRevision($value)
4835
    {
4836
        $this->data['ApiRevision'] = $value;
4837
        $this->options['form_params']['ApiRevision'] = $value;
4838
4839
        return $this;
4840
    }
4841
}
4842
4843
/**
4844
 * @method string getSimple()
4845
 * @method $this withSimple($value)
4846
 * @method string getResourceGroupId()
4847
 * @method $this withResourceGroupId($value)
4848
 * @method string getIotInstanceId()
4849
 * @method $this withIotInstanceId($value)
4850
 * @method string getProductKey()
4851
 * @method $this withProductKey($value)
4852
 * @method string getApiProduct()
4853
 * @method string getApiRevision()
4854
 * @method string getModelVersion()
4855
 * @method $this withModelVersion($value)
4856
 */
4857
class GetThingModelTsl extends Rpc
4858
{
4859
4860
    /**
4861
     * @param string $value
4862
     *
4863
     * @return $this
4864
     */
4865
    public function withApiProduct($value)
4866
    {
4867
        $this->data['ApiProduct'] = $value;
4868
        $this->options['form_params']['ApiProduct'] = $value;
4869
4870
        return $this;
4871
    }
4872
4873
    /**
4874
     * @param string $value
4875
     *
4876
     * @return $this
4877
     */
4878
    public function withApiRevision($value)
4879
    {
4880
        $this->data['ApiRevision'] = $value;
4881
        $this->options['form_params']['ApiRevision'] = $value;
4882
4883
        return $this;
4884
    }
4885
}
4886
4887
/**
4888
 * @method string getCategoryKey()
4889
 * @method $this withCategoryKey($value)
4890
 * @method string getResourceGroupId()
4891
 * @method $this withResourceGroupId($value)
4892
 * @method string getIotInstanceId()
4893
 * @method $this withIotInstanceId($value)
4894
 * @method string getApiProduct()
4895
 * @method string getApiRevision()
4896
 */
4897
class GetThingTemplate extends Rpc
4898
{
4899
4900
    /**
4901
     * @param string $value
4902
     *
4903
     * @return $this
4904
     */
4905
    public function withApiProduct($value)
4906
    {
4907
        $this->data['ApiProduct'] = $value;
4908
        $this->options['form_params']['ApiProduct'] = $value;
4909
4910
        return $this;
4911
    }
4912
4913
    /**
4914
     * @param string $value
4915
     *
4916
     * @return $this
4917
     */
4918
    public function withApiRevision($value)
4919
    {
4920
        $this->data['ApiRevision'] = $value;
4921
        $this->options['form_params']['ApiRevision'] = $value;
4922
4923
        return $this;
4924
    }
4925
}
4926
4927
/**
4928
 * @method string getIotId()
4929
 * @method $this withIotId($value)
4930
 * @method string getIotInstanceId()
4931
 * @method $this withIotInstanceId($value)
4932
 * @method string getPageSize()
4933
 * @method $this withPageSize($value)
4934
 * @method string getProductKey()
4935
 * @method $this withProductKey($value)
4936
 * @method string getPageNo()
4937
 * @method $this withPageNo($value)
4938
 * @method string getApiProduct()
4939
 * @method string getApiRevision()
4940
 * @method string getDeviceName()
4941
 * @method $this withDeviceName($value)
4942
 */
4943
class GetThingTopo extends Rpc
4944
{
4945
4946
    /**
4947
     * @param string $value
4948
     *
4949
     * @return $this
4950
     */
4951
    public function withApiProduct($value)
4952
    {
4953
        $this->data['ApiProduct'] = $value;
4954
        $this->options['form_params']['ApiProduct'] = $value;
4955
4956
        return $this;
4957
    }
4958
4959
    /**
4960
     * @param string $value
4961
     *
4962
     * @return $this
4963
     */
4964
    public function withApiRevision($value)
4965
    {
4966
        $this->data['ApiRevision'] = $value;
4967
        $this->options['form_params']['ApiRevision'] = $value;
4968
4969
        return $this;
4970
    }
4971
}
4972
4973
/**
4974
 * @method string getResourceGroupId()
4975
 * @method $this withResourceGroupId($value)
4976
 * @method string getIotInstanceId()
4977
 * @method $this withIotInstanceId($value)
4978
 * @method string getProductKey()
4979
 * @method $this withProductKey($value)
4980
 * @method string getApiProduct()
4981
 * @method string getApiRevision()
4982
 * @method string getTslUrl()
4983
 * @method $this withTslUrl($value)
4984
 * @method string getTslStr()
4985
 * @method $this withTslStr($value)
4986
 */
4987
class ImportThingModelTsl extends Rpc
4988
{
4989
4990
    /**
4991
     * @param string $value
4992
     *
4993
     * @return $this
4994
     */
4995
    public function withApiProduct($value)
4996
    {
4997
        $this->data['ApiProduct'] = $value;
4998
        $this->options['form_params']['ApiProduct'] = $value;
4999
5000
        return $this;
5001
    }
5002
5003
    /**
5004
     * @param string $value
5005
     *
5006
     * @return $this
5007
     */
5008
    public function withApiRevision($value)
5009
    {
5010
        $this->data['ApiRevision'] = $value;
5011
        $this->options['form_params']['ApiRevision'] = $value;
5012
5013
        return $this;
5014
    }
5015
}
5016
5017
/**
5018
 * @method array getParam()
5019
 * @method string getIotInstanceId()
5020
 * @method string getApiSrn()
5021
 * @method string getApiProduct()
5022
 * @method string getApiRevision()
5023
 */
5024
class InvokeDataAPIService extends Rpc
5025
{
5026
5027
    /**
5028
     * @param array $param
5029
     *
5030
     * @return $this
5031
     */
5032
	public function withParam(array $param)
5033
	{
5034
	    $this->data['Param'] = $param;
5035
		foreach ($param as $depth1 => $depth1Value) {
5036
			if(isset($depth1Value['ParamType'])){
5037
				$this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamType'] = $depth1Value['ParamType'];
5038
			}
5039
			foreach ($depth1Value['ListParamValue'] as $i => $iValue) {
5040
				$this->options['form_params']['Param.' . ($depth1 + 1) . '.ListParamValue.' . ($i + 1)] = $iValue;
5041
			}
5042
			if(isset($depth1Value['ListParamType'])){
5043
				$this->options['form_params']['Param.' . ($depth1 + 1) . '.ListParamType'] = $depth1Value['ListParamType'];
5044
			}
5045
			if(isset($depth1Value['ParamName'])){
5046
				$this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamName'] = $depth1Value['ParamName'];
5047
			}
5048
			if(isset($depth1Value['ParamValue'])){
5049
				$this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamValue'] = $depth1Value['ParamValue'];
5050
			}
5051
		}
5052
5053
		return $this;
5054
    }
5055
5056
    /**
5057
     * @param string $value
5058
     *
5059
     * @return $this
5060
     */
5061
    public function withIotInstanceId($value)
5062
    {
5063
        $this->data['IotInstanceId'] = $value;
5064
        $this->options['form_params']['IotInstanceId'] = $value;
5065
5066
        return $this;
5067
    }
5068
5069
    /**
5070
     * @param string $value
5071
     *
5072
     * @return $this
5073
     */
5074
    public function withApiSrn($value)
5075
    {
5076
        $this->data['ApiSrn'] = $value;
5077
        $this->options['form_params']['ApiSrn'] = $value;
5078
5079
        return $this;
5080
    }
5081
5082
    /**
5083
     * @param string $value
5084
     *
5085
     * @return $this
5086
     */
5087
    public function withApiProduct($value)
5088
    {
5089
        $this->data['ApiProduct'] = $value;
5090
        $this->options['form_params']['ApiProduct'] = $value;
5091
5092
        return $this;
5093
    }
5094
5095
    /**
5096
     * @param string $value
5097
     *
5098
     * @return $this
5099
     */
5100
    public function withApiRevision($value)
5101
    {
5102
        $this->data['ApiRevision'] = $value;
5103
        $this->options['form_params']['ApiRevision'] = $value;
5104
5105
        return $this;
5106
    }
5107
}
5108
5109
/**
5110
 * @method string getIotId()
5111
 * @method $this withIotId($value)
5112
 * @method string getIotInstanceId()
5113
 * @method $this withIotInstanceId($value)
5114
 * @method string getIdentifier()
5115
 * @method $this withIdentifier($value)
5116
 * @method string getProductKey()
5117
 * @method $this withProductKey($value)
5118
 * @method string getArgs()
5119
 * @method $this withArgs($value)
5120
 * @method string getApiProduct()
5121
 * @method string getApiRevision()
5122
 * @method string getDeviceName()
5123
 * @method $this withDeviceName($value)
5124
 */
5125
class InvokeThingService extends Rpc
5126
{
5127
5128
    /**
5129
     * @param string $value
5130
     *
5131
     * @return $this
5132
     */
5133
    public function withApiProduct($value)
5134
    {
5135
        $this->data['ApiProduct'] = $value;
5136
        $this->options['form_params']['ApiProduct'] = $value;
5137
5138
        return $this;
5139
    }
5140
5141
    /**
5142
     * @param string $value
5143
     *
5144
     * @return $this
5145
     */
5146
    public function withApiRevision($value)
5147
    {
5148
        $this->data['ApiRevision'] = $value;
5149
        $this->options['form_params']['ApiRevision'] = $value;
5150
5151
        return $this;
5152
    }
5153
}
5154
5155
/**
5156
 * @method string getIotInstanceId()
5157
 * @method $this withIotInstanceId($value)
5158
 * @method string getIdentifier()
5159
 * @method $this withIdentifier($value)
5160
 * @method string getProductKey()
5161
 * @method $this withProductKey($value)
5162
 * @method string getArgs()
5163
 * @method $this withArgs($value)
5164
 * @method string getApiProduct()
5165
 * @method string getApiRevision()
5166
 * @method array getDeviceName()
5167
 */
5168
class InvokeThingsService extends Rpc
5169
{
5170
5171
    /**
5172
     * @param string $value
5173
     *
5174
     * @return $this
5175
     */
5176
    public function withApiProduct($value)
5177
    {
5178
        $this->data['ApiProduct'] = $value;
5179
        $this->options['form_params']['ApiProduct'] = $value;
5180
5181
        return $this;
5182
    }
5183
5184
    /**
5185
     * @param string $value
5186
     *
5187
     * @return $this
5188
     */
5189
    public function withApiRevision($value)
5190
    {
5191
        $this->data['ApiRevision'] = $value;
5192
        $this->options['form_params']['ApiRevision'] = $value;
5193
5194
        return $this;
5195
    }
5196
5197
    /**
5198
     * @param array $deviceName
5199
     *
5200
     * @return $this
5201
     */
5202
	public function withDeviceName(array $deviceName)
5203
	{
5204
	    $this->data['DeviceName'] = $deviceName;
5205
		foreach ($deviceName as $i => $iValue) {
5206
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
5207
		}
5208
5209
		return $this;
5210
    }
5211
}
5212
5213
/**
5214
 * @method string getIotInstanceId()
5215
 * @method $this withIotInstanceId($value)
5216
 * @method string getPageSize()
5217
 * @method $this withPageSize($value)
5218
 * @method string getCurrentPage()
5219
 * @method $this withCurrentPage($value)
5220
 * @method string getProductKey()
5221
 * @method $this withProductKey($value)
5222
 * @method string getApiProduct()
5223
 * @method string getApiRevision()
5224
 * @method string getDestVersion()
5225
 * @method $this withDestVersion($value)
5226
 */
5227
class ListOTAFirmware extends Rpc
5228
{
5229
5230
    /**
5231
     * @param string $value
5232
     *
5233
     * @return $this
5234
     */
5235
    public function withApiProduct($value)
5236
    {
5237
        $this->data['ApiProduct'] = $value;
5238
        $this->options['form_params']['ApiProduct'] = $value;
5239
5240
        return $this;
5241
    }
5242
5243
    /**
5244
     * @param string $value
5245
     *
5246
     * @return $this
5247
     */
5248
    public function withApiRevision($value)
5249
    {
5250
        $this->data['ApiRevision'] = $value;
5251
        $this->options['form_params']['ApiRevision'] = $value;
5252
5253
        return $this;
5254
    }
5255
}
5256
5257
/**
5258
 * @method string getIotInstanceId()
5259
 * @method $this withIotInstanceId($value)
5260
 * @method string getPageSize()
5261
 * @method $this withPageSize($value)
5262
 * @method string getFirmwareId()
5263
 * @method $this withFirmwareId($value)
5264
 * @method string getCurrentPage()
5265
 * @method $this withCurrentPage($value)
5266
 * @method string getProductKey()
5267
 * @method $this withProductKey($value)
5268
 * @method string getApiProduct()
5269
 * @method string getApiRevision()
5270
 * @method string getDeviceName()
5271
 * @method $this withDeviceName($value)
5272
 */
5273
class ListOTAJobByDevice extends Rpc
5274
{
5275
5276
    /**
5277
     * @param string $value
5278
     *
5279
     * @return $this
5280
     */
5281
    public function withApiProduct($value)
5282
    {
5283
        $this->data['ApiProduct'] = $value;
5284
        $this->options['form_params']['ApiProduct'] = $value;
5285
5286
        return $this;
5287
    }
5288
5289
    /**
5290
     * @param string $value
5291
     *
5292
     * @return $this
5293
     */
5294
    public function withApiRevision($value)
5295
    {
5296
        $this->data['ApiRevision'] = $value;
5297
        $this->options['form_params']['ApiRevision'] = $value;
5298
5299
        return $this;
5300
    }
5301
}
5302
5303
/**
5304
 * @method string getIotInstanceId()
5305
 * @method $this withIotInstanceId($value)
5306
 * @method string getPageSize()
5307
 * @method $this withPageSize($value)
5308
 * @method string getFirmwareId()
5309
 * @method $this withFirmwareId($value)
5310
 * @method string getCurrentPage()
5311
 * @method $this withCurrentPage($value)
5312
 * @method string getApiProduct()
5313
 * @method string getApiRevision()
5314
 */
5315
class ListOTAJobByFirmware extends Rpc
5316
{
5317
5318
    /**
5319
     * @param string $value
5320
     *
5321
     * @return $this
5322
     */
5323
    public function withApiProduct($value)
5324
    {
5325
        $this->data['ApiProduct'] = $value;
5326
        $this->options['form_params']['ApiProduct'] = $value;
5327
5328
        return $this;
5329
    }
5330
5331
    /**
5332
     * @param string $value
5333
     *
5334
     * @return $this
5335
     */
5336
    public function withApiRevision($value)
5337
    {
5338
        $this->data['ApiRevision'] = $value;
5339
        $this->options['form_params']['ApiRevision'] = $value;
5340
5341
        return $this;
5342
    }
5343
}
5344
5345
/**
5346
 * @method string getJobId()
5347
 * @method $this withJobId($value)
5348
 * @method string getTaskStatus()
5349
 * @method $this withTaskStatus($value)
5350
 * @method string getIotInstanceId()
5351
 * @method $this withIotInstanceId($value)
5352
 * @method string getPageSize()
5353
 * @method $this withPageSize($value)
5354
 * @method string getCurrentPage()
5355
 * @method $this withCurrentPage($value)
5356
 * @method string getApiProduct()
5357
 * @method string getApiRevision()
5358
 */
5359
class ListOTATaskByJob extends Rpc
5360
{
5361
5362
    /**
5363
     * @param string $value
5364
     *
5365
     * @return $this
5366
     */
5367
    public function withApiProduct($value)
5368
    {
5369
        $this->data['ApiProduct'] = $value;
5370
        $this->options['form_params']['ApiProduct'] = $value;
5371
5372
        return $this;
5373
    }
5374
5375
    /**
5376
     * @param string $value
5377
     *
5378
     * @return $this
5379
     */
5380
    public function withApiRevision($value)
5381
    {
5382
        $this->data['ApiRevision'] = $value;
5383
        $this->options['form_params']['ApiRevision'] = $value;
5384
5385
        return $this;
5386
    }
5387
}
5388
5389
/**
5390
 * @method string getIotInstanceId()
5391
 * @method $this withIotInstanceId($value)
5392
 * @method string getPageSize()
5393
 * @method $this withPageSize($value)
5394
 * @method string getCurrentPage()
5395
 * @method $this withCurrentPage($value)
5396
 * @method array getProductTag()
5397
 * @method string getApiProduct()
5398
 * @method string getApiRevision()
5399
 */
5400
class ListProductByTags extends Rpc
5401
{
5402
5403
    /**
5404
     * @param array $productTag
5405
     *
5406
     * @return $this
5407
     */
5408
	public function withProductTag(array $productTag)
5409
	{
5410
	    $this->data['ProductTag'] = $productTag;
5411
		foreach ($productTag as $depth1 => $depth1Value) {
5412
			if(isset($depth1Value['TagValue'])){
5413
				$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
5414
			}
5415
			if(isset($depth1Value['TagKey'])){
5416
				$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
5417
			}
5418
		}
5419
5420
		return $this;
5421
    }
5422
5423
    /**
5424
     * @param string $value
5425
     *
5426
     * @return $this
5427
     */
5428
    public function withApiProduct($value)
5429
    {
5430
        $this->data['ApiProduct'] = $value;
5431
        $this->options['form_params']['ApiProduct'] = $value;
5432
5433
        return $this;
5434
    }
5435
5436
    /**
5437
     * @param string $value
5438
     *
5439
     * @return $this
5440
     */
5441
    public function withApiRevision($value)
5442
    {
5443
        $this->data['ApiRevision'] = $value;
5444
        $this->options['form_params']['ApiRevision'] = $value;
5445
5446
        return $this;
5447
    }
5448
}
5449
5450
/**
5451
 * @method string getIotInstanceId()
5452
 * @method $this withIotInstanceId($value)
5453
 * @method string getProductKey()
5454
 * @method $this withProductKey($value)
5455
 * @method string getApiProduct()
5456
 * @method string getApiRevision()
5457
 */
5458
class ListProductTags extends Rpc
5459
{
5460
5461
    /**
5462
     * @param string $value
5463
     *
5464
     * @return $this
5465
     */
5466
    public function withApiProduct($value)
5467
    {
5468
        $this->data['ApiProduct'] = $value;
5469
        $this->options['form_params']['ApiProduct'] = $value;
5470
5471
        return $this;
5472
    }
5473
5474
    /**
5475
     * @param string $value
5476
     *
5477
     * @return $this
5478
     */
5479
    public function withApiRevision($value)
5480
    {
5481
        $this->data['ApiRevision'] = $value;
5482
        $this->options['form_params']['ApiRevision'] = $value;
5483
5484
        return $this;
5485
    }
5486
}
5487
5488
/**
5489
 * @method string getSearchName()
5490
 * @method $this withSearchName($value)
5491
 * @method string getResourceGroupId()
5492
 * @method $this withResourceGroupId($value)
5493
 * @method string getIotInstanceId()
5494
 * @method $this withIotInstanceId($value)
5495
 * @method string getPageSize()
5496
 * @method $this withPageSize($value)
5497
 * @method string getCurrentPage()
5498
 * @method $this withCurrentPage($value)
5499
 * @method string getApiProduct()
5500
 * @method string getApiRevision()
5501
 */
5502
class ListRule extends Rpc
5503
{
5504
5505
    /**
5506
     * @param string $value
5507
     *
5508
     * @return $this
5509
     */
5510
    public function withApiProduct($value)
5511
    {
5512
        $this->data['ApiProduct'] = $value;
5513
        $this->options['form_params']['ApiProduct'] = $value;
5514
5515
        return $this;
5516
    }
5517
5518
    /**
5519
     * @param string $value
5520
     *
5521
     * @return $this
5522
     */
5523
    public function withApiRevision($value)
5524
    {
5525
        $this->data['ApiRevision'] = $value;
5526
        $this->options['form_params']['ApiRevision'] = $value;
5527
5528
        return $this;
5529
    }
5530
}
5531
5532
/**
5533
 * @method string getIotInstanceId()
5534
 * @method $this withIotInstanceId($value)
5535
 * @method string getApiProduct()
5536
 * @method string getApiRevision()
5537
 * @method string getRuleId()
5538
 * @method $this withRuleId($value)
5539
 */
5540
class ListRuleActions extends Rpc
5541
{
5542
5543
    /**
5544
     * @param string $value
5545
     *
5546
     * @return $this
5547
     */
5548
    public function withApiProduct($value)
5549
    {
5550
        $this->data['ApiProduct'] = $value;
5551
        $this->options['form_params']['ApiProduct'] = $value;
5552
5553
        return $this;
5554
    }
5555
5556
    /**
5557
     * @param string $value
5558
     *
5559
     * @return $this
5560
     */
5561
    public function withApiRevision($value)
5562
    {
5563
        $this->data['ApiRevision'] = $value;
5564
        $this->options['form_params']['ApiRevision'] = $value;
5565
5566
        return $this;
5567
    }
5568
}
5569
5570
/**
5571
 * @method string getResourceGroupId()
5572
 * @method $this withResourceGroupId($value)
5573
 * @method string getIotInstanceId()
5574
 * @method $this withIotInstanceId($value)
5575
 * @method string getProductKey()
5576
 * @method $this withProductKey($value)
5577
 * @method string getApiProduct()
5578
 * @method string getApiRevision()
5579
 */
5580
class ListThingModelVersion extends Rpc
5581
{
5582
5583
    /**
5584
     * @param string $value
5585
     *
5586
     * @return $this
5587
     */
5588
    public function withApiProduct($value)
5589
    {
5590
        $this->data['ApiProduct'] = $value;
5591
        $this->options['form_params']['ApiProduct'] = $value;
5592
5593
        return $this;
5594
    }
5595
5596
    /**
5597
     * @param string $value
5598
     *
5599
     * @return $this
5600
     */
5601
    public function withApiRevision($value)
5602
    {
5603
        $this->data['ApiRevision'] = $value;
5604
        $this->options['form_params']['ApiRevision'] = $value;
5605
5606
        return $this;
5607
    }
5608
}
5609
5610
/**
5611
 * @method string getResourceGroupId()
5612
 * @method $this withResourceGroupId($value)
5613
 * @method string getIotInstanceId()
5614
 * @method $this withIotInstanceId($value)
5615
 * @method string getApiProduct()
5616
 * @method string getApiRevision()
5617
 */
5618
class ListThingTemplates extends Rpc
5619
{
5620
5621
    /**
5622
     * @param string $value
5623
     *
5624
     * @return $this
5625
     */
5626
    public function withApiProduct($value)
5627
    {
5628
        $this->data['ApiProduct'] = $value;
5629
        $this->options['form_params']['ApiProduct'] = $value;
5630
5631
        return $this;
5632
    }
5633
5634
    /**
5635
     * @param string $value
5636
     *
5637
     * @return $this
5638
     */
5639
    public function withApiRevision($value)
5640
    {
5641
        $this->data['ApiRevision'] = $value;
5642
        $this->options['form_params']['ApiRevision'] = $value;
5643
5644
        return $this;
5645
    }
5646
}
5647
5648
/**
5649
 * @method string getGwProductKey()
5650
 * @method $this withGwProductKey($value)
5651
 * @method string getDeviceListStr()
5652
 * @method $this withDeviceListStr($value)
5653
 * @method string getIotInstanceId()
5654
 * @method $this withIotInstanceId($value)
5655
 * @method string getGwIotId()
5656
 * @method $this withGwIotId($value)
5657
 * @method string getGwDeviceName()
5658
 * @method $this withGwDeviceName($value)
5659
 * @method string getApiProduct()
5660
 * @method string getApiRevision()
5661
 */
5662
class NotifyAddThingTopo extends Rpc
5663
{
5664
5665
    /**
5666
     * @param string $value
5667
     *
5668
     * @return $this
5669
     */
5670
    public function withApiProduct($value)
5671
    {
5672
        $this->data['ApiProduct'] = $value;
5673
        $this->options['form_params']['ApiProduct'] = $value;
5674
5675
        return $this;
5676
    }
5677
5678
    /**
5679
     * @param string $value
5680
     *
5681
     * @return $this
5682
     */
5683
    public function withApiRevision($value)
5684
    {
5685
        $this->data['ApiRevision'] = $value;
5686
        $this->options['form_params']['ApiRevision'] = $value;
5687
5688
        return $this;
5689
    }
5690
}
5691
5692
/**
5693
 * @method string getMessageContent()
5694
 * @method $this withMessageContent($value)
5695
 * @method string getQos()
5696
 * @method $this withQos($value)
5697
 * @method string getIotInstanceId()
5698
 * @method $this withIotInstanceId($value)
5699
 * @method string getTopicFullName()
5700
 * @method $this withTopicFullName($value)
5701
 * @method string getProductKey()
5702
 * @method $this withProductKey($value)
5703
 * @method string getApiProduct()
5704
 * @method string getApiRevision()
5705
 */
5706
class Pub extends Rpc
5707
{
5708
5709
    /**
5710
     * @param string $value
5711
     *
5712
     * @return $this
5713
     */
5714
    public function withApiProduct($value)
5715
    {
5716
        $this->data['ApiProduct'] = $value;
5717
        $this->options['form_params']['ApiProduct'] = $value;
5718
5719
        return $this;
5720
    }
5721
5722
    /**
5723
     * @param string $value
5724
     *
5725
     * @return $this
5726
     */
5727
    public function withApiRevision($value)
5728
    {
5729
        $this->data['ApiRevision'] = $value;
5730
        $this->options['form_params']['ApiRevision'] = $value;
5731
5732
        return $this;
5733
    }
5734
}
5735
5736
/**
5737
 * @method string getMessageContent()
5738
 * @method $this withMessageContent($value)
5739
 * @method string getIotInstanceId()
5740
 * @method $this withIotInstanceId($value)
5741
 * @method string getTopicFullName()
5742
 * @method $this withTopicFullName($value)
5743
 * @method string getProductKey()
5744
 * @method $this withProductKey($value)
5745
 * @method string getApiProduct()
5746
 * @method string getApiRevision()
5747
 */
5748
class PubBroadcast extends Rpc
5749
{
5750
5751
    /**
5752
     * @param string $value
5753
     *
5754
     * @return $this
5755
     */
5756
    public function withApiProduct($value)
5757
    {
5758
        $this->data['ApiProduct'] = $value;
5759
        $this->options['form_params']['ApiProduct'] = $value;
5760
5761
        return $this;
5762
    }
5763
5764
    /**
5765
     * @param string $value
5766
     *
5767
     * @return $this
5768
     */
5769
    public function withApiRevision($value)
5770
    {
5771
        $this->data['ApiRevision'] = $value;
5772
        $this->options['form_params']['ApiRevision'] = $value;
5773
5774
        return $this;
5775
    }
5776
}
5777
5778
/**
5779
 * @method string getDescription()
5780
 * @method $this withDescription($value)
5781
 * @method string getResourceGroupId()
5782
 * @method $this withResourceGroupId($value)
5783
 * @method string getIotInstanceId()
5784
 * @method $this withIotInstanceId($value)
5785
 * @method string getProductKey()
5786
 * @method $this withProductKey($value)
5787
 * @method string getApiProduct()
5788
 * @method string getApiRevision()
5789
 * @method string getModelVersion()
5790
 * @method $this withModelVersion($value)
5791
 */
5792
class PublishThingModel extends Rpc
5793
{
5794
5795
    /**
5796
     * @param string $value
5797
     *
5798
     * @return $this
5799
     */
5800
    public function withApiProduct($value)
5801
    {
5802
        $this->data['ApiProduct'] = $value;
5803
        $this->options['form_params']['ApiProduct'] = $value;
5804
5805
        return $this;
5806
    }
5807
5808
    /**
5809
     * @param string $value
5810
     *
5811
     * @return $this
5812
     */
5813
    public function withApiRevision($value)
5814
    {
5815
        $this->data['ApiRevision'] = $value;
5816
        $this->options['form_params']['ApiRevision'] = $value;
5817
5818
        return $this;
5819
    }
5820
}
5821
5822
/**
5823
 * @method string getCurrentPage()
5824
 * @method $this withCurrentPage($value)
5825
 * @method array getTagList()
5826
 * @method array getProductKeyList()
5827
 * @method array getCategoryKeyList()
5828
 * @method string getIotInstanceId()
5829
 * @method $this withIotInstanceId($value)
5830
 * @method string getPageSize()
5831
 * @method $this withPageSize($value)
5832
 * @method string getAppKey()
5833
 * @method $this withAppKey($value)
5834
 */
5835
class QueryAppDeviceList extends Rpc
5836
{
5837
5838
    /**
5839
     * @param array $tagList
5840
     *
5841
     * @return $this
5842
     */
5843
	public function withTagList(array $tagList)
5844
	{
5845
	    $this->data['TagList'] = $tagList;
5846
		foreach ($tagList as $depth1 => $depth1Value) {
5847
			if(isset($depth1Value['TagName'])){
5848
				$this->options['query']['TagList.' . ($depth1 + 1) . '.TagName'] = $depth1Value['TagName'];
5849
			}
5850
			if(isset($depth1Value['TagValue'])){
5851
				$this->options['query']['TagList.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
5852
			}
5853
		}
5854
5855
		return $this;
5856
    }
5857
5858
    /**
5859
     * @param array $productKeyList
5860
     *
5861
     * @return $this
5862
     */
5863
	public function withProductKeyList(array $productKeyList)
5864
	{
5865
	    $this->data['ProductKeyList'] = $productKeyList;
5866
		foreach ($productKeyList as $i => $iValue) {
5867
			$this->options['query']['ProductKeyList.' . ($i + 1)] = $iValue;
5868
		}
5869
5870
		return $this;
5871
    }
5872
5873
    /**
5874
     * @param array $categoryKeyList
5875
     *
5876
     * @return $this
5877
     */
5878
	public function withCategoryKeyList(array $categoryKeyList)
5879
	{
5880
	    $this->data['CategoryKeyList'] = $categoryKeyList;
5881
		foreach ($categoryKeyList as $i => $iValue) {
5882
			$this->options['query']['CategoryKeyList.' . ($i + 1)] = $iValue;
5883
		}
5884
5885
		return $this;
5886
    }
5887
}
5888
5889
/**
5890
 * @method string getIotInstanceId()
5891
 * @method $this withIotInstanceId($value)
5892
 * @method string getProductKey()
5893
 * @method $this withProductKey($value)
5894
 * @method string getApplyId()
5895
 * @method $this withApplyId($value)
5896
 * @method string getApiProduct()
5897
 * @method string getApiRevision()
5898
 */
5899
class QueryBatchRegisterDeviceStatus extends Rpc
5900
{
5901
5902
    /**
5903
     * @param string $value
5904
     *
5905
     * @return $this
5906
     */
5907
    public function withApiProduct($value)
5908
    {
5909
        $this->data['ApiProduct'] = $value;
5910
        $this->options['form_params']['ApiProduct'] = $value;
5911
5912
        return $this;
5913
    }
5914
5915
    /**
5916
     * @param string $value
5917
     *
5918
     * @return $this
5919
     */
5920
    public function withApiRevision($value)
5921
    {
5922
        $this->data['ApiRevision'] = $value;
5923
        $this->options['form_params']['ApiRevision'] = $value;
5924
5925
        return $this;
5926
    }
5927
}
5928
5929
/**
5930
 * @method string getIotInstanceId()
5931
 * @method $this withIotInstanceId($value)
5932
 * @method string getApplyId()
5933
 * @method $this withApplyId($value)
5934
 * @method string getApiProduct()
5935
 * @method string getApiRevision()
5936
 */
5937
class QueryCertUrlByApplyId extends Rpc
5938
{
5939
5940
    /**
5941
     * @param string $value
5942
     *
5943
     * @return $this
5944
     */
5945
    public function withApiProduct($value)
5946
    {
5947
        $this->data['ApiProduct'] = $value;
5948
        $this->options['form_params']['ApiProduct'] = $value;
5949
5950
        return $this;
5951
    }
5952
5953
    /**
5954
     * @param string $value
5955
     *
5956
     * @return $this
5957
     */
5958
    public function withApiRevision($value)
5959
    {
5960
        $this->data['ApiRevision'] = $value;
5961
        $this->options['form_params']['ApiRevision'] = $value;
5962
5963
        return $this;
5964
    }
5965
}
5966
5967
/**
5968
 * @method string getAuthConfig()
5969
 * @method $this withAuthConfig($value)
5970
 * @method string getIotId()
5971
 * @method $this withIotId($value)
5972
 * @method string getIotInstanceId()
5973
 * @method $this withIotInstanceId($value)
5974
 * @method string getApiProduct()
5975
 * @method string getApiRevision()
5976
 */
5977
class QueryClientIds extends Rpc
5978
{
5979
5980
    /**
5981
     * @param string $value
5982
     *
5983
     * @return $this
5984
     */
5985
    public function withApiProduct($value)
5986
    {
5987
        $this->data['ApiProduct'] = $value;
5988
        $this->options['form_params']['ApiProduct'] = $value;
5989
5990
        return $this;
5991
    }
5992
5993
    /**
5994
     * @param string $value
5995
     *
5996
     * @return $this
5997
     */
5998
    public function withApiRevision($value)
5999
    {
6000
        $this->data['ApiRevision'] = $value;
6001
        $this->options['form_params']['ApiRevision'] = $value;
6002
6003
        return $this;
6004
    }
6005
}
6006
6007
/**
6008
 * @method string getIotInstanceId()
6009
 * @method $this withIotInstanceId($value)
6010
 * @method string getGroupId()
6011
 * @method $this withGroupId($value)
6012
 * @method string getApiProduct()
6013
 * @method string getApiRevision()
6014
 */
6015
class QueryConsumerGroupByGroupId extends Rpc
6016
{
6017
6018
    /**
6019
     * @param string $value
6020
     *
6021
     * @return $this
6022
     */
6023
    public function withApiProduct($value)
6024
    {
6025
        $this->data['ApiProduct'] = $value;
6026
        $this->options['form_params']['ApiProduct'] = $value;
6027
6028
        return $this;
6029
    }
6030
6031
    /**
6032
     * @param string $value
6033
     *
6034
     * @return $this
6035
     */
6036
    public function withApiRevision($value)
6037
    {
6038
        $this->data['ApiRevision'] = $value;
6039
        $this->options['form_params']['ApiRevision'] = $value;
6040
6041
        return $this;
6042
    }
6043
}
6044
6045
/**
6046
 * @method string getIotInstanceId()
6047
 * @method $this withIotInstanceId($value)
6048
 * @method string getPageSize()
6049
 * @method $this withPageSize($value)
6050
 * @method string getFuzzy()
6051
 * @method $this withFuzzy($value)
6052
 * @method string getCurrentPage()
6053
 * @method $this withCurrentPage($value)
6054
 * @method string getGroupName()
6055
 * @method $this withGroupName($value)
6056
 * @method string getApiProduct()
6057
 * @method string getApiRevision()
6058
 */
6059
class QueryConsumerGroupList extends Rpc
6060
{
6061
6062
    /**
6063
     * @param string $value
6064
     *
6065
     * @return $this
6066
     */
6067
    public function withApiProduct($value)
6068
    {
6069
        $this->data['ApiProduct'] = $value;
6070
        $this->options['form_params']['ApiProduct'] = $value;
6071
6072
        return $this;
6073
    }
6074
6075
    /**
6076
     * @param string $value
6077
     *
6078
     * @return $this
6079
     */
6080
    public function withApiRevision($value)
6081
    {
6082
        $this->data['ApiRevision'] = $value;
6083
        $this->options['form_params']['ApiRevision'] = $value;
6084
6085
        return $this;
6086
    }
6087
}
6088
6089
/**
6090
 * @method string getIotInstanceId()
6091
 * @method $this withIotInstanceId($value)
6092
 * @method string getGroupId()
6093
 * @method $this withGroupId($value)
6094
 * @method string getApiProduct()
6095
 * @method string getApiRevision()
6096
 */
6097
class QueryConsumerGroupStatus extends Rpc
6098
{
6099
6100
    /**
6101
     * @param string $value
6102
     *
6103
     * @return $this
6104
     */
6105
    public function withApiProduct($value)
6106
    {
6107
        $this->data['ApiProduct'] = $value;
6108
        $this->options['form_params']['ApiProduct'] = $value;
6109
6110
        return $this;
6111
    }
6112
6113
    /**
6114
     * @param string $value
6115
     *
6116
     * @return $this
6117
     */
6118
    public function withApiRevision($value)
6119
    {
6120
        $this->data['ApiRevision'] = $value;
6121
        $this->options['form_params']['ApiRevision'] = $value;
6122
6123
        return $this;
6124
    }
6125
}
6126
6127
/**
6128
 * @method string getTraceId()
6129
 * @method $this withTraceId($value)
6130
 * @method string getStartTime()
6131
 * @method $this withStartTime($value)
6132
 * @method string getIotInstanceId()
6133
 * @method $this withIotInstanceId($value)
6134
 * @method string getPageSize()
6135
 * @method $this withPageSize($value)
6136
 * @method string getEndTime()
6137
 * @method $this withEndTime($value)
6138
 * @method string getCurrentPage()
6139
 * @method $this withCurrentPage($value)
6140
 * @method string getApiProduct()
6141
 * @method string getApiRevision()
6142
 * @method string getRuleId()
6143
 * @method $this withRuleId($value)
6144
 */
6145
class QueryDetailSceneRuleLog extends Rpc
6146
{
6147
6148
    /**
6149
     * @param string $value
6150
     *
6151
     * @return $this
6152
     */
6153
    public function withApiProduct($value)
6154
    {
6155
        $this->data['ApiProduct'] = $value;
6156
        $this->options['form_params']['ApiProduct'] = $value;
6157
6158
        return $this;
6159
    }
6160
6161
    /**
6162
     * @param string $value
6163
     *
6164
     * @return $this
6165
     */
6166
    public function withApiRevision($value)
6167
    {
6168
        $this->data['ApiRevision'] = $value;
6169
        $this->options['form_params']['ApiRevision'] = $value;
6170
6171
        return $this;
6172
    }
6173
}
6174
6175
/**
6176
 * @method string getIotInstanceId()
6177
 * @method $this withIotInstanceId($value)
6178
 * @method string getPageSize()
6179
 * @method $this withPageSize($value)
6180
 * @method string getCurrentPage()
6181
 * @method $this withCurrentPage($value)
6182
 * @method string getProductKey()
6183
 * @method $this withProductKey($value)
6184
 * @method string getApiProduct()
6185
 * @method string getApiRevision()
6186
 */
6187
class QueryDevice extends Rpc
6188
{
6189
6190
    /**
6191
     * @param string $value
6192
     *
6193
     * @return $this
6194
     */
6195
    public function withApiProduct($value)
6196
    {
6197
        $this->data['ApiProduct'] = $value;
6198
        $this->options['form_params']['ApiProduct'] = $value;
6199
6200
        return $this;
6201
    }
6202
6203
    /**
6204
     * @param string $value
6205
     *
6206
     * @return $this
6207
     */
6208
    public function withApiRevision($value)
6209
    {
6210
        $this->data['ApiRevision'] = $value;
6211
        $this->options['form_params']['ApiRevision'] = $value;
6212
6213
        return $this;
6214
    }
6215
}
6216
6217
/**
6218
 * @method string getResourceGroupId()
6219
 * @method $this withResourceGroupId($value)
6220
 * @method string getIotInstanceId()
6221
 * @method $this withIotInstanceId($value)
6222
 * @method string getPageSize()
6223
 * @method $this withPageSize($value)
6224
 * @method string getCurrentPage()
6225
 * @method $this withCurrentPage($value)
6226
 * @method string getProductKey()
6227
 * @method $this withProductKey($value)
6228
 * @method string getApiProduct()
6229
 * @method string getApiRevision()
6230
 * @method string getBizTenantId()
6231
 * @method $this withBizTenantId($value)
6232
 * @method string getStatus()
6233
 * @method $this withStatus($value)
6234
 */
6235
class QueryDeviceByStatus extends Rpc
6236
{
6237
6238
    /**
6239
     * @param string $value
6240
     *
6241
     * @return $this
6242
     */
6243
    public function withApiProduct($value)
6244
    {
6245
        $this->data['ApiProduct'] = $value;
6246
        $this->options['form_params']['ApiProduct'] = $value;
6247
6248
        return $this;
6249
    }
6250
6251
    /**
6252
     * @param string $value
6253
     *
6254
     * @return $this
6255
     */
6256
    public function withApiRevision($value)
6257
    {
6258
        $this->data['ApiRevision'] = $value;
6259
        $this->options['form_params']['ApiRevision'] = $value;
6260
6261
        return $this;
6262
    }
6263
}
6264
6265
/**
6266
 * @method string getIotInstanceId()
6267
 * @method $this withIotInstanceId($value)
6268
 * @method string getPageSize()
6269
 * @method $this withPageSize($value)
6270
 * @method array getTag()
6271
 * @method string getCurrentPage()
6272
 * @method $this withCurrentPage($value)
6273
 * @method string getApiProduct()
6274
 * @method string getApiRevision()
6275
 */
6276
class QueryDeviceByTags extends Rpc
6277
{
6278
6279
    /**
6280
     * @param array $tag
6281
     *
6282
     * @return $this
6283
     */
6284
	public function withTag(array $tag)
6285
	{
6286
	    $this->data['Tag'] = $tag;
6287
		foreach ($tag as $depth1 => $depth1Value) {
6288
			if(isset($depth1Value['TagValue'])){
6289
				$this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
6290
			}
6291
			if(isset($depth1Value['TagKey'])){
6292
				$this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
6293
			}
6294
		}
6295
6296
		return $this;
6297
    }
6298
6299
    /**
6300
     * @param string $value
6301
     *
6302
     * @return $this
6303
     */
6304
    public function withApiProduct($value)
6305
    {
6306
        $this->data['ApiProduct'] = $value;
6307
        $this->options['form_params']['ApiProduct'] = $value;
6308
6309
        return $this;
6310
    }
6311
6312
    /**
6313
     * @param string $value
6314
     *
6315
     * @return $this
6316
     */
6317
    public function withApiRevision($value)
6318
    {
6319
        $this->data['ApiRevision'] = $value;
6320
        $this->options['form_params']['ApiRevision'] = $value;
6321
6322
        return $this;
6323
    }
6324
}
6325
6326
/**
6327
 * @method string getIotInstanceId()
6328
 * @method $this withIotInstanceId($value)
6329
 * @method string getProductKey()
6330
 * @method $this withProductKey($value)
6331
 * @method string getApiProduct()
6332
 * @method string getApiRevision()
6333
 * @method string getDeviceName()
6334
 * @method $this withDeviceName($value)
6335
 */
6336
class QueryDeviceCert extends Rpc
6337
{
6338
6339
    /**
6340
     * @param string $value
6341
     *
6342
     * @return $this
6343
     */
6344
    public function withApiProduct($value)
6345
    {
6346
        $this->data['ApiProduct'] = $value;
6347
        $this->options['form_params']['ApiProduct'] = $value;
6348
6349
        return $this;
6350
    }
6351
6352
    /**
6353
     * @param string $value
6354
     *
6355
     * @return $this
6356
     */
6357
    public function withApiRevision($value)
6358
    {
6359
        $this->data['ApiRevision'] = $value;
6360
        $this->options['form_params']['ApiRevision'] = $value;
6361
6362
        return $this;
6363
    }
6364
}
6365
6366
/**
6367
 * @method string getIotId()
6368
 * @method $this withIotId($value)
6369
 * @method string getIotInstanceId()
6370
 * @method $this withIotInstanceId($value)
6371
 * @method array getIdentifier()
6372
 * @method string getProductKey()
6373
 * @method $this withProductKey($value)
6374
 * @method string getApiProduct()
6375
 * @method string getApiRevision()
6376
 * @method string getDeviceName()
6377
 * @method $this withDeviceName($value)
6378
 */
6379
class QueryDeviceDesiredProperty extends Rpc
6380
{
6381
6382
    /**
6383
     * @param array $identifier
6384
     *
6385
     * @return $this
6386
     */
6387
	public function withIdentifier(array $identifier)
6388
	{
6389
	    $this->data['Identifier'] = $identifier;
6390
		foreach ($identifier as $i => $iValue) {
6391
			$this->options['query']['Identifier.' . ($i + 1)] = $iValue;
6392
		}
6393
6394
		return $this;
6395
    }
6396
6397
    /**
6398
     * @param string $value
6399
     *
6400
     * @return $this
6401
     */
6402
    public function withApiProduct($value)
6403
    {
6404
        $this->data['ApiProduct'] = $value;
6405
        $this->options['form_params']['ApiProduct'] = $value;
6406
6407
        return $this;
6408
    }
6409
6410
    /**
6411
     * @param string $value
6412
     *
6413
     * @return $this
6414
     */
6415
    public function withApiRevision($value)
6416
    {
6417
        $this->data['ApiRevision'] = $value;
6418
        $this->options['form_params']['ApiRevision'] = $value;
6419
6420
        return $this;
6421
    }
6422
}
6423
6424
/**
6425
 * @method string getIotId()
6426
 * @method $this withIotId($value)
6427
 * @method string getIotInstanceId()
6428
 * @method $this withIotInstanceId($value)
6429
 * @method string getProductKey()
6430
 * @method $this withProductKey($value)
6431
 * @method string getApiProduct()
6432
 * @method string getApiRevision()
6433
 * @method string getDeviceName()
6434
 * @method $this withDeviceName($value)
6435
 */
6436
class QueryDeviceDetail extends Rpc
6437
{
6438
6439
    /**
6440
     * @param string $value
6441
     *
6442
     * @return $this
6443
     */
6444
    public function withApiProduct($value)
6445
    {
6446
        $this->data['ApiProduct'] = $value;
6447
        $this->options['form_params']['ApiProduct'] = $value;
6448
6449
        return $this;
6450
    }
6451
6452
    /**
6453
     * @param string $value
6454
     *
6455
     * @return $this
6456
     */
6457
    public function withApiRevision($value)
6458
    {
6459
        $this->data['ApiRevision'] = $value;
6460
        $this->options['form_params']['ApiRevision'] = $value;
6461
6462
        return $this;
6463
    }
6464
}
6465
6466
/**
6467
 * @method string getStartTime()
6468
 * @method $this withStartTime($value)
6469
 * @method string getIotId()
6470
 * @method $this withIotId($value)
6471
 * @method string getIotInstanceId()
6472
 * @method $this withIotInstanceId($value)
6473
 * @method string getPageSize()
6474
 * @method $this withPageSize($value)
6475
 * @method string getIdentifier()
6476
 * @method $this withIdentifier($value)
6477
 * @method string getEndTime()
6478
 * @method $this withEndTime($value)
6479
 * @method string getProductKey()
6480
 * @method $this withProductKey($value)
6481
 * @method string getAsc()
6482
 * @method $this withAsc($value)
6483
 * @method string getApiProduct()
6484
 * @method string getApiRevision()
6485
 * @method string getDeviceName()
6486
 * @method $this withDeviceName($value)
6487
 * @method string getEventType()
6488
 * @method $this withEventType($value)
6489
 */
6490
class QueryDeviceEventData extends Rpc
6491
{
6492
6493
    /**
6494
     * @param string $value
6495
     *
6496
     * @return $this
6497
     */
6498
    public function withApiProduct($value)
6499
    {
6500
        $this->data['ApiProduct'] = $value;
6501
        $this->options['form_params']['ApiProduct'] = $value;
6502
6503
        return $this;
6504
    }
6505
6506
    /**
6507
     * @param string $value
6508
     *
6509
     * @return $this
6510
     */
6511
    public function withApiRevision($value)
6512
    {
6513
        $this->data['ApiRevision'] = $value;
6514
        $this->options['form_params']['ApiRevision'] = $value;
6515
6516
        return $this;
6517
    }
6518
}
6519
6520
/**
6521
 * @method string getIotId()
6522
 * @method $this withIotId($value)
6523
 * @method string getIotInstanceId()
6524
 * @method $this withIotInstanceId($value)
6525
 * @method string getFileId()
6526
 * @method $this withFileId($value)
6527
 * @method string getProductKey()
6528
 * @method $this withProductKey($value)
6529
 * @method string getApiProduct()
6530
 * @method string getApiRevision()
6531
 * @method string getDeviceName()
6532
 * @method $this withDeviceName($value)
6533
 */
6534
class QueryDeviceFile extends Rpc
6535
{
6536
6537
    /**
6538
     * @param string $value
6539
     *
6540
     * @return $this
6541
     */
6542
    public function withApiProduct($value)
6543
    {
6544
        $this->data['ApiProduct'] = $value;
6545
        $this->options['form_params']['ApiProduct'] = $value;
6546
6547
        return $this;
6548
    }
6549
6550
    /**
6551
     * @param string $value
6552
     *
6553
     * @return $this
6554
     */
6555
    public function withApiRevision($value)
6556
    {
6557
        $this->data['ApiRevision'] = $value;
6558
        $this->options['form_params']['ApiRevision'] = $value;
6559
6560
        return $this;
6561
    }
6562
}
6563
6564
/**
6565
 * @method string getIotId()
6566
 * @method $this withIotId($value)
6567
 * @method string getIotInstanceId()
6568
 * @method $this withIotInstanceId($value)
6569
 * @method string getPageSize()
6570
 * @method $this withPageSize($value)
6571
 * @method string getCurrentPage()
6572
 * @method $this withCurrentPage($value)
6573
 * @method string getProductKey()
6574
 * @method $this withProductKey($value)
6575
 * @method string getApiProduct()
6576
 * @method string getApiRevision()
6577
 * @method string getDeviceName()
6578
 * @method $this withDeviceName($value)
6579
 */
6580
class QueryDeviceFileList extends Rpc
6581
{
6582
6583
    /**
6584
     * @param string $value
6585
     *
6586
     * @return $this
6587
     */
6588
    public function withApiProduct($value)
6589
    {
6590
        $this->data['ApiProduct'] = $value;
6591
        $this->options['form_params']['ApiProduct'] = $value;
6592
6593
        return $this;
6594
    }
6595
6596
    /**
6597
     * @param string $value
6598
     *
6599
     * @return $this
6600
     */
6601
    public function withApiRevision($value)
6602
    {
6603
        $this->data['ApiRevision'] = $value;
6604
        $this->options['form_params']['ApiRevision'] = $value;
6605
6606
        return $this;
6607
    }
6608
}
6609
6610
/**
6611
 * @method string getIotInstanceId()
6612
 * @method $this withIotInstanceId($value)
6613
 * @method string getProductKey()
6614
 * @method $this withProductKey($value)
6615
 * @method string getApiProduct()
6616
 * @method string getApiRevision()
6617
 * @method string getDeviceName()
6618
 * @method $this withDeviceName($value)
6619
 */
6620
class QueryDeviceGroupByDevice extends Rpc
6621
{
6622
6623
    /**
6624
     * @param string $value
6625
     *
6626
     * @return $this
6627
     */
6628
    public function withApiProduct($value)
6629
    {
6630
        $this->data['ApiProduct'] = $value;
6631
        $this->options['form_params']['ApiProduct'] = $value;
6632
6633
        return $this;
6634
    }
6635
6636
    /**
6637
     * @param string $value
6638
     *
6639
     * @return $this
6640
     */
6641
    public function withApiRevision($value)
6642
    {
6643
        $this->data['ApiRevision'] = $value;
6644
        $this->options['form_params']['ApiRevision'] = $value;
6645
6646
        return $this;
6647
    }
6648
}
6649
6650
/**
6651
 * @method string getIotInstanceId()
6652
 * @method $this withIotInstanceId($value)
6653
 * @method string getPageSize()
6654
 * @method $this withPageSize($value)
6655
 * @method array getTag()
6656
 * @method string getCurrentPage()
6657
 * @method $this withCurrentPage($value)
6658
 * @method string getApiProduct()
6659
 * @method string getApiRevision()
6660
 */
6661
class QueryDeviceGroupByTags extends Rpc
6662
{
6663
6664
    /**
6665
     * @param array $tag
6666
     *
6667
     * @return $this
6668
     */
6669
	public function withTag(array $tag)
6670
	{
6671
	    $this->data['Tag'] = $tag;
6672
		foreach ($tag as $depth1 => $depth1Value) {
6673
			if(isset($depth1Value['TagValue'])){
6674
				$this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
6675
			}
6676
			if(isset($depth1Value['TagKey'])){
6677
				$this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
6678
			}
6679
		}
6680
6681
		return $this;
6682
    }
6683
6684
    /**
6685
     * @param string $value
6686
     *
6687
     * @return $this
6688
     */
6689
    public function withApiProduct($value)
6690
    {
6691
        $this->data['ApiProduct'] = $value;
6692
        $this->options['form_params']['ApiProduct'] = $value;
6693
6694
        return $this;
6695
    }
6696
6697
    /**
6698
     * @param string $value
6699
     *
6700
     * @return $this
6701
     */
6702
    public function withApiRevision($value)
6703
    {
6704
        $this->data['ApiRevision'] = $value;
6705
        $this->options['form_params']['ApiRevision'] = $value;
6706
6707
        return $this;
6708
    }
6709
}
6710
6711
/**
6712
 * @method string getIotInstanceId()
6713
 * @method $this withIotInstanceId($value)
6714
 * @method string getGroupId()
6715
 * @method $this withGroupId($value)
6716
 * @method string getApiProduct()
6717
 * @method string getApiRevision()
6718
 */
6719
class QueryDeviceGroupInfo extends Rpc
6720
{
6721
6722
    /**
6723
     * @param string $value
6724
     *
6725
     * @return $this
6726
     */
6727
    public function withApiProduct($value)
6728
    {
6729
        $this->data['ApiProduct'] = $value;
6730
        $this->options['form_params']['ApiProduct'] = $value;
6731
6732
        return $this;
6733
    }
6734
6735
    /**
6736
     * @param string $value
6737
     *
6738
     * @return $this
6739
     */
6740
    public function withApiRevision($value)
6741
    {
6742
        $this->data['ApiRevision'] = $value;
6743
        $this->options['form_params']['ApiRevision'] = $value;
6744
6745
        return $this;
6746
    }
6747
}
6748
6749
/**
6750
 * @method string getSuperGroupId()
6751
 * @method $this withSuperGroupId($value)
6752
 * @method string getIotInstanceId()
6753
 * @method $this withIotInstanceId($value)
6754
 * @method string getPageSize()
6755
 * @method $this withPageSize($value)
6756
 * @method string getCurrentPage()
6757
 * @method $this withCurrentPage($value)
6758
 * @method string getGroupName()
6759
 * @method $this withGroupName($value)
6760
 * @method string getApiProduct()
6761
 * @method string getApiRevision()
6762
 */
6763
class QueryDeviceGroupList extends Rpc
6764
{
6765
6766
    /**
6767
     * @param string $value
6768
     *
6769
     * @return $this
6770
     */
6771
    public function withApiProduct($value)
6772
    {
6773
        $this->data['ApiProduct'] = $value;
6774
        $this->options['form_params']['ApiProduct'] = $value;
6775
6776
        return $this;
6777
    }
6778
6779
    /**
6780
     * @param string $value
6781
     *
6782
     * @return $this
6783
     */
6784
    public function withApiRevision($value)
6785
    {
6786
        $this->data['ApiRevision'] = $value;
6787
        $this->options['form_params']['ApiRevision'] = $value;
6788
6789
        return $this;
6790
    }
6791
}
6792
6793
/**
6794
 * @method string getIotInstanceId()
6795
 * @method $this withIotInstanceId($value)
6796
 * @method string getGroupId()
6797
 * @method $this withGroupId($value)
6798
 * @method string getApiProduct()
6799
 * @method string getApiRevision()
6800
 */
6801
class QueryDeviceGroupTagList extends Rpc
6802
{
6803
6804
    /**
6805
     * @param string $value
6806
     *
6807
     * @return $this
6808
     */
6809
    public function withApiProduct($value)
6810
    {
6811
        $this->data['ApiProduct'] = $value;
6812
        $this->options['form_params']['ApiProduct'] = $value;
6813
6814
        return $this;
6815
    }
6816
6817
    /**
6818
     * @param string $value
6819
     *
6820
     * @return $this
6821
     */
6822
    public function withApiRevision($value)
6823
    {
6824
        $this->data['ApiRevision'] = $value;
6825
        $this->options['form_params']['ApiRevision'] = $value;
6826
6827
        return $this;
6828
    }
6829
}
6830
6831
/**
6832
 * @method string getIotInstanceId()
6833
 * @method $this withIotInstanceId($value)
6834
 * @method string getPageSize()
6835
 * @method $this withPageSize($value)
6836
 * @method string getGroupId()
6837
 * @method $this withGroupId($value)
6838
 * @method string getCurrentPage()
6839
 * @method $this withCurrentPage($value)
6840
 * @method string getApiProduct()
6841
 * @method string getApiRevision()
6842
 */
6843
class QueryDeviceListByDeviceGroup extends Rpc
6844
{
6845
6846
    /**
6847
     * @param string $value
6848
     *
6849
     * @return $this
6850
     */
6851
    public function withApiProduct($value)
6852
    {
6853
        $this->data['ApiProduct'] = $value;
6854
        $this->options['form_params']['ApiProduct'] = $value;
6855
6856
        return $this;
6857
    }
6858
6859
    /**
6860
     * @param string $value
6861
     *
6862
     * @return $this
6863
     */
6864
    public function withApiRevision($value)
6865
    {
6866
        $this->data['ApiRevision'] = $value;
6867
        $this->options['form_params']['ApiRevision'] = $value;
6868
6869
        return $this;
6870
    }
6871
}
6872
6873
/**
6874
 * @method string getIotId()
6875
 * @method $this withIotId($value)
6876
 * @method string getIotInstanceId()
6877
 * @method $this withIotInstanceId($value)
6878
 * @method string getProductKey()
6879
 * @method $this withProductKey($value)
6880
 * @method string getApiProduct()
6881
 * @method string getApiRevision()
6882
 * @method string getDeviceName()
6883
 * @method $this withDeviceName($value)
6884
 */
6885
class QueryDeviceProp extends Rpc
6886
{
6887
6888
    /**
6889
     * @param string $value
6890
     *
6891
     * @return $this
6892
     */
6893
    public function withApiProduct($value)
6894
    {
6895
        $this->data['ApiProduct'] = $value;
6896
        $this->options['form_params']['ApiProduct'] = $value;
6897
6898
        return $this;
6899
    }
6900
6901
    /**
6902
     * @param string $value
6903
     *
6904
     * @return $this
6905
     */
6906
    public function withApiRevision($value)
6907
    {
6908
        $this->data['ApiRevision'] = $value;
6909
        $this->options['form_params']['ApiRevision'] = $value;
6910
6911
        return $this;
6912
    }
6913
}
6914
6915
/**
6916
 * @method string getStartTime()
6917
 * @method $this withStartTime($value)
6918
 * @method string getIotId()
6919
 * @method $this withIotId($value)
6920
 * @method string getIotInstanceId()
6921
 * @method $this withIotInstanceId($value)
6922
 * @method string getPageSize()
6923
 * @method $this withPageSize($value)
6924
 * @method array getIdentifier()
6925
 * @method string getEndTime()
6926
 * @method $this withEndTime($value)
6927
 * @method string getProductKey()
6928
 * @method $this withProductKey($value)
6929
 * @method string getAsc()
6930
 * @method $this withAsc($value)
6931
 * @method string getApiProduct()
6932
 * @method string getApiRevision()
6933
 * @method string getDeviceName()
6934
 * @method $this withDeviceName($value)
6935
 */
6936
class QueryDevicePropertiesData extends Rpc
6937
{
6938
6939
    /**
6940
     * @param array $identifier
6941
     *
6942
     * @return $this
6943
     */
6944
	public function withIdentifier(array $identifier)
6945
	{
6946
	    $this->data['Identifier'] = $identifier;
6947
		foreach ($identifier as $i => $iValue) {
6948
			$this->options['query']['Identifier.' . ($i + 1)] = $iValue;
6949
		}
6950
6951
		return $this;
6952
    }
6953
6954
    /**
6955
     * @param string $value
6956
     *
6957
     * @return $this
6958
     */
6959
    public function withApiProduct($value)
6960
    {
6961
        $this->data['ApiProduct'] = $value;
6962
        $this->options['form_params']['ApiProduct'] = $value;
6963
6964
        return $this;
6965
    }
6966
6967
    /**
6968
     * @param string $value
6969
     *
6970
     * @return $this
6971
     */
6972
    public function withApiRevision($value)
6973
    {
6974
        $this->data['ApiRevision'] = $value;
6975
        $this->options['form_params']['ApiRevision'] = $value;
6976
6977
        return $this;
6978
    }
6979
}
6980
6981
/**
6982
 * @method string getStartTime()
6983
 * @method $this withStartTime($value)
6984
 * @method string getIotId()
6985
 * @method $this withIotId($value)
6986
 * @method string getIotInstanceId()
6987
 * @method $this withIotInstanceId($value)
6988
 * @method string getPageSize()
6989
 * @method $this withPageSize($value)
6990
 * @method string getIdentifier()
6991
 * @method $this withIdentifier($value)
6992
 * @method string getEndTime()
6993
 * @method $this withEndTime($value)
6994
 * @method string getProductKey()
6995
 * @method $this withProductKey($value)
6996
 * @method string getAsc()
6997
 * @method $this withAsc($value)
6998
 * @method string getApiProduct()
6999
 * @method string getApiRevision()
7000
 * @method string getDeviceName()
7001
 * @method $this withDeviceName($value)
7002
 */
7003
class QueryDevicePropertyData extends Rpc
7004
{
7005
7006
    /**
7007
     * @param string $value
7008
     *
7009
     * @return $this
7010
     */
7011
    public function withApiProduct($value)
7012
    {
7013
        $this->data['ApiProduct'] = $value;
7014
        $this->options['form_params']['ApiProduct'] = $value;
7015
7016
        return $this;
7017
    }
7018
7019
    /**
7020
     * @param string $value
7021
     *
7022
     * @return $this
7023
     */
7024
    public function withApiRevision($value)
7025
    {
7026
        $this->data['ApiRevision'] = $value;
7027
        $this->options['form_params']['ApiRevision'] = $value;
7028
7029
        return $this;
7030
    }
7031
}
7032
7033
/**
7034
 * @method string getIotId()
7035
 * @method $this withIotId($value)
7036
 * @method string getIotInstanceId()
7037
 * @method $this withIotInstanceId($value)
7038
 * @method string getProductKey()
7039
 * @method $this withProductKey($value)
7040
 * @method string getApiProduct()
7041
 * @method string getApiRevision()
7042
 * @method string getDeviceName()
7043
 * @method $this withDeviceName($value)
7044
 */
7045
class QueryDevicePropertyStatus extends Rpc
7046
{
7047
7048
    /**
7049
     * @param string $value
7050
     *
7051
     * @return $this
7052
     */
7053
    public function withApiProduct($value)
7054
    {
7055
        $this->data['ApiProduct'] = $value;
7056
        $this->options['form_params']['ApiProduct'] = $value;
7057
7058
        return $this;
7059
    }
7060
7061
    /**
7062
     * @param string $value
7063
     *
7064
     * @return $this
7065
     */
7066
    public function withApiRevision($value)
7067
    {
7068
        $this->data['ApiRevision'] = $value;
7069
        $this->options['form_params']['ApiRevision'] = $value;
7070
7071
        return $this;
7072
    }
7073
}
7074
7075
/**
7076
 * @method string getStartTime()
7077
 * @method $this withStartTime($value)
7078
 * @method string getIotId()
7079
 * @method $this withIotId($value)
7080
 * @method string getIotInstanceId()
7081
 * @method $this withIotInstanceId($value)
7082
 * @method string getPageSize()
7083
 * @method $this withPageSize($value)
7084
 * @method string getIdentifier()
7085
 * @method $this withIdentifier($value)
7086
 * @method string getEndTime()
7087
 * @method $this withEndTime($value)
7088
 * @method string getProductKey()
7089
 * @method $this withProductKey($value)
7090
 * @method string getAsc()
7091
 * @method $this withAsc($value)
7092
 * @method string getApiProduct()
7093
 * @method string getApiRevision()
7094
 * @method string getDeviceName()
7095
 * @method $this withDeviceName($value)
7096
 */
7097
class QueryDeviceServiceData extends Rpc
7098
{
7099
7100
    /**
7101
     * @param string $value
7102
     *
7103
     * @return $this
7104
     */
7105
    public function withApiProduct($value)
7106
    {
7107
        $this->data['ApiProduct'] = $value;
7108
        $this->options['form_params']['ApiProduct'] = $value;
7109
7110
        return $this;
7111
    }
7112
7113
    /**
7114
     * @param string $value
7115
     *
7116
     * @return $this
7117
     */
7118
    public function withApiRevision($value)
7119
    {
7120
        $this->data['ApiRevision'] = $value;
7121
        $this->options['form_params']['ApiRevision'] = $value;
7122
7123
        return $this;
7124
    }
7125
}
7126
7127
/**
7128
 * @method string getIotInstanceId()
7129
 * @method $this withIotInstanceId($value)
7130
 * @method string getProductKey()
7131
 * @method $this withProductKey($value)
7132
 * @method string getApiProduct()
7133
 * @method string getApiRevision()
7134
 */
7135
class QueryDeviceStatistics extends Rpc
7136
{
7137
7138
    /**
7139
     * @param string $value
7140
     *
7141
     * @return $this
7142
     */
7143
    public function withApiProduct($value)
7144
    {
7145
        $this->data['ApiProduct'] = $value;
7146
        $this->options['form_params']['ApiProduct'] = $value;
7147
7148
        return $this;
7149
    }
7150
7151
    /**
7152
     * @param string $value
7153
     *
7154
     * @return $this
7155
     */
7156
    public function withApiRevision($value)
7157
    {
7158
        $this->data['ApiRevision'] = $value;
7159
        $this->options['form_params']['ApiRevision'] = $value;
7160
7161
        return $this;
7162
    }
7163
}
7164
7165
/**
7166
 * @method string getDriverName()
7167
 * @method $this withDriverName($value)
7168
 * @method string getType()
7169
 * @method $this withType($value)
7170
 * @method string getIotInstanceId()
7171
 * @method $this withIotInstanceId($value)
7172
 * @method string getPageSize()
7173
 * @method $this withPageSize($value)
7174
 * @method string getCurrentPage()
7175
 * @method $this withCurrentPage($value)
7176
 * @method string getApiProduct()
7177
 * @method string getApiRevision()
7178
 */
7179
class QueryEdgeDriver extends Rpc
7180
{
7181
7182
    /**
7183
     * @param string $value
7184
     *
7185
     * @return $this
7186
     */
7187
    public function withApiProduct($value)
7188
    {
7189
        $this->data['ApiProduct'] = $value;
7190
        $this->options['form_params']['ApiProduct'] = $value;
7191
7192
        return $this;
7193
    }
7194
7195
    /**
7196
     * @param string $value
7197
     *
7198
     * @return $this
7199
     */
7200
    public function withApiRevision($value)
7201
    {
7202
        $this->data['ApiRevision'] = $value;
7203
        $this->options['form_params']['ApiRevision'] = $value;
7204
7205
        return $this;
7206
    }
7207
}
7208
7209
/**
7210
 * @method string getVersionState()
7211
 * @method $this withVersionState($value)
7212
 * @method string getDriverId()
7213
 * @method $this withDriverId($value)
7214
 * @method string getIotInstanceId()
7215
 * @method $this withIotInstanceId($value)
7216
 * @method string getPageSize()
7217
 * @method $this withPageSize($value)
7218
 * @method string getDriverVersion()
7219
 * @method $this withDriverVersion($value)
7220
 * @method string getCurrentPage()
7221
 * @method $this withCurrentPage($value)
7222
 * @method string getApiProduct()
7223
 * @method string getApiRevision()
7224
 */
7225
class QueryEdgeDriverVersion extends Rpc
7226
{
7227
7228
    /**
7229
     * @param string $value
7230
     *
7231
     * @return $this
7232
     */
7233
    public function withApiProduct($value)
7234
    {
7235
        $this->data['ApiProduct'] = $value;
7236
        $this->options['form_params']['ApiProduct'] = $value;
7237
7238
        return $this;
7239
    }
7240
7241
    /**
7242
     * @param string $value
7243
     *
7244
     * @return $this
7245
     */
7246
    public function withApiRevision($value)
7247
    {
7248
        $this->data['ApiRevision'] = $value;
7249
        $this->options['form_params']['ApiRevision'] = $value;
7250
7251
        return $this;
7252
    }
7253
}
7254
7255
/**
7256
 * @method string getIotInstanceId()
7257
 * @method $this withIotInstanceId($value)
7258
 * @method string getPageSize()
7259
 * @method $this withPageSize($value)
7260
 * @method string getCurrentPage()
7261
 * @method $this withCurrentPage($value)
7262
 * @method string getApiProduct()
7263
 * @method string getName()
7264
 * @method $this withName($value)
7265
 * @method string getApiRevision()
7266
 */
7267
class QueryEdgeInstance extends Rpc
7268
{
7269
7270
    /**
7271
     * @param string $value
7272
     *
7273
     * @return $this
7274
     */
7275
    public function withApiProduct($value)
7276
    {
7277
        $this->data['ApiProduct'] = $value;
7278
        $this->options['form_params']['ApiProduct'] = $value;
7279
7280
        return $this;
7281
    }
7282
7283
    /**
7284
     * @param string $value
7285
     *
7286
     * @return $this
7287
     */
7288
    public function withApiRevision($value)
7289
    {
7290
        $this->data['ApiRevision'] = $value;
7291
        $this->options['form_params']['ApiRevision'] = $value;
7292
7293
        return $this;
7294
    }
7295
}
7296
7297
/**
7298
 * @method string getDriverId()
7299
 * @method $this withDriverId($value)
7300
 * @method string getIotInstanceId()
7301
 * @method $this withIotInstanceId($value)
7302
 * @method string getPageSize()
7303
 * @method $this withPageSize($value)
7304
 * @method string getCurrentPage()
7305
 * @method $this withCurrentPage($value)
7306
 * @method string getChannelName()
7307
 * @method $this withChannelName($value)
7308
 * @method string getInstanceId()
7309
 * @method $this withInstanceId($value)
7310
 * @method string getApiProduct()
7311
 * @method string getApiRevision()
7312
 */
7313
class QueryEdgeInstanceChannel extends Rpc
7314
{
7315
7316
    /**
7317
     * @param string $value
7318
     *
7319
     * @return $this
7320
     */
7321
    public function withApiProduct($value)
7322
    {
7323
        $this->data['ApiProduct'] = $value;
7324
        $this->options['form_params']['ApiProduct'] = $value;
7325
7326
        return $this;
7327
    }
7328
7329
    /**
7330
     * @param string $value
7331
     *
7332
     * @return $this
7333
     */
7334
    public function withApiRevision($value)
7335
    {
7336
        $this->data['ApiRevision'] = $value;
7337
        $this->options['form_params']['ApiRevision'] = $value;
7338
7339
        return $this;
7340
    }
7341
}
7342
7343
/**
7344
 * @method string getIotInstanceId()
7345
 * @method $this withIotInstanceId($value)
7346
 * @method string getPageSize()
7347
 * @method $this withPageSize($value)
7348
 * @method string getCurrentPage()
7349
 * @method $this withCurrentPage($value)
7350
 * @method string getInstanceId()
7351
 * @method $this withInstanceId($value)
7352
 * @method string getApiProduct()
7353
 * @method string getApiRevision()
7354
 */
7355
class QueryEdgeInstanceDevice extends Rpc
7356
{
7357
7358
    /**
7359
     * @param string $value
7360
     *
7361
     * @return $this
7362
     */
7363
    public function withApiProduct($value)
7364
    {
7365
        $this->data['ApiProduct'] = $value;
7366
        $this->options['form_params']['ApiProduct'] = $value;
7367
7368
        return $this;
7369
    }
7370
7371
    /**
7372
     * @param string $value
7373
     *
7374
     * @return $this
7375
     */
7376
    public function withApiRevision($value)
7377
    {
7378
        $this->data['ApiRevision'] = $value;
7379
        $this->options['form_params']['ApiRevision'] = $value;
7380
7381
        return $this;
7382
    }
7383
}
7384
7385
/**
7386
 * @method string getDriverId()
7387
 * @method $this withDriverId($value)
7388
 * @method string getIotInstanceId()
7389
 * @method $this withIotInstanceId($value)
7390
 * @method string getPageSize()
7391
 * @method $this withPageSize($value)
7392
 * @method string getCurrentPage()
7393
 * @method $this withCurrentPage($value)
7394
 * @method string getInstanceId()
7395
 * @method $this withInstanceId($value)
7396
 * @method string getApiProduct()
7397
 * @method string getApiRevision()
7398
 * @method string getChannelId()
7399
 * @method $this withChannelId($value)
7400
 */
7401
class QueryEdgeInstanceDeviceByDriver extends Rpc
7402
{
7403
7404
    /**
7405
     * @param string $value
7406
     *
7407
     * @return $this
7408
     */
7409
    public function withApiProduct($value)
7410
    {
7411
        $this->data['ApiProduct'] = $value;
7412
        $this->options['form_params']['ApiProduct'] = $value;
7413
7414
        return $this;
7415
    }
7416
7417
    /**
7418
     * @param string $value
7419
     *
7420
     * @return $this
7421
     */
7422
    public function withApiRevision($value)
7423
    {
7424
        $this->data['ApiRevision'] = $value;
7425
        $this->options['form_params']['ApiRevision'] = $value;
7426
7427
        return $this;
7428
    }
7429
}
7430
7431
/**
7432
 * @method string getIotInstanceId()
7433
 * @method $this withIotInstanceId($value)
7434
 * @method string getPageSize()
7435
 * @method $this withPageSize($value)
7436
 * @method string getCurrentPage()
7437
 * @method $this withCurrentPage($value)
7438
 * @method string getInstanceId()
7439
 * @method $this withInstanceId($value)
7440
 * @method string getApiProduct()
7441
 * @method string getApiRevision()
7442
 */
7443
class QueryEdgeInstanceDriver extends Rpc
7444
{
7445
7446
    /**
7447
     * @param string $value
7448
     *
7449
     * @return $this
7450
     */
7451
    public function withApiProduct($value)
7452
    {
7453
        $this->data['ApiProduct'] = $value;
7454
        $this->options['form_params']['ApiProduct'] = $value;
7455
7456
        return $this;
7457
    }
7458
7459
    /**
7460
     * @param string $value
7461
     *
7462
     * @return $this
7463
     */
7464
    public function withApiRevision($value)
7465
    {
7466
        $this->data['ApiRevision'] = $value;
7467
        $this->options['form_params']['ApiRevision'] = $value;
7468
7469
        return $this;
7470
    }
7471
}
7472
7473
/**
7474
 * @method string getIotInstanceId()
7475
 * @method $this withIotInstanceId($value)
7476
 * @method string getInstanceId()
7477
 * @method $this withInstanceId($value)
7478
 * @method string getApiProduct()
7479
 * @method string getApiRevision()
7480
 */
7481
class QueryEdgeInstanceGateway extends Rpc
7482
{
7483
7484
    /**
7485
     * @param string $value
7486
     *
7487
     * @return $this
7488
     */
7489
    public function withApiProduct($value)
7490
    {
7491
        $this->data['ApiProduct'] = $value;
7492
        $this->options['form_params']['ApiProduct'] = $value;
7493
7494
        return $this;
7495
    }
7496
7497
    /**
7498
     * @param string $value
7499
     *
7500
     * @return $this
7501
     */
7502
    public function withApiRevision($value)
7503
    {
7504
        $this->data['ApiRevision'] = $value;
7505
        $this->options['form_params']['ApiRevision'] = $value;
7506
7507
        return $this;
7508
    }
7509
}
7510
7511
/**
7512
 * @method string getStartTime()
7513
 * @method $this withStartTime($value)
7514
 * @method string getIotInstanceId()
7515
 * @method $this withIotInstanceId($value)
7516
 * @method string getPageSize()
7517
 * @method $this withPageSize($value)
7518
 * @method string getEndTime()
7519
 * @method $this withEndTime($value)
7520
 * @method string getCurrentPage()
7521
 * @method $this withCurrentPage($value)
7522
 * @method string getInstanceId()
7523
 * @method $this withInstanceId($value)
7524
 * @method string getApiProduct()
7525
 * @method string getApiRevision()
7526
 */
7527
class QueryEdgeInstanceHistoricDeployment extends Rpc
7528
{
7529
7530
    /**
7531
     * @param string $value
7532
     *
7533
     * @return $this
7534
     */
7535
    public function withApiProduct($value)
7536
    {
7537
        $this->data['ApiProduct'] = $value;
7538
        $this->options['form_params']['ApiProduct'] = $value;
7539
7540
        return $this;
7541
    }
7542
7543
    /**
7544
     * @param string $value
7545
     *
7546
     * @return $this
7547
     */
7548
    public function withApiRevision($value)
7549
    {
7550
        $this->data['ApiRevision'] = $value;
7551
        $this->options['form_params']['ApiRevision'] = $value;
7552
7553
        return $this;
7554
    }
7555
}
7556
7557
/**
7558
 * @method string getIotInstanceId()
7559
 * @method $this withIotInstanceId($value)
7560
 * @method string getPageSize()
7561
 * @method $this withPageSize($value)
7562
 * @method string getCurrentPage()
7563
 * @method $this withCurrentPage($value)
7564
 * @method string getInstanceId()
7565
 * @method $this withInstanceId($value)
7566
 * @method string getApiProduct()
7567
 * @method string getApiRevision()
7568
 */
7569
class QueryEdgeInstanceSceneRule extends Rpc
7570
{
7571
7572
    /**
7573
     * @param string $value
7574
     *
7575
     * @return $this
7576
     */
7577
    public function withApiProduct($value)
7578
    {
7579
        $this->data['ApiProduct'] = $value;
7580
        $this->options['form_params']['ApiProduct'] = $value;
7581
7582
        return $this;
7583
    }
7584
7585
    /**
7586
     * @param string $value
7587
     *
7588
     * @return $this
7589
     */
7590
    public function withApiRevision($value)
7591
    {
7592
        $this->data['ApiRevision'] = $value;
7593
        $this->options['form_params']['ApiRevision'] = $value;
7594
7595
        return $this;
7596
    }
7597
}
7598
7599
/**
7600
 * @method string getIotInstanceId()
7601
 * @method $this withIotInstanceId($value)
7602
 * @method string getApiProduct()
7603
 * @method string getApiRevision()
7604
 */
7605
class QueryLoRaJoinPermissions extends Rpc
7606
{
7607
7608
    /**
7609
     * @param string $value
7610
     *
7611
     * @return $this
7612
     */
7613
    public function withApiProduct($value)
7614
    {
7615
        $this->data['ApiProduct'] = $value;
7616
        $this->options['form_params']['ApiProduct'] = $value;
7617
7618
        return $this;
7619
    }
7620
7621
    /**
7622
     * @param string $value
7623
     *
7624
     * @return $this
7625
     */
7626
    public function withApiRevision($value)
7627
    {
7628
        $this->data['ApiRevision'] = $value;
7629
        $this->options['form_params']['ApiRevision'] = $value;
7630
7631
        return $this;
7632
    }
7633
}
7634
7635
/**
7636
 * @method string getIotInstanceId()
7637
 * @method $this withIotInstanceId($value)
7638
 * @method string getFirmwareId()
7639
 * @method $this withFirmwareId($value)
7640
 * @method string getApiProduct()
7641
 * @method string getApiRevision()
7642
 */
7643
class QueryOTAFirmware extends Rpc
7644
{
7645
7646
    /**
7647
     * @param string $value
7648
     *
7649
     * @return $this
7650
     */
7651
    public function withApiProduct($value)
7652
    {
7653
        $this->data['ApiProduct'] = $value;
7654
        $this->options['form_params']['ApiProduct'] = $value;
7655
7656
        return $this;
7657
    }
7658
7659
    /**
7660
     * @param string $value
7661
     *
7662
     * @return $this
7663
     */
7664
    public function withApiRevision($value)
7665
    {
7666
        $this->data['ApiRevision'] = $value;
7667
        $this->options['form_params']['ApiRevision'] = $value;
7668
7669
        return $this;
7670
    }
7671
}
7672
7673
/**
7674
 * @method string getJobId()
7675
 * @method $this withJobId($value)
7676
 * @method string getIotInstanceId()
7677
 * @method $this withIotInstanceId($value)
7678
 * @method string getApiProduct()
7679
 * @method string getApiRevision()
7680
 */
7681
class QueryOTAJob extends Rpc
7682
{
7683
7684
    /**
7685
     * @param string $value
7686
     *
7687
     * @return $this
7688
     */
7689
    public function withApiProduct($value)
7690
    {
7691
        $this->data['ApiProduct'] = $value;
7692
        $this->options['form_params']['ApiProduct'] = $value;
7693
7694
        return $this;
7695
    }
7696
7697
    /**
7698
     * @param string $value
7699
     *
7700
     * @return $this
7701
     */
7702
    public function withApiRevision($value)
7703
    {
7704
        $this->data['ApiRevision'] = $value;
7705
        $this->options['form_params']['ApiRevision'] = $value;
7706
7707
        return $this;
7708
    }
7709
}
7710
7711
/**
7712
 * @method string getIotInstanceId()
7713
 * @method $this withIotInstanceId($value)
7714
 * @method string getPageSize()
7715
 * @method $this withPageSize($value)
7716
 * @method string getCurrentPage()
7717
 * @method $this withCurrentPage($value)
7718
 * @method string getApplyId()
7719
 * @method $this withApplyId($value)
7720
 * @method string getApiProduct()
7721
 * @method string getApiRevision()
7722
 */
7723
class QueryPageByApplyId extends Rpc
7724
{
7725
7726
    /**
7727
     * @param string $value
7728
     *
7729
     * @return $this
7730
     */
7731
    public function withApiProduct($value)
7732
    {
7733
        $this->data['ApiProduct'] = $value;
7734
        $this->options['form_params']['ApiProduct'] = $value;
7735
7736
        return $this;
7737
    }
7738
7739
    /**
7740
     * @param string $value
7741
     *
7742
     * @return $this
7743
     */
7744
    public function withApiRevision($value)
7745
    {
7746
        $this->data['ApiRevision'] = $value;
7747
        $this->options['form_params']['ApiRevision'] = $value;
7748
7749
        return $this;
7750
    }
7751
}
7752
7753
/**
7754
 * @method string getIotInstanceId()
7755
 * @method $this withIotInstanceId($value)
7756
 * @method string getProductKey()
7757
 * @method $this withProductKey($value)
7758
 * @method string getApiProduct()
7759
 * @method string getApiRevision()
7760
 */
7761
class QueryProduct extends Rpc
7762
{
7763
7764
    /**
7765
     * @param string $value
7766
     *
7767
     * @return $this
7768
     */
7769
    public function withApiProduct($value)
7770
    {
7771
        $this->data['ApiProduct'] = $value;
7772
        $this->options['form_params']['ApiProduct'] = $value;
7773
7774
        return $this;
7775
    }
7776
7777
    /**
7778
     * @param string $value
7779
     *
7780
     * @return $this
7781
     */
7782
    public function withApiRevision($value)
7783
    {
7784
        $this->data['ApiRevision'] = $value;
7785
        $this->options['form_params']['ApiRevision'] = $value;
7786
7787
        return $this;
7788
    }
7789
}
7790
7791
/**
7792
 * @method string getIotInstanceId()
7793
 * @method $this withIotInstanceId($value)
7794
 * @method string getProductKey()
7795
 * @method $this withProductKey($value)
7796
 * @method string getApiProduct()
7797
 * @method string getApiRevision()
7798
 */
7799
class QueryProductCertInfo extends Rpc
7800
{
7801
7802
    /**
7803
     * @param string $value
7804
     *
7805
     * @return $this
7806
     */
7807
    public function withApiProduct($value)
7808
    {
7809
        $this->data['ApiProduct'] = $value;
7810
        $this->options['form_params']['ApiProduct'] = $value;
7811
7812
        return $this;
7813
    }
7814
7815
    /**
7816
     * @param string $value
7817
     *
7818
     * @return $this
7819
     */
7820
    public function withApiRevision($value)
7821
    {
7822
        $this->data['ApiRevision'] = $value;
7823
        $this->options['form_params']['ApiRevision'] = $value;
7824
7825
        return $this;
7826
    }
7827
}
7828
7829
/**
7830
 * @method string getResourceGroupId()
7831
 * @method $this withResourceGroupId($value)
7832
 * @method string getIotInstanceId()
7833
 * @method $this withIotInstanceId($value)
7834
 * @method string getPageSize()
7835
 * @method $this withPageSize($value)
7836
 * @method string getAliyunCommodityCode()
7837
 * @method $this withAliyunCommodityCode($value)
7838
 * @method string getCurrentPage()
7839
 * @method $this withCurrentPage($value)
7840
 * @method string getApiProduct()
7841
 * @method string getApiRevision()
7842
 */
7843
class QueryProductList extends Rpc
7844
{
7845
7846
    /**
7847
     * @param string $value
7848
     *
7849
     * @return $this
7850
     */
7851
    public function withApiProduct($value)
7852
    {
7853
        $this->data['ApiProduct'] = $value;
7854
        $this->options['form_params']['ApiProduct'] = $value;
7855
7856
        return $this;
7857
    }
7858
7859
    /**
7860
     * @param string $value
7861
     *
7862
     * @return $this
7863
     */
7864
    public function withApiRevision($value)
7865
    {
7866
        $this->data['ApiRevision'] = $value;
7867
        $this->options['form_params']['ApiRevision'] = $value;
7868
7869
        return $this;
7870
    }
7871
}
7872
7873
/**
7874
 * @method string getIotInstanceId()
7875
 * @method $this withIotInstanceId($value)
7876
 * @method string getProductKey()
7877
 * @method $this withProductKey($value)
7878
 * @method string getApiProduct()
7879
 * @method string getApiRevision()
7880
 */
7881
class QueryProductTopic extends Rpc
7882
{
7883
7884
    /**
7885
     * @param string $value
7886
     *
7887
     * @return $this
7888
     */
7889
    public function withApiProduct($value)
7890
    {
7891
        $this->data['ApiProduct'] = $value;
7892
        $this->options['form_params']['ApiProduct'] = $value;
7893
7894
        return $this;
7895
    }
7896
7897
    /**
7898
     * @param string $value
7899
     *
7900
     * @return $this
7901
     */
7902
    public function withApiRevision($value)
7903
    {
7904
        $this->data['ApiRevision'] = $value;
7905
        $this->options['form_params']['ApiRevision'] = $value;
7906
7907
        return $this;
7908
    }
7909
}
7910
7911
/**
7912
 * @method string getRuleName()
7913
 * @method $this withRuleName($value)
7914
 * @method string getIotInstanceId()
7915
 * @method $this withIotInstanceId($value)
7916
 * @method string getPageSize()
7917
 * @method $this withPageSize($value)
7918
 * @method string getCurrentPage()
7919
 * @method $this withCurrentPage($value)
7920
 * @method string getApiProduct()
7921
 * @method string getApiRevision()
7922
 */
7923
class QuerySceneRule extends Rpc
7924
{
7925
7926
    /**
7927
     * @param string $value
7928
     *
7929
     * @return $this
7930
     */
7931
    public function withApiProduct($value)
7932
    {
7933
        $this->data['ApiProduct'] = $value;
7934
        $this->options['form_params']['ApiProduct'] = $value;
7935
7936
        return $this;
7937
    }
7938
7939
    /**
7940
     * @param string $value
7941
     *
7942
     * @return $this
7943
     */
7944
    public function withApiRevision($value)
7945
    {
7946
        $this->data['ApiRevision'] = $value;
7947
        $this->options['form_params']['ApiRevision'] = $value;
7948
7949
        return $this;
7950
    }
7951
}
7952
7953
/**
7954
 * @method string getType()
7955
 * @method $this withType($value)
7956
 * @method string getIotInstanceId()
7957
 * @method $this withIotInstanceId($value)
7958
 * @method string getProductKey()
7959
 * @method $this withProductKey($value)
7960
 * @method string getApiProduct()
7961
 * @method string getApiRevision()
7962
 */
7963
class QuerySubscribeRelation extends Rpc
7964
{
7965
7966
    /**
7967
     * @param string $value
7968
     *
7969
     * @return $this
7970
     */
7971
    public function withApiProduct($value)
7972
    {
7973
        $this->data['ApiProduct'] = $value;
7974
        $this->options['form_params']['ApiProduct'] = $value;
7975
7976
        return $this;
7977
    }
7978
7979
    /**
7980
     * @param string $value
7981
     *
7982
     * @return $this
7983
     */
7984
    public function withApiRevision($value)
7985
    {
7986
        $this->data['ApiRevision'] = $value;
7987
        $this->options['form_params']['ApiRevision'] = $value;
7988
7989
        return $this;
7990
    }
7991
}
7992
7993
/**
7994
 * @method string getStartTime()
7995
 * @method $this withStartTime($value)
7996
 * @method string getIotInstanceId()
7997
 * @method $this withIotInstanceId($value)
7998
 * @method string getPageSize()
7999
 * @method $this withPageSize($value)
8000
 * @method string getEndTime()
8001
 * @method $this withEndTime($value)
8002
 * @method string getCurrentPage()
8003
 * @method $this withCurrentPage($value)
8004
 * @method string getApiProduct()
8005
 * @method string getApiRevision()
8006
 * @method string getRuleId()
8007
 * @method $this withRuleId($value)
8008
 * @method string getStatus()
8009
 * @method $this withStatus($value)
8010
 */
8011
class QuerySummarySceneRuleLog extends Rpc
8012
{
8013
8014
    /**
8015
     * @param string $value
8016
     *
8017
     * @return $this
8018
     */
8019
    public function withApiProduct($value)
8020
    {
8021
        $this->data['ApiProduct'] = $value;
8022
        $this->options['form_params']['ApiProduct'] = $value;
8023
8024
        return $this;
8025
    }
8026
8027
    /**
8028
     * @param string $value
8029
     *
8030
     * @return $this
8031
     */
8032
    public function withApiRevision($value)
8033
    {
8034
        $this->data['ApiRevision'] = $value;
8035
        $this->options['form_params']['ApiRevision'] = $value;
8036
8037
        return $this;
8038
    }
8039
}
8040
8041
/**
8042
 * @method string getIotInstanceId()
8043
 * @method $this withIotInstanceId($value)
8044
 * @method string getGroupId()
8045
 * @method $this withGroupId($value)
8046
 * @method string getApiProduct()
8047
 * @method string getApiRevision()
8048
 */
8049
class QuerySuperDeviceGroup extends Rpc
8050
{
8051
8052
    /**
8053
     * @param string $value
8054
     *
8055
     * @return $this
8056
     */
8057
    public function withApiProduct($value)
8058
    {
8059
        $this->data['ApiProduct'] = $value;
8060
        $this->options['form_params']['ApiProduct'] = $value;
8061
8062
        return $this;
8063
    }
8064
8065
    /**
8066
     * @param string $value
8067
     *
8068
     * @return $this
8069
     */
8070
    public function withApiRevision($value)
8071
    {
8072
        $this->data['ApiRevision'] = $value;
8073
        $this->options['form_params']['ApiRevision'] = $value;
8074
8075
        return $this;
8076
    }
8077
}
8078
8079
/**
8080
 * @method string getResourceGroupId()
8081
 * @method $this withResourceGroupId($value)
8082
 * @method string getIotInstanceId()
8083
 * @method $this withIotInstanceId($value)
8084
 * @method string getProductKey()
8085
 * @method $this withProductKey($value)
8086
 * @method string getApiProduct()
8087
 * @method string getApiRevision()
8088
 * @method string getModelVersion()
8089
 * @method $this withModelVersion($value)
8090
 */
8091
class QueryThingModel extends Rpc
8092
{
8093
8094
    /**
8095
     * @param string $value
8096
     *
8097
     * @return $this
8098
     */
8099
    public function withApiProduct($value)
8100
    {
8101
        $this->data['ApiProduct'] = $value;
8102
        $this->options['form_params']['ApiProduct'] = $value;
8103
8104
        return $this;
8105
    }
8106
8107
    /**
8108
     * @param string $value
8109
     *
8110
     * @return $this
8111
     */
8112
    public function withApiRevision($value)
8113
    {
8114
        $this->data['ApiRevision'] = $value;
8115
        $this->options['form_params']['ApiRevision'] = $value;
8116
8117
        return $this;
8118
    }
8119
}
8120
8121
/**
8122
 * @method string getIotInstanceId()
8123
 * @method $this withIotInstanceId($value)
8124
 * @method string getApiProduct()
8125
 * @method string getTopic()
8126
 * @method $this withTopic($value)
8127
 * @method string getApiRevision()
8128
 */
8129
class QueryTopicReverseRouteTable extends Rpc
8130
{
8131
8132
    /**
8133
     * @param string $value
8134
     *
8135
     * @return $this
8136
     */
8137
    public function withApiProduct($value)
8138
    {
8139
        $this->data['ApiProduct'] = $value;
8140
        $this->options['form_params']['ApiProduct'] = $value;
8141
8142
        return $this;
8143
    }
8144
8145
    /**
8146
     * @param string $value
8147
     *
8148
     * @return $this
8149
     */
8150
    public function withApiRevision($value)
8151
    {
8152
        $this->data['ApiRevision'] = $value;
8153
        $this->options['form_params']['ApiRevision'] = $value;
8154
8155
        return $this;
8156
    }
8157
}
8158
8159
/**
8160
 * @method string getIotInstanceId()
8161
 * @method $this withIotInstanceId($value)
8162
 * @method string getApiProduct()
8163
 * @method string getTopic()
8164
 * @method $this withTopic($value)
8165
 * @method string getApiRevision()
8166
 */
8167
class QueryTopicRouteTable extends Rpc
8168
{
8169
8170
    /**
8171
     * @param string $value
8172
     *
8173
     * @return $this
8174
     */
8175
    public function withApiProduct($value)
8176
    {
8177
        $this->data['ApiProduct'] = $value;
8178
        $this->options['form_params']['ApiProduct'] = $value;
8179
8180
        return $this;
8181
    }
8182
8183
    /**
8184
     * @param string $value
8185
     *
8186
     * @return $this
8187
     */
8188
    public function withApiRevision($value)
8189
    {
8190
        $this->data['ApiRevision'] = $value;
8191
        $this->options['form_params']['ApiRevision'] = $value;
8192
8193
        return $this;
8194
    }
8195
}
8196
8197
/**
8198
 * @method string getIotInstanceId()
8199
 * @method $this withIotInstanceId($value)
8200
 * @method string getNickname()
8201
 * @method $this withNickname($value)
8202
 * @method string getPinCode()
8203
 * @method $this withPinCode($value)
8204
 * @method string getProductKey()
8205
 * @method $this withProductKey($value)
8206
 * @method string getDevEui()
8207
 * @method $this withDevEui($value)
8208
 * @method string getApiProduct()
8209
 * @method string getApiRevision()
8210
 * @method string getDeviceName()
8211
 * @method $this withDeviceName($value)
8212
 */
8213
class RegisterDevice extends Rpc
8214
{
8215
8216
    /**
8217
     * @param string $value
8218
     *
8219
     * @return $this
8220
     */
8221
    public function withApiProduct($value)
8222
    {
8223
        $this->data['ApiProduct'] = $value;
8224
        $this->options['form_params']['ApiProduct'] = $value;
8225
8226
        return $this;
8227
    }
8228
8229
    /**
8230
     * @param string $value
8231
     *
8232
     * @return $this
8233
     */
8234
    public function withApiRevision($value)
8235
    {
8236
        $this->data['ApiRevision'] = $value;
8237
        $this->options['form_params']['ApiRevision'] = $value;
8238
8239
        return $this;
8240
    }
8241
}
8242
8243
/**
8244
 * @method string getDriverId()
8245
 * @method $this withDriverId($value)
8246
 * @method string getIotInstanceId()
8247
 * @method $this withIotInstanceId($value)
8248
 * @method string getDriverVersion()
8249
 * @method $this withDriverVersion($value)
8250
 * @method string getApiProduct()
8251
 * @method string getApiRevision()
8252
 */
8253
class ReleaseEdgeDriverVersion extends Rpc
8254
{
8255
8256
    /**
8257
     * @param string $value
8258
     *
8259
     * @return $this
8260
     */
8261
    public function withApiProduct($value)
8262
    {
8263
        $this->data['ApiProduct'] = $value;
8264
        $this->options['form_params']['ApiProduct'] = $value;
8265
8266
        return $this;
8267
    }
8268
8269
    /**
8270
     * @param string $value
8271
     *
8272
     * @return $this
8273
     */
8274
    public function withApiRevision($value)
8275
    {
8276
        $this->data['ApiRevision'] = $value;
8277
        $this->options['form_params']['ApiRevision'] = $value;
8278
8279
        return $this;
8280
    }
8281
}
8282
8283
/**
8284
 * @method string getIotId()
8285
 * @method $this withIotId($value)
8286
 * @method string getIotInstanceId()
8287
 * @method $this withIotInstanceId($value)
8288
 * @method string getProductKey()
8289
 * @method $this withProductKey($value)
8290
 * @method string getApiProduct()
8291
 * @method string getApiRevision()
8292
 * @method string getDeviceName()
8293
 * @method $this withDeviceName($value)
8294
 */
8295
class RemoveThingTopo extends Rpc
8296
{
8297
8298
    /**
8299
     * @param string $value
8300
     *
8301
     * @return $this
8302
     */
8303
    public function withApiProduct($value)
8304
    {
8305
        $this->data['ApiProduct'] = $value;
8306
        $this->options['form_params']['ApiProduct'] = $value;
8307
8308
        return $this;
8309
    }
8310
8311
    /**
8312
     * @param string $value
8313
     *
8314
     * @return $this
8315
     */
8316
    public function withApiRevision($value)
8317
    {
8318
        $this->data['ApiRevision'] = $value;
8319
        $this->options['form_params']['ApiRevision'] = $value;
8320
8321
        return $this;
8322
    }
8323
}
8324
8325
/**
8326
 * @method string getNewGatewayId()
8327
 * @method $this withNewGatewayId($value)
8328
 * @method string getIotInstanceId()
8329
 * @method $this withIotInstanceId($value)
8330
 * @method string getInstanceId()
8331
 * @method $this withInstanceId($value)
8332
 * @method string getCurrentGatewayId()
8333
 * @method $this withCurrentGatewayId($value)
8334
 * @method string getApiProduct()
8335
 * @method string getApiRevision()
8336
 */
8337
class ReplaceEdgeInstanceGateway extends Rpc
8338
{
8339
8340
    /**
8341
     * @param string $value
8342
     *
8343
     * @return $this
8344
     */
8345
    public function withApiProduct($value)
8346
    {
8347
        $this->data['ApiProduct'] = $value;
8348
        $this->options['form_params']['ApiProduct'] = $value;
8349
8350
        return $this;
8351
    }
8352
8353
    /**
8354
     * @param string $value
8355
     *
8356
     * @return $this
8357
     */
8358
    public function withApiRevision($value)
8359
    {
8360
        $this->data['ApiRevision'] = $value;
8361
        $this->options['form_params']['ApiRevision'] = $value;
8362
8363
        return $this;
8364
    }
8365
}
8366
8367
/**
8368
 * @method string getIotInstanceId()
8369
 * @method $this withIotInstanceId($value)
8370
 * @method string getGroupId()
8371
 * @method $this withGroupId($value)
8372
 * @method string getApiProduct()
8373
 * @method string getApiRevision()
8374
 */
8375
class ResetConsumerGroupPosition extends Rpc
8376
{
8377
8378
    /**
8379
     * @param string $value
8380
     *
8381
     * @return $this
8382
     */
8383
    public function withApiProduct($value)
8384
    {
8385
        $this->data['ApiProduct'] = $value;
8386
        $this->options['form_params']['ApiProduct'] = $value;
8387
8388
        return $this;
8389
    }
8390
8391
    /**
8392
     * @param string $value
8393
     *
8394
     * @return $this
8395
     */
8396
    public function withApiRevision($value)
8397
    {
8398
        $this->data['ApiRevision'] = $value;
8399
        $this->options['form_params']['ApiRevision'] = $value;
8400
8401
        return $this;
8402
    }
8403
}
8404
8405
/**
8406
 * @method string getIotId()
8407
 * @method $this withIotId($value)
8408
 * @method string getIotInstanceId()
8409
 * @method $this withIotInstanceId($value)
8410
 * @method string getProductKey()
8411
 * @method $this withProductKey($value)
8412
 * @method string getApiProduct()
8413
 * @method string getApiRevision()
8414
 * @method string getDeviceName()
8415
 * @method $this withDeviceName($value)
8416
 */
8417
class ResetThing extends Rpc
8418
{
8419
8420
    /**
8421
     * @param string $value
8422
     *
8423
     * @return $this
8424
     */
8425
    public function withApiProduct($value)
8426
    {
8427
        $this->data['ApiProduct'] = $value;
8428
        $this->options['form_params']['ApiProduct'] = $value;
8429
8430
        return $this;
8431
    }
8432
8433
    /**
8434
     * @param string $value
8435
     *
8436
     * @return $this
8437
     */
8438
    public function withApiRevision($value)
8439
    {
8440
        $this->data['ApiRevision'] = $value;
8441
        $this->options['form_params']['ApiRevision'] = $value;
8442
8443
        return $this;
8444
    }
8445
}
8446
8447
/**
8448
 * @method string getTimeout()
8449
 * @method $this withTimeout($value)
8450
 * @method string getIotInstanceId()
8451
 * @method $this withIotInstanceId($value)
8452
 * @method string getRequestBase64Byte()
8453
 * @method $this withRequestBase64Byte($value)
8454
 * @method string getProductKey()
8455
 * @method $this withProductKey($value)
8456
 * @method string getApiProduct()
8457
 * @method string getTopic()
8458
 * @method $this withTopic($value)
8459
 * @method string getApiRevision()
8460
 * @method string getDeviceName()
8461
 * @method $this withDeviceName($value)
8462
 */
8463
class RRpc extends Rpc
8464
{
8465
8466
    /**
8467
     * @param string $value
8468
     *
8469
     * @return $this
8470
     */
8471
    public function withApiProduct($value)
8472
    {
8473
        $this->data['ApiProduct'] = $value;
8474
        $this->options['form_params']['ApiProduct'] = $value;
8475
8476
        return $this;
8477
    }
8478
8479
    /**
8480
     * @param string $value
8481
     *
8482
     * @return $this
8483
     */
8484
    public function withApiRevision($value)
8485
    {
8486
        $this->data['ApiRevision'] = $value;
8487
        $this->options['form_params']['ApiRevision'] = $value;
8488
8489
        return $this;
8490
    }
8491
}
8492
8493
/**
8494
 * @method string getIotId()
8495
 * @method $this withIotId($value)
8496
 * @method string getIotInstanceId()
8497
 * @method $this withIotInstanceId($value)
8498
 * @method string getProductKey()
8499
 * @method $this withProductKey($value)
8500
 * @method string getProps()
8501
 * @method $this withProps($value)
8502
 * @method string getApiProduct()
8503
 * @method string getApiRevision()
8504
 * @method string getDeviceName()
8505
 * @method $this withDeviceName($value)
8506
 */
8507
class SaveDeviceProp extends Rpc
8508
{
8509
8510
    /**
8511
     * @param string $value
8512
     *
8513
     * @return $this
8514
     */
8515
    public function withApiProduct($value)
8516
    {
8517
        $this->data['ApiProduct'] = $value;
8518
        $this->options['form_params']['ApiProduct'] = $value;
8519
8520
        return $this;
8521
    }
8522
8523
    /**
8524
     * @param string $value
8525
     *
8526
     * @return $this
8527
     */
8528
    public function withApiRevision($value)
8529
    {
8530
        $this->data['ApiRevision'] = $value;
8531
        $this->options['form_params']['ApiRevision'] = $value;
8532
8533
        return $this;
8534
    }
8535
}
8536
8537
/**
8538
 * @method string getIotId()
8539
 * @method $this withIotId($value)
8540
 * @method string getIotInstanceId()
8541
 * @method $this withIotInstanceId($value)
8542
 * @method string getProductKey()
8543
 * @method $this withProductKey($value)
8544
 * @method string getVersions()
8545
 * @method $this withVersions($value)
8546
 * @method string getApiProduct()
8547
 * @method string getApiRevision()
8548
 * @method string getDeviceName()
8549
 * @method $this withDeviceName($value)
8550
 * @method string getItems()
8551
 * @method $this withItems($value)
8552
 */
8553
class SetDeviceDesiredProperty extends Rpc
8554
{
8555
8556
    /**
8557
     * @param string $value
8558
     *
8559
     * @return $this
8560
     */
8561
    public function withApiProduct($value)
8562
    {
8563
        $this->data['ApiProduct'] = $value;
8564
        $this->options['form_params']['ApiProduct'] = $value;
8565
8566
        return $this;
8567
    }
8568
8569
    /**
8570
     * @param string $value
8571
     *
8572
     * @return $this
8573
     */
8574
    public function withApiRevision($value)
8575
    {
8576
        $this->data['ApiRevision'] = $value;
8577
        $this->options['form_params']['ApiRevision'] = $value;
8578
8579
        return $this;
8580
    }
8581
}
8582
8583
/**
8584
 * @method string getIotInstanceId()
8585
 * @method $this withIotInstanceId($value)
8586
 * @method string getTagString()
8587
 * @method $this withTagString($value)
8588
 * @method string getGroupId()
8589
 * @method $this withGroupId($value)
8590
 * @method string getApiProduct()
8591
 * @method string getApiRevision()
8592
 */
8593
class SetDeviceGroupTags extends Rpc
8594
{
8595
8596
    /**
8597
     * @param string $value
8598
     *
8599
     * @return $this
8600
     */
8601
    public function withApiProduct($value)
8602
    {
8603
        $this->data['ApiProduct'] = $value;
8604
        $this->options['form_params']['ApiProduct'] = $value;
8605
8606
        return $this;
8607
    }
8608
8609
    /**
8610
     * @param string $value
8611
     *
8612
     * @return $this
8613
     */
8614
    public function withApiRevision($value)
8615
    {
8616
        $this->data['ApiRevision'] = $value;
8617
        $this->options['form_params']['ApiRevision'] = $value;
8618
8619
        return $this;
8620
    }
8621
}
8622
8623
/**
8624
 * @method string getIotId()
8625
 * @method $this withIotId($value)
8626
 * @method string getIotInstanceId()
8627
 * @method $this withIotInstanceId($value)
8628
 * @method string getProductKey()
8629
 * @method $this withProductKey($value)
8630
 * @method string getApiProduct()
8631
 * @method string getApiRevision()
8632
 * @method string getDeviceName()
8633
 * @method $this withDeviceName($value)
8634
 * @method string getItems()
8635
 * @method $this withItems($value)
8636
 */
8637
class SetDeviceProperty extends Rpc
8638
{
8639
8640
    /**
8641
     * @param string $value
8642
     *
8643
     * @return $this
8644
     */
8645
    public function withApiProduct($value)
8646
    {
8647
        $this->data['ApiProduct'] = $value;
8648
        $this->options['form_params']['ApiProduct'] = $value;
8649
8650
        return $this;
8651
    }
8652
8653
    /**
8654
     * @param string $value
8655
     *
8656
     * @return $this
8657
     */
8658
    public function withApiRevision($value)
8659
    {
8660
        $this->data['ApiRevision'] = $value;
8661
        $this->options['form_params']['ApiRevision'] = $value;
8662
8663
        return $this;
8664
    }
8665
}
8666
8667
/**
8668
 * @method string getIotInstanceId()
8669
 * @method $this withIotInstanceId($value)
8670
 * @method string getProductKey()
8671
 * @method $this withProductKey($value)
8672
 * @method string getApiProduct()
8673
 * @method string getApiRevision()
8674
 * @method array getDeviceName()
8675
 * @method string getItems()
8676
 * @method $this withItems($value)
8677
 */
8678
class SetDevicesProperty extends Rpc
8679
{
8680
8681
    /**
8682
     * @param string $value
8683
     *
8684
     * @return $this
8685
     */
8686
    public function withApiProduct($value)
8687
    {
8688
        $this->data['ApiProduct'] = $value;
8689
        $this->options['form_params']['ApiProduct'] = $value;
8690
8691
        return $this;
8692
    }
8693
8694
    /**
8695
     * @param string $value
8696
     *
8697
     * @return $this
8698
     */
8699
    public function withApiRevision($value)
8700
    {
8701
        $this->data['ApiRevision'] = $value;
8702
        $this->options['form_params']['ApiRevision'] = $value;
8703
8704
        return $this;
8705
    }
8706
8707
    /**
8708
     * @param array $deviceName
8709
     *
8710
     * @return $this
8711
     */
8712
	public function withDeviceName(array $deviceName)
8713
	{
8714
	    $this->data['DeviceName'] = $deviceName;
8715
		foreach ($deviceName as $i => $iValue) {
8716
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
8717
		}
8718
8719
		return $this;
8720
    }
8721
}
8722
8723
/**
8724
 * @method array getConfigs()
8725
 * @method string getDriverId()
8726
 * @method $this withDriverId($value)
8727
 * @method string getIotInstanceId()
8728
 * @method $this withIotInstanceId($value)
8729
 * @method string getInstanceId()
8730
 * @method $this withInstanceId($value)
8731
 * @method string getApiProduct()
8732
 * @method string getApiRevision()
8733
 */
8734
class SetEdgeInstanceDriverConfigs extends Rpc
8735
{
8736
8737
    /**
8738
     * @param array $configs
8739
     *
8740
     * @return $this
8741
     */
8742
	public function withConfigs(array $configs)
8743
	{
8744
	    $this->data['Configs'] = $configs;
8745
		foreach ($configs as $depth1 => $depth1Value) {
8746
			if(isset($depth1Value['Format'])){
8747
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Format'] = $depth1Value['Format'];
8748
			}
8749
			if(isset($depth1Value['Content'])){
8750
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
8751
			}
8752
			if(isset($depth1Value['Key'])){
8753
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
8754
			}
8755
		}
8756
8757
		return $this;
8758
    }
8759
8760
    /**
8761
     * @param string $value
8762
     *
8763
     * @return $this
8764
     */
8765
    public function withApiProduct($value)
8766
    {
8767
        $this->data['ApiProduct'] = $value;
8768
        $this->options['form_params']['ApiProduct'] = $value;
8769
8770
        return $this;
8771
    }
8772
8773
    /**
8774
     * @param string $value
8775
     *
8776
     * @return $this
8777
     */
8778
    public function withApiRevision($value)
8779
    {
8780
        $this->data['ApiRevision'] = $value;
8781
        $this->options['form_params']['ApiRevision'] = $value;
8782
8783
        return $this;
8784
    }
8785
}
8786
8787
/**
8788
 * @method string getIotInstanceId()
8789
 * @method $this withIotInstanceId($value)
8790
 * @method string getProductKey()
8791
 * @method $this withProductKey($value)
8792
 * @method string getApiProduct()
8793
 * @method string getApiRevision()
8794
 * @method string getIssueModel()
8795
 * @method $this withIssueModel($value)
8796
 */
8797
class SetProductCertInfo extends Rpc
8798
{
8799
8800
    /**
8801
     * @param string $value
8802
     *
8803
     * @return $this
8804
     */
8805
    public function withApiProduct($value)
8806
    {
8807
        $this->data['ApiProduct'] = $value;
8808
        $this->options['form_params']['ApiProduct'] = $value;
8809
8810
        return $this;
8811
    }
8812
8813
    /**
8814
     * @param string $value
8815
     *
8816
     * @return $this
8817
     */
8818
    public function withApiRevision($value)
8819
    {
8820
        $this->data['ApiRevision'] = $value;
8821
        $this->options['form_params']['ApiRevision'] = $value;
8822
8823
        return $this;
8824
    }
8825
}
8826
8827
/**
8828
 * @method string getIotInstanceId()
8829
 * @method $this withIotInstanceId($value)
8830
 * @method string getApiProduct()
8831
 * @method string getApiRevision()
8832
 * @method string getRuleId()
8833
 * @method $this withRuleId($value)
8834
 */
8835
class StartRule extends Rpc
8836
{
8837
8838
    /**
8839
     * @param string $value
8840
     *
8841
     * @return $this
8842
     */
8843
    public function withApiProduct($value)
8844
    {
8845
        $this->data['ApiProduct'] = $value;
8846
        $this->options['form_params']['ApiProduct'] = $value;
8847
8848
        return $this;
8849
    }
8850
8851
    /**
8852
     * @param string $value
8853
     *
8854
     * @return $this
8855
     */
8856
    public function withApiRevision($value)
8857
    {
8858
        $this->data['ApiRevision'] = $value;
8859
        $this->options['form_params']['ApiRevision'] = $value;
8860
8861
        return $this;
8862
    }
8863
}
8864
8865
/**
8866
 * @method string getIotInstanceId()
8867
 * @method $this withIotInstanceId($value)
8868
 * @method string getApiProduct()
8869
 * @method string getApiRevision()
8870
 * @method string getRuleId()
8871
 * @method $this withRuleId($value)
8872
 */
8873
class StopRule extends Rpc
8874
{
8875
8876
    /**
8877
     * @param string $value
8878
     *
8879
     * @return $this
8880
     */
8881
    public function withApiProduct($value)
8882
    {
8883
        $this->data['ApiProduct'] = $value;
8884
        $this->options['form_params']['ApiProduct'] = $value;
8885
8886
        return $this;
8887
    }
8888
8889
    /**
8890
     * @param string $value
8891
     *
8892
     * @return $this
8893
     */
8894
    public function withApiRevision($value)
8895
    {
8896
        $this->data['ApiRevision'] = $value;
8897
        $this->options['form_params']['ApiRevision'] = $value;
8898
8899
        return $this;
8900
    }
8901
}
8902
8903
/**
8904
 * @method string getAuthConfig()
8905
 * @method $this withAuthConfig($value)
8906
 * @method string getClientId()
8907
 * @method $this withClientId($value)
8908
 * @method string getIotId()
8909
 * @method $this withIotId($value)
8910
 * @method string getIotInstanceId()
8911
 * @method $this withIotInstanceId($value)
8912
 * @method string getApiProduct()
8913
 * @method string getApiRevision()
8914
 */
8915
class TransformClientId extends Rpc
8916
{
8917
8918
    /**
8919
     * @param string $value
8920
     *
8921
     * @return $this
8922
     */
8923
    public function withApiProduct($value)
8924
    {
8925
        $this->data['ApiProduct'] = $value;
8926
        $this->options['form_params']['ApiProduct'] = $value;
8927
8928
        return $this;
8929
    }
8930
8931
    /**
8932
     * @param string $value
8933
     *
8934
     * @return $this
8935
     */
8936
    public function withApiRevision($value)
8937
    {
8938
        $this->data['ApiRevision'] = $value;
8939
        $this->options['form_params']['ApiRevision'] = $value;
8940
8941
        return $this;
8942
    }
8943
}
8944
8945
/**
8946
 * @method string getIotInstanceId()
8947
 * @method $this withIotInstanceId($value)
8948
 * @method string getInstanceId()
8949
 * @method $this withInstanceId($value)
8950
 * @method string getApiProduct()
8951
 * @method string getApiRevision()
8952
 * @method string getRuleId()
8953
 * @method $this withRuleId($value)
8954
 */
8955
class TriggerSceneRule extends Rpc
8956
{
8957
8958
    /**
8959
     * @param string $value
8960
     *
8961
     * @return $this
8962
     */
8963
    public function withApiProduct($value)
8964
    {
8965
        $this->data['ApiProduct'] = $value;
8966
        $this->options['form_params']['ApiProduct'] = $value;
8967
8968
        return $this;
8969
    }
8970
8971
    /**
8972
     * @param string $value
8973
     *
8974
     * @return $this
8975
     */
8976
    public function withApiRevision($value)
8977
    {
8978
        $this->data['ApiRevision'] = $value;
8979
        $this->options['form_params']['ApiRevision'] = $value;
8980
8981
        return $this;
8982
    }
8983
}
8984
8985
/**
8986
 * @method string getIotInstanceId()
8987
 * @method $this withIotInstanceId($value)
8988
 * @method string getApplicationId()
8989
 * @method $this withApplicationId($value)
8990
 * @method string getInstanceId()
8991
 * @method $this withInstanceId($value)
8992
 * @method string getApiProduct()
8993
 * @method string getApiRevision()
8994
 */
8995
class UnbindApplicationFromEdgeInstance extends Rpc
8996
{
8997
8998
    /**
8999
     * @param string $value
9000
     *
9001
     * @return $this
9002
     */
9003
    public function withApiProduct($value)
9004
    {
9005
        $this->data['ApiProduct'] = $value;
9006
        $this->options['form_params']['ApiProduct'] = $value;
9007
9008
        return $this;
9009
    }
9010
9011
    /**
9012
     * @param string $value
9013
     *
9014
     * @return $this
9015
     */
9016
    public function withApiRevision($value)
9017
    {
9018
        $this->data['ApiRevision'] = $value;
9019
        $this->options['form_params']['ApiRevision'] = $value;
9020
9021
        return $this;
9022
    }
9023
}
9024
9025
/**
9026
 * @method string getDriverId()
9027
 * @method $this withDriverId($value)
9028
 * @method string getIotInstanceId()
9029
 * @method $this withIotInstanceId($value)
9030
 * @method string getInstanceId()
9031
 * @method $this withInstanceId($value)
9032
 * @method string getApiProduct()
9033
 * @method string getApiRevision()
9034
 */
9035
class UnbindDriverFromEdgeInstance extends Rpc
9036
{
9037
9038
    /**
9039
     * @param string $value
9040
     *
9041
     * @return $this
9042
     */
9043
    public function withApiProduct($value)
9044
    {
9045
        $this->data['ApiProduct'] = $value;
9046
        $this->options['form_params']['ApiProduct'] = $value;
9047
9048
        return $this;
9049
    }
9050
9051
    /**
9052
     * @param string $value
9053
     *
9054
     * @return $this
9055
     */
9056
    public function withApiRevision($value)
9057
    {
9058
        $this->data['ApiRevision'] = $value;
9059
        $this->options['form_params']['ApiRevision'] = $value;
9060
9061
        return $this;
9062
    }
9063
}
9064
9065
/**
9066
 * @method string getIotInstanceId()
9067
 * @method $this withIotInstanceId($value)
9068
 * @method string getInstanceId()
9069
 * @method $this withInstanceId($value)
9070
 * @method string getApiProduct()
9071
 * @method string getApiRevision()
9072
 * @method string getRuleId()
9073
 * @method $this withRuleId($value)
9074
 */
9075
class UnbindSceneRuleFromEdgeInstance extends Rpc
9076
{
9077
9078
    /**
9079
     * @param string $value
9080
     *
9081
     * @return $this
9082
     */
9083
    public function withApiProduct($value)
9084
    {
9085
        $this->data['ApiProduct'] = $value;
9086
        $this->options['form_params']['ApiProduct'] = $value;
9087
9088
        return $this;
9089
    }
9090
9091
    /**
9092
     * @param string $value
9093
     *
9094
     * @return $this
9095
     */
9096
    public function withApiRevision($value)
9097
    {
9098
        $this->data['ApiRevision'] = $value;
9099
        $this->options['form_params']['ApiRevision'] = $value;
9100
9101
        return $this;
9102
    }
9103
}
9104
9105
/**
9106
 * @method string getIotInstanceId()
9107
 * @method $this withIotInstanceId($value)
9108
 * @method string getGroupId()
9109
 * @method $this withGroupId($value)
9110
 * @method string getNewGroupName()
9111
 * @method $this withNewGroupName($value)
9112
 * @method string getApiProduct()
9113
 * @method string getApiRevision()
9114
 */
9115
class UpdateConsumerGroup extends Rpc
9116
{
9117
9118
    /**
9119
     * @param string $value
9120
     *
9121
     * @return $this
9122
     */
9123
    public function withApiProduct($value)
9124
    {
9125
        $this->data['ApiProduct'] = $value;
9126
        $this->options['form_params']['ApiProduct'] = $value;
9127
9128
        return $this;
9129
    }
9130
9131
    /**
9132
     * @param string $value
9133
     *
9134
     * @return $this
9135
     */
9136
    public function withApiRevision($value)
9137
    {
9138
        $this->data['ApiRevision'] = $value;
9139
        $this->options['form_params']['ApiRevision'] = $value;
9140
9141
        return $this;
9142
    }
9143
}
9144
9145
/**
9146
 * @method string getIotInstanceId()
9147
 * @method $this withIotInstanceId($value)
9148
 * @method string getGroupId()
9149
 * @method $this withGroupId($value)
9150
 * @method string getGroupDesc()
9151
 * @method $this withGroupDesc($value)
9152
 * @method string getApiProduct()
9153
 * @method string getApiRevision()
9154
 */
9155
class UpdateDeviceGroup extends Rpc
9156
{
9157
9158
    /**
9159
     * @param string $value
9160
     *
9161
     * @return $this
9162
     */
9163
    public function withApiProduct($value)
9164
    {
9165
        $this->data['ApiProduct'] = $value;
9166
        $this->options['form_params']['ApiProduct'] = $value;
9167
9168
        return $this;
9169
    }
9170
9171
    /**
9172
     * @param string $value
9173
     *
9174
     * @return $this
9175
     */
9176
    public function withApiRevision($value)
9177
    {
9178
        $this->data['ApiRevision'] = $value;
9179
        $this->options['form_params']['ApiRevision'] = $value;
9180
9181
        return $this;
9182
    }
9183
}
9184
9185
/**
9186
 * @method string getShadowMessage()
9187
 * @method $this withShadowMessage($value)
9188
 * @method string getIotInstanceId()
9189
 * @method $this withIotInstanceId($value)
9190
 * @method string getProductKey()
9191
 * @method $this withProductKey($value)
9192
 * @method string getDeltaUpdate()
9193
 * @method $this withDeltaUpdate($value)
9194
 * @method string getApiProduct()
9195
 * @method string getApiRevision()
9196
 * @method string getDeviceName()
9197
 * @method $this withDeviceName($value)
9198
 */
9199
class UpdateDeviceShadow extends Rpc
9200
{
9201
9202
    /**
9203
     * @param string $value
9204
     *
9205
     * @return $this
9206
     */
9207
    public function withApiProduct($value)
9208
    {
9209
        $this->data['ApiProduct'] = $value;
9210
        $this->options['form_params']['ApiProduct'] = $value;
9211
9212
        return $this;
9213
    }
9214
9215
    /**
9216
     * @param string $value
9217
     *
9218
     * @return $this
9219
     */
9220
    public function withApiRevision($value)
9221
    {
9222
        $this->data['ApiRevision'] = $value;
9223
        $this->options['form_params']['ApiRevision'] = $value;
9224
9225
        return $this;
9226
    }
9227
}
9228
9229
/**
9230
 * @method string getConfigCheckRule()
9231
 * @method $this withConfigCheckRule($value)
9232
 * @method string getArgument()
9233
 * @method $this withArgument($value)
9234
 * @method string getEdgeVersion()
9235
 * @method $this withEdgeVersion($value)
9236
 * @method string getDescription()
9237
 * @method $this withDescription($value)
9238
 * @method string getDriverId()
9239
 * @method $this withDriverId($value)
9240
 * @method string getIotInstanceId()
9241
 * @method $this withIotInstanceId($value)
9242
 * @method string getContainerConfig()
9243
 * @method $this withContainerConfig($value)
9244
 * @method string getDriverVersion()
9245
 * @method $this withDriverVersion($value)
9246
 * @method string getDriverConfig()
9247
 * @method $this withDriverConfig($value)
9248
 * @method string getSourceConfig()
9249
 * @method $this withSourceConfig($value)
9250
 * @method string getApiProduct()
9251
 * @method string getApiRevision()
9252
 */
9253
class UpdateEdgeDriverVersion extends Rpc
9254
{
9255
9256
    /**
9257
     * @param string $value
9258
     *
9259
     * @return $this
9260
     */
9261
    public function withApiProduct($value)
9262
    {
9263
        $this->data['ApiProduct'] = $value;
9264
        $this->options['form_params']['ApiProduct'] = $value;
9265
9266
        return $this;
9267
    }
9268
9269
    /**
9270
     * @param string $value
9271
     *
9272
     * @return $this
9273
     */
9274
    public function withApiRevision($value)
9275
    {
9276
        $this->data['ApiRevision'] = $value;
9277
        $this->options['form_params']['ApiRevision'] = $value;
9278
9279
        return $this;
9280
    }
9281
}
9282
9283
/**
9284
 * @method string getBizEnable()
9285
 * @method $this withBizEnable($value)
9286
 * @method string getSpec()
9287
 * @method $this withSpec($value)
9288
 * @method string getIotInstanceId()
9289
 * @method $this withIotInstanceId($value)
9290
 * @method string getTags()
9291
 * @method $this withTags($value)
9292
 * @method string getInstanceId()
9293
 * @method $this withInstanceId($value)
9294
 * @method string getApiProduct()
9295
 * @method string getName()
9296
 * @method $this withName($value)
9297
 * @method string getApiRevision()
9298
 */
9299
class UpdateEdgeInstance extends Rpc
9300
{
9301
9302
    /**
9303
     * @param string $value
9304
     *
9305
     * @return $this
9306
     */
9307
    public function withApiProduct($value)
9308
    {
9309
        $this->data['ApiProduct'] = $value;
9310
        $this->options['form_params']['ApiProduct'] = $value;
9311
9312
        return $this;
9313
    }
9314
9315
    /**
9316
     * @param string $value
9317
     *
9318
     * @return $this
9319
     */
9320
    public function withApiRevision($value)
9321
    {
9322
        $this->data['ApiRevision'] = $value;
9323
        $this->options['form_params']['ApiRevision'] = $value;
9324
9325
        return $this;
9326
    }
9327
}
9328
9329
/**
9330
 * @method array getConfigs()
9331
 * @method string getDriverId()
9332
 * @method $this withDriverId($value)
9333
 * @method string getIotInstanceId()
9334
 * @method $this withIotInstanceId($value)
9335
 * @method string getChannelName()
9336
 * @method $this withChannelName($value)
9337
 * @method string getInstanceId()
9338
 * @method $this withInstanceId($value)
9339
 * @method string getApiProduct()
9340
 * @method string getApiRevision()
9341
 * @method string getChannelId()
9342
 * @method $this withChannelId($value)
9343
 */
9344
class UpdateEdgeInstanceChannel extends Rpc
9345
{
9346
9347
    /**
9348
     * @param array $configs
9349
     *
9350
     * @return $this
9351
     */
9352
	public function withConfigs(array $configs)
9353
	{
9354
	    $this->data['Configs'] = $configs;
9355
		foreach ($configs as $depth1 => $depth1Value) {
9356
			if(isset($depth1Value['Format'])){
9357
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Format'] = $depth1Value['Format'];
9358
			}
9359
			if(isset($depth1Value['Content'])){
9360
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
9361
			}
9362
			if(isset($depth1Value['Key'])){
9363
				$this->options['query']['Configs.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
9364
			}
9365
		}
9366
9367
		return $this;
9368
    }
9369
9370
    /**
9371
     * @param string $value
9372
     *
9373
     * @return $this
9374
     */
9375
    public function withApiProduct($value)
9376
    {
9377
        $this->data['ApiProduct'] = $value;
9378
        $this->options['form_params']['ApiProduct'] = $value;
9379
9380
        return $this;
9381
    }
9382
9383
    /**
9384
     * @param string $value
9385
     *
9386
     * @return $this
9387
     */
9388
    public function withApiRevision($value)
9389
    {
9390
        $this->data['ApiRevision'] = $value;
9391
        $this->options['form_params']['ApiRevision'] = $value;
9392
9393
        return $this;
9394
    }
9395
}
9396
9397
/**
9398
 * @method string getDescription()
9399
 * @method $this withDescription($value)
9400
 * @method string getIotInstanceId()
9401
 * @method $this withIotInstanceId($value)
9402
 * @method string getProductName()
9403
 * @method $this withProductName($value)
9404
 * @method string getProductKey()
9405
 * @method $this withProductKey($value)
9406
 * @method string getApiProduct()
9407
 * @method string getApiRevision()
9408
 */
9409
class UpdateProduct extends Rpc
9410
{
9411
9412
    /**
9413
     * @param string $value
9414
     *
9415
     * @return $this
9416
     */
9417
    public function withApiProduct($value)
9418
    {
9419
        $this->data['ApiProduct'] = $value;
9420
        $this->options['form_params']['ApiProduct'] = $value;
9421
9422
        return $this;
9423
    }
9424
9425
    /**
9426
     * @param string $value
9427
     *
9428
     * @return $this
9429
     */
9430
    public function withApiRevision($value)
9431
    {
9432
        $this->data['ApiRevision'] = $value;
9433
        $this->options['form_params']['ApiRevision'] = $value;
9434
9435
        return $this;
9436
    }
9437
}
9438
9439
/**
9440
 * @method string getPropertyTimestampFilter()
9441
 * @method $this withPropertyTimestampFilter($value)
9442
 * @method string getIotInstanceId()
9443
 * @method $this withIotInstanceId($value)
9444
 * @method string getProductKey()
9445
 * @method $this withProductKey($value)
9446
 * @method string getApiProduct()
9447
 * @method string getApiRevision()
9448
 * @method string getPropertyValueFilter()
9449
 * @method $this withPropertyValueFilter($value)
9450
 */
9451
class UpdateProductFilterConfig extends Rpc
9452
{
9453
9454
    /**
9455
     * @param string $value
9456
     *
9457
     * @return $this
9458
     */
9459
    public function withApiProduct($value)
9460
    {
9461
        $this->data['ApiProduct'] = $value;
9462
        $this->options['form_params']['ApiProduct'] = $value;
9463
9464
        return $this;
9465
    }
9466
9467
    /**
9468
     * @param string $value
9469
     *
9470
     * @return $this
9471
     */
9472
    public function withApiRevision($value)
9473
    {
9474
        $this->data['ApiRevision'] = $value;
9475
        $this->options['form_params']['ApiRevision'] = $value;
9476
9477
        return $this;
9478
    }
9479
}
9480
9481
/**
9482
 * @method string getIotInstanceId()
9483
 * @method $this withIotInstanceId($value)
9484
 * @method string getProductKey()
9485
 * @method $this withProductKey($value)
9486
 * @method array getProductTag()
9487
 * @method string getApiProduct()
9488
 * @method string getApiRevision()
9489
 */
9490
class UpdateProductTags extends Rpc
9491
{
9492
9493
    /**
9494
     * @param array $productTag
9495
     *
9496
     * @return $this
9497
     */
9498
	public function withProductTag(array $productTag)
9499
	{
9500
	    $this->data['ProductTag'] = $productTag;
9501
		foreach ($productTag as $depth1 => $depth1Value) {
9502
			if(isset($depth1Value['TagValue'])){
9503
				$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
9504
			}
9505
			if(isset($depth1Value['TagKey'])){
9506
				$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
9507
			}
9508
		}
9509
9510
		return $this;
9511
    }
9512
9513
    /**
9514
     * @param string $value
9515
     *
9516
     * @return $this
9517
     */
9518
    public function withApiProduct($value)
9519
    {
9520
        $this->data['ApiProduct'] = $value;
9521
        $this->options['form_params']['ApiProduct'] = $value;
9522
9523
        return $this;
9524
    }
9525
9526
    /**
9527
     * @param string $value
9528
     *
9529
     * @return $this
9530
     */
9531
    public function withApiRevision($value)
9532
    {
9533
        $this->data['ApiRevision'] = $value;
9534
        $this->options['form_params']['ApiRevision'] = $value;
9535
9536
        return $this;
9537
    }
9538
}
9539
9540
/**
9541
 * @method string getTopicId()
9542
 * @method $this withTopicId($value)
9543
 * @method string getIotInstanceId()
9544
 * @method $this withIotInstanceId($value)
9545
 * @method string getTopicShortName()
9546
 * @method $this withTopicShortName($value)
9547
 * @method string getApiProduct()
9548
 * @method string getApiRevision()
9549
 * @method string getOperation()
9550
 * @method $this withOperation($value)
9551
 * @method string getDesc()
9552
 * @method $this withDesc($value)
9553
 */
9554
class UpdateProductTopic extends Rpc
9555
{
9556
9557
    /**
9558
     * @param string $value
9559
     *
9560
     * @return $this
9561
     */
9562
    public function withApiProduct($value)
9563
    {
9564
        $this->data['ApiProduct'] = $value;
9565
        $this->options['form_params']['ApiProduct'] = $value;
9566
9567
        return $this;
9568
    }
9569
9570
    /**
9571
     * @param string $value
9572
     *
9573
     * @return $this
9574
     */
9575
    public function withApiRevision($value)
9576
    {
9577
        $this->data['ApiRevision'] = $value;
9578
        $this->options['form_params']['ApiRevision'] = $value;
9579
9580
        return $this;
9581
    }
9582
}
9583
9584
/**
9585
 * @method string getSelect()
9586
 * @method $this withSelect($value)
9587
 * @method string getRuleDesc()
9588
 * @method $this withRuleDesc($value)
9589
 * @method string getShortTopic()
9590
 * @method $this withShortTopic($value)
9591
 * @method string getIotInstanceId()
9592
 * @method $this withIotInstanceId($value)
9593
 * @method string getWhere()
9594
 * @method $this withWhere($value)
9595
 * @method string getTopicType()
9596
 * @method $this withTopicType($value)
9597
 * @method string getProductKey()
9598
 * @method $this withProductKey($value)
9599
 * @method string getApiProduct()
9600
 * @method string getName()
9601
 * @method $this withName($value)
9602
 * @method string getApiRevision()
9603
 * @method string getRuleId()
9604
 * @method $this withRuleId($value)
9605
 */
9606
class UpdateRule extends Rpc
9607
{
9608
9609
    /**
9610
     * @param string $value
9611
     *
9612
     * @return $this
9613
     */
9614
    public function withApiProduct($value)
9615
    {
9616
        $this->data['ApiProduct'] = $value;
9617
        $this->options['form_params']['ApiProduct'] = $value;
9618
9619
        return $this;
9620
    }
9621
9622
    /**
9623
     * @param string $value
9624
     *
9625
     * @return $this
9626
     */
9627
    public function withApiRevision($value)
9628
    {
9629
        $this->data['ApiRevision'] = $value;
9630
        $this->options['form_params']['ApiRevision'] = $value;
9631
9632
        return $this;
9633
    }
9634
}
9635
9636
/**
9637
 * @method string getConfiguration()
9638
 * @method $this withConfiguration($value)
9639
 * @method string getType()
9640
 * @method $this withType($value)
9641
 * @method string getIotInstanceId()
9642
 * @method $this withIotInstanceId($value)
9643
 * @method string getActionId()
9644
 * @method $this withActionId($value)
9645
 * @method string getApiProduct()
9646
 * @method string getApiRevision()
9647
 */
9648
class UpdateRuleAction extends Rpc
9649
{
9650
9651
    /**
9652
     * @param string $value
9653
     *
9654
     * @return $this
9655
     */
9656
    public function withApiProduct($value)
9657
    {
9658
        $this->data['ApiProduct'] = $value;
9659
        $this->options['form_params']['ApiProduct'] = $value;
9660
9661
        return $this;
9662
    }
9663
9664
    /**
9665
     * @param string $value
9666
     *
9667
     * @return $this
9668
     */
9669
    public function withApiRevision($value)
9670
    {
9671
        $this->data['ApiRevision'] = $value;
9672
        $this->options['form_params']['ApiRevision'] = $value;
9673
9674
        return $this;
9675
    }
9676
}
9677
9678
/**
9679
 * @method string getRuleName()
9680
 * @method $this withRuleName($value)
9681
 * @method string getIotInstanceId()
9682
 * @method $this withIotInstanceId($value)
9683
 * @method string getRuleDescription()
9684
 * @method $this withRuleDescription($value)
9685
 * @method string getRuleContent()
9686
 * @method $this withRuleContent($value)
9687
 * @method string getApiProduct()
9688
 * @method string getApiRevision()
9689
 * @method string getRuleId()
9690
 * @method $this withRuleId($value)
9691
 */
9692
class UpdateSceneRule extends Rpc
9693
{
9694
9695
    /**
9696
     * @param string $value
9697
     *
9698
     * @return $this
9699
     */
9700
    public function withApiProduct($value)
9701
    {
9702
        $this->data['ApiProduct'] = $value;
9703
        $this->options['form_params']['ApiProduct'] = $value;
9704
9705
        return $this;
9706
    }
9707
9708
    /**
9709
     * @param string $value
9710
     *
9711
     * @return $this
9712
     */
9713
    public function withApiRevision($value)
9714
    {
9715
        $this->data['ApiRevision'] = $value;
9716
        $this->options['form_params']['ApiRevision'] = $value;
9717
9718
        return $this;
9719
    }
9720
}
9721
9722
/**
9723
 * @method string getOtaEventFlag()
9724
 * @method $this withOtaEventFlag($value)
9725
 * @method string getDeviceTopoLifeCycleFlag()
9726
 * @method $this withDeviceTopoLifeCycleFlag($value)
9727
 * @method string getType()
9728
 * @method $this withType($value)
9729
 * @method string getDeviceLifeCycleFlag()
9730
 * @method $this withDeviceLifeCycleFlag($value)
9731
 * @method string getIotInstanceId()
9732
 * @method $this withIotInstanceId($value)
9733
 * @method string getDeviceStatusChangeFlag()
9734
 * @method $this withDeviceStatusChangeFlag($value)
9735
 * @method array getConsumerGroupIds()
9736
 * @method string getProductKey()
9737
 * @method $this withProductKey($value)
9738
 * @method string getThingHistoryFlag()
9739
 * @method $this withThingHistoryFlag($value)
9740
 * @method string getFoundDeviceListFlag()
9741
 * @method $this withFoundDeviceListFlag($value)
9742
 * @method string getApiProduct()
9743
 * @method string getDeviceDataFlag()
9744
 * @method $this withDeviceDataFlag($value)
9745
 * @method string getApiRevision()
9746
 * @method string getMnsConfiguration()
9747
 * @method $this withMnsConfiguration($value)
9748
 */
9749
class UpdateSubscribeRelation extends Rpc
9750
{
9751
9752
    /**
9753
     * @param array $consumerGroupIds
9754
     *
9755
     * @return $this
9756
     */
9757
	public function withConsumerGroupIds(array $consumerGroupIds)
9758
	{
9759
	    $this->data['ConsumerGroupIds'] = $consumerGroupIds;
9760
		foreach ($consumerGroupIds as $i => $iValue) {
9761
			$this->options['query']['ConsumerGroupIds.' . ($i + 1)] = $iValue;
9762
		}
9763
9764
		return $this;
9765
    }
9766
9767
    /**
9768
     * @param string $value
9769
     *
9770
     * @return $this
9771
     */
9772
    public function withApiProduct($value)
9773
    {
9774
        $this->data['ApiProduct'] = $value;
9775
        $this->options['form_params']['ApiProduct'] = $value;
9776
9777
        return $this;
9778
    }
9779
9780
    /**
9781
     * @param string $value
9782
     *
9783
     * @return $this
9784
     */
9785
    public function withApiRevision($value)
9786
    {
9787
        $this->data['ApiRevision'] = $value;
9788
        $this->options['form_params']['ApiRevision'] = $value;
9789
9790
        return $this;
9791
    }
9792
}
9793
9794
/**
9795
 * @method string getIotInstanceId()
9796
 * @method $this withIotInstanceId($value)
9797
 * @method string getIdentifier()
9798
 * @method $this withIdentifier($value)
9799
 * @method string getProductKey()
9800
 * @method $this withProductKey($value)
9801
 * @method string getApiProduct()
9802
 * @method string getThingModelJson()
9803
 * @method $this withThingModelJson($value)
9804
 * @method string getApiRevision()
9805
 */
9806
class UpdateThingModel extends Rpc
9807
{
9808
9809
    /**
9810
     * @param string $value
9811
     *
9812
     * @return $this
9813
     */
9814
    public function withApiProduct($value)
9815
    {
9816
        $this->data['ApiProduct'] = $value;
9817
        $this->options['form_params']['ApiProduct'] = $value;
9818
9819
        return $this;
9820
    }
9821
9822
    /**
9823
     * @param string $value
9824
     *
9825
     * @return $this
9826
     */
9827
    public function withApiRevision($value)
9828
    {
9829
        $this->data['ApiRevision'] = $value;
9830
        $this->options['form_params']['ApiRevision'] = $value;
9831
9832
        return $this;
9833
    }
9834
}
9835