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 ( 413387...6e4a50 )
by
unknown
05:05
created

BatchGetDeviceBindStatus::withIotIds()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

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