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 ( 2c5643...4f4fbd )
by
unknown
05:32
created

QueryEdgeDriver::withApiProduct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
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 BatchGetDeviceDriver batchGetDeviceDriver(array $options = [])
15
 * @method BatchGetDeviceState batchGetDeviceState(array $options = [])
16
 * @method BatchGetEdgeDriver batchGetEdgeDriver(array $options = [])
17
 * @method BatchGetEdgeInstanceDeviceConfig batchGetEdgeInstanceDeviceConfig(array $options = [])
18
 * @method BatchGetEdgeInstanceDriverConfigs batchGetEdgeInstanceDriverConfigs(array $options = [])
19
 * @method BatchQueryDeviceDetail batchQueryDeviceDetail(array $options = [])
20
 * @method BatchRegisterDevice batchRegisterDevice(array $options = [])
21
 * @method BatchRegisterDeviceWithApplyId batchRegisterDeviceWithApplyId(array $options = [])
22
 * @method BatchSetEdgeInstanceDeviceConfig batchSetEdgeInstanceDeviceConfig(array $options = [])
23
 * @method BatchUnbindDeviceFromEdgeInstance batchUnbindDeviceFromEdgeInstance(array $options = [])
24
 * @method BatchUpdateDeviceNickname batchUpdateDeviceNickname(array $options = [])
25
 * @method BindDriverToEdgeInstance bindDriverToEdgeInstance(array $options = [])
26
 * @method BindGatewayToEdgeInstance bindGatewayToEdgeInstance(array $options = [])
27
 * @method CancelOTAStrategyByJob cancelOTAStrategyByJob(array $options = [])
28
 * @method CancelOTATaskByDevice cancelOTATaskByDevice(array $options = [])
29
 * @method CancelOTATaskByJob cancelOTATaskByJob(array $options = [])
30
 * @method ClearEdgeInstanceDriverConfigs clearEdgeInstanceDriverConfigs(array $options = [])
31
 * @method CloseEdgeInstanceDeployment closeEdgeInstanceDeployment(array $options = [])
32
 * @method CopyThingModel copyThingModel(array $options = [])
33
 * @method CreateDataAPIService createDataAPIService(array $options = [])
34
 * @method CreateDeviceGroup createDeviceGroup(array $options = [])
35
 * @method CreateEdgeDriver createEdgeDriver(array $options = [])
36
 * @method CreateEdgeDriverVersion createEdgeDriverVersion(array $options = [])
37
 * @method CreateEdgeInstance createEdgeInstance(array $options = [])
38
 * @method CreateEdgeInstanceDeployment createEdgeInstanceDeployment(array $options = [])
39
 * @method CreateLoRaNodesTask createLoRaNodesTask(array $options = [])
40
 * @method CreateOTADynamicUpgradeJob createOTADynamicUpgradeJob(array $options = [])
41
 * @method CreateOTAFirmware createOTAFirmware(array $options = [])
42
 * @method CreateOTAStaticUpgradeJob createOTAStaticUpgradeJob(array $options = [])
43
 * @method CreateOTAVerifyJob createOTAVerifyJob(array $options = [])
44
 * @method CreateProduct createProduct(array $options = [])
45
 * @method CreateProductTags createProductTags(array $options = [])
46
 * @method CreateProductTopic createProductTopic(array $options = [])
47
 * @method CreateRule createRule(array $options = [])
48
 * @method CreateRuleAction createRuleAction(array $options = [])
49
 * @method CreateThingModel createThingModel(array $options = [])
50
 * @method CreateTopicRouteTable createTopicRouteTable(array $options = [])
51
 * @method DeleteDevice deleteDevice(array $options = [])
52
 * @method DeleteDeviceFile deleteDeviceFile(array $options = [])
53
 * @method DeleteDeviceGroup deleteDeviceGroup(array $options = [])
54
 * @method DeleteDeviceProp deleteDeviceProp(array $options = [])
55
 * @method DeleteEdgeDriver deleteEdgeDriver(array $options = [])
56
 * @method DeleteEdgeDriverVersion deleteEdgeDriverVersion(array $options = [])
57
 * @method DeleteEdgeInstance deleteEdgeInstance(array $options = [])
58
 * @method DeleteOTAFirmware deleteOTAFirmware(array $options = [])
59
 * @method DeleteProduct deleteProduct(array $options = [])
60
 * @method DeleteProductTags deleteProductTags(array $options = [])
61
 * @method DeleteProductTopic deleteProductTopic(array $options = [])
62
 * @method DeleteRule deleteRule(array $options = [])
63
 * @method DeleteRuleAction deleteRuleAction(array $options = [])
64
 * @method DeleteThingModel deleteThingModel(array $options = [])
65
 * @method DeleteTopicRouteTable deleteTopicRouteTable(array $options = [])
66
 * @method DisableThing disableThing(array $options = [])
67
 * @method EnableThing enableThing(array $options = [])
68
 * @method GenerateOTAUploadURL generateOTAUploadURL(array $options = [])
69
 * @method GetDataAPIServiceDetail getDataAPIServiceDetail(array $options = [])
70
 * @method GetDeviceShadow getDeviceShadow(array $options = [])
71
 * @method GetDeviceStatus getDeviceStatus(array $options = [])
72
 * @method GetEdgeDriverVersion getEdgeDriverVersion(array $options = [])
73
 * @method GetEdgeInstance getEdgeInstance(array $options = [])
74
 * @method GetEdgeInstanceDeployment getEdgeInstanceDeployment(array $options = [])
75
 * @method GetGatewayBySubDevice getGatewayBySubDevice(array $options = [])
76
 * @method GetLoraNodesTask getLoraNodesTask(array $options = [])
77
 * @method GetNodesAddingTask getNodesAddingTask(array $options = [])
78
 * @method GetRule getRule(array $options = [])
79
 * @method GetRuleAction getRuleAction(array $options = [])
80
 * @method GetThingModelTsl getThingModelTsl(array $options = [])
81
 * @method GetThingTemplate getThingTemplate(array $options = [])
82
 * @method GetThingTopo getThingTopo(array $options = [])
83
 * @method GisQueryDeviceLocation gisQueryDeviceLocation(array $options = [])
84
 * @method ImportThingModelTsl importThingModelTsl(array $options = [])
85
 * @method InvokeDataAPIService invokeDataAPIService(array $options = [])
86
 * @method InvokeThingService invokeThingService(array $options = [])
87
 * @method InvokeThingsService invokeThingsService(array $options = [])
88
 * @method ListOTAFirmware listOTAFirmware(array $options = [])
89
 * @method ListOTAJobByDevice listOTAJobByDevice(array $options = [])
90
 * @method ListOTAJobByFirmware listOTAJobByFirmware(array $options = [])
91
 * @method ListOTATaskByJob listOTATaskByJob(array $options = [])
92
 * @method ListProductByTags listProductByTags(array $options = [])
93
 * @method ListProductTags listProductTags(array $options = [])
94
 * @method ListRule listRule(array $options = [])
95
 * @method ListRuleActions listRuleActions(array $options = [])
96
 * @method ListThingModelVersion listThingModelVersion(array $options = [])
97
 * @method ListThingTemplates listThingTemplates(array $options = [])
98
 * @method NotifyAddThingTopo notifyAddThingTopo(array $options = [])
99
 * @method Pub pub(array $options = [])
100
 * @method PubBroadcast pubBroadcast(array $options = [])
101
 * @method PublishThingModel publishThingModel(array $options = [])
102
 * @method QueryAppDeviceList queryAppDeviceList(array $options = [])
103
 * @method QueryBatchRegisterDeviceStatus queryBatchRegisterDeviceStatus(array $options = [])
104
 * @method QueryCertUrlByApplyId queryCertUrlByApplyId(array $options = [])
105
 * @method QueryDevice queryDevice(array $options = [])
106
 * @method QueryDeviceByDriver queryDeviceByDriver(array $options = [])
107
 * @method QueryDeviceByStatus queryDeviceByStatus(array $options = [])
108
 * @method QueryDeviceByTags queryDeviceByTags(array $options = [])
109
 * @method QueryDeviceCert queryDeviceCert(array $options = [])
110
 * @method QueryDeviceDesiredProperty queryDeviceDesiredProperty(array $options = [])
111
 * @method QueryDeviceDetail queryDeviceDetail(array $options = [])
112
 * @method QueryDeviceEventData queryDeviceEventData(array $options = [])
113
 * @method QueryDeviceFile queryDeviceFile(array $options = [])
114
 * @method QueryDeviceFileList queryDeviceFileList(array $options = [])
115
 * @method QueryDeviceGroupByDevice queryDeviceGroupByDevice(array $options = [])
116
 * @method QueryDeviceGroupByTags queryDeviceGroupByTags(array $options = [])
117
 * @method QueryDeviceGroupInfo queryDeviceGroupInfo(array $options = [])
118
 * @method QueryDeviceGroupList queryDeviceGroupList(array $options = [])
119
 * @method QueryDeviceGroupTagList queryDeviceGroupTagList(array $options = [])
120
 * @method QueryDeviceListByDeviceGroup queryDeviceListByDeviceGroup(array $options = [])
121
 * @method QueryDeviceProp queryDeviceProp(array $options = [])
122
 * @method QueryDevicePropertiesData queryDevicePropertiesData(array $options = [])
123
 * @method QueryDevicePropertyData queryDevicePropertyData(array $options = [])
124
 * @method QueryDevicePropertyStatus queryDevicePropertyStatus(array $options = [])
125
 * @method QueryDeviceServiceData queryDeviceServiceData(array $options = [])
126
 * @method QueryDeviceStatistics queryDeviceStatistics(array $options = [])
127
 * @method QueryEdgeDriver queryEdgeDriver(array $options = [])
128
 * @method QueryEdgeDriverVersion queryEdgeDriverVersion(array $options = [])
129
 * @method QueryEdgeInstance queryEdgeInstance(array $options = [])
130
 * @method QueryEdgeInstanceDevice queryEdgeInstanceDevice(array $options = [])
131
 * @method QueryEdgeInstanceDriver queryEdgeInstanceDriver(array $options = [])
132
 * @method QueryEdgeInstanceGateway queryEdgeInstanceGateway(array $options = [])
133
 * @method QueryEdgeInstanceHistoricDeployment queryEdgeInstanceHistoricDeployment(array $options = [])
134
 * @method QueryLoRaJoinPermissions queryLoRaJoinPermissions(array $options = [])
135
 * @method QueryOTAFirmware queryOTAFirmware(array $options = [])
136
 * @method QueryOTAJob queryOTAJob(array $options = [])
137
 * @method QueryPageByApplyId queryPageByApplyId(array $options = [])
138
 * @method QueryProduct queryProduct(array $options = [])
139
 * @method QueryProductCertInfo queryProductCertInfo(array $options = [])
140
 * @method QueryProductList queryProductList(array $options = [])
141
 * @method QueryProductTopic queryProductTopic(array $options = [])
142
 * @method QuerySuperDeviceGroup querySuperDeviceGroup(array $options = [])
143
 * @method QueryThingModel queryThingModel(array $options = [])
144
 * @method QueryTopicReverseRouteTable queryTopicReverseRouteTable(array $options = [])
145
 * @method QueryTopicRouteTable queryTopicRouteTable(array $options = [])
146
 * @method RegisterDevice registerDevice(array $options = [])
147
 * @method RemoveThingTopo removeThingTopo(array $options = [])
148
 * @method ResetThing resetThing(array $options = [])
149
 * @method RRpc rRpc(array $options = [])
150
 * @method SaveDeviceProp saveDeviceProp(array $options = [])
151
 * @method SetDeviceDesiredProperty setDeviceDesiredProperty(array $options = [])
152
 * @method SetDeviceGroupTags setDeviceGroupTags(array $options = [])
153
 * @method SetDeviceProperty setDeviceProperty(array $options = [])
154
 * @method SetDevicesProperty setDevicesProperty(array $options = [])
155
 * @method SetEdgeInstanceDriverConfigs setEdgeInstanceDriverConfigs(array $options = [])
156
 * @method SetProductCertInfo setProductCertInfo(array $options = [])
157
 * @method StartRule startRule(array $options = [])
158
 * @method StopRule stopRule(array $options = [])
159
 * @method UnbindDriverFromEdgeInstance unbindDriverFromEdgeInstance(array $options = [])
160
 * @method UpdateDeviceGroup updateDeviceGroup(array $options = [])
161
 * @method UpdateDeviceShadow updateDeviceShadow(array $options = [])
162
 * @method UpdateEdgeDriverVersion updateEdgeDriverVersion(array $options = [])
163
 * @method UpdateEdgeInstance updateEdgeInstance(array $options = [])
164
 * @method UpdateProduct updateProduct(array $options = [])
165
 * @method UpdateProductFilterConfig updateProductFilterConfig(array $options = [])
166
 * @method UpdateProductTags updateProductTags(array $options = [])
167
 * @method UpdateProductTopic updateProductTopic(array $options = [])
168
 * @method UpdateRule updateRule(array $options = [])
169
 * @method UpdateRuleAction updateRuleAction(array $options = [])
170
 * @method UpdateThingModel updateThingModel(array $options = [])
171
 */
172
class IotApiResolver extends ApiResolver
173
{
174
}
175
176
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
177
{
178
    /** @var string */
179
    public $product = 'Iot';
180
181
    /** @var string */
182
    public $version = '2018-01-20';
183
184
    /** @var string */
185
    public $method = 'POST';
186
187
    /** @var string */
188
    public $serviceCode = 'iot';
189
}
190
191
/**
192
 * @method string getGroupId()
193
 * @method $this withGroupId($value)
194
 * @method string getIotInstanceId()
195
 * @method $this withIotInstanceId($value)
196
 * @method array getDevice()
197
 */
198
class BatchAddDeviceGroupRelations extends Rpc
199
{
200
201
    /**
202
     * @param array $device
203
     *
204
     * @return $this
205
     */
206
	public function withDevice(array $device)
207
	{
208
	    $this->data['Device'] = $device;
209
		foreach ($device as $depth1 => $depth1Value) {
210
			$this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
211
			$this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
212
		}
213
214
		return $this;
215
    }
216
}
217
218
/**
219
 * @method string getExt()
220
 * @method $this withExt($value)
221
 * @method string getGwProductKey()
222
 * @method $this withGwProductKey($value)
223
 * @method array getTopoAddItem()
224
 * @method string getGwDeviceName()
225
 * @method $this withGwDeviceName($value)
226
 * @method string getIotInstanceId()
227
 * @method $this withIotInstanceId($value)
228
 */
229
class BatchAddThingTopo extends Rpc
230
{
231
232
    /**
233
     * @param array $topoAddItem
234
     *
235
     * @return $this
236
     */
237
	public function withTopoAddItem(array $topoAddItem)
238
	{
239
	    $this->data['TopoAddItem'] = $topoAddItem;
240
		foreach ($topoAddItem as $depth1 => $depth1Value) {
241
			$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.ClientId'] = $depth1Value['ClientId'];
242
			$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.SignMethod'] = $depth1Value['SignMethod'];
243
			$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.Sign'] = $depth1Value['Sign'];
244
			$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
245
			$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
246
			$this->options['query']['TopoAddItem.' . ($depth1 + 1) . '.Timestamp'] = $depth1Value['Timestamp'];
247
		}
248
249
		return $this;
250
    }
251
}
252
253
/**
254
 * @method string getDriverId()
255
 * @method $this withDriverId($value)
256
 * @method array getIotIds()
257
 * @method string getIotInstanceId()
258
 * @method $this withIotInstanceId($value)
259
 * @method string getInstanceId()
260
 * @method $this withInstanceId($value)
261
 * @method string getApiProduct()
262
 * @method string getApiRevision()
263
 */
264
class BatchBindDeviceToEdgeInstanceWithDriver extends Rpc
265
{
266
267
    /**
268
     * @param array $iotIds
269
     *
270
     * @return $this
271
     */
272
	public function withIotIds(array $iotIds)
273
	{
274
	    $this->data['IotIds'] = $iotIds;
275
		foreach ($iotIds as $i => $iValue) {
276
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
277
		}
278
279
		return $this;
280
    }
281
282
    /**
283
     * @param string $value
284
     *
285
     * @return $this
286
     */
287
    public function withApiProduct($value)
288
    {
289
        $this->data['ApiProduct'] = $value;
290
        $this->options['form_params']['ApiProduct'] = $value;
291
292
        return $this;
293
    }
294
295
    /**
296
     * @param string $value
297
     *
298
     * @return $this
299
     */
300
    public function withApiRevision($value)
301
    {
302
        $this->data['ApiRevision'] = $value;
303
        $this->options['form_params']['ApiRevision'] = $value;
304
305
        return $this;
306
    }
307
}
308
309
/**
310
 * @method string getProductKey()
311
 * @method $this withProductKey($value)
312
 * @method string getIotInstanceId()
313
 * @method $this withIotInstanceId($value)
314
 * @method array getDeviceName()
315
 */
316
class BatchCheckDeviceNames extends Rpc
317
{
318
319
    /**
320
     * @param array $deviceName
321
     *
322
     * @return $this
323
     */
324
	public function withDeviceName(array $deviceName)
325
	{
326
	    $this->data['DeviceName'] = $deviceName;
327
		foreach ($deviceName as $i => $iValue) {
328
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
329
		}
330
331
		return $this;
332
    }
333
}
334
335
/**
336
 * @method array getIotIds()
337
 * @method string getIotInstanceId()
338
 * @method $this withIotInstanceId($value)
339
 * @method string getInstanceId()
340
 * @method $this withInstanceId($value)
341
 * @method string getApiProduct()
342
 * @method string getApiRevision()
343
 */
344
class BatchClearEdgeInstanceDeviceConfig extends Rpc
345
{
346
347
    /**
348
     * @param array $iotIds
349
     *
350
     * @return $this
351
     */
352
	public function withIotIds(array $iotIds)
353
	{
354
	    $this->data['IotIds'] = $iotIds;
355
		foreach ($iotIds as $i => $iValue) {
356
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
357
		}
358
359
		return $this;
360
    }
361
362
    /**
363
     * @param string $value
364
     *
365
     * @return $this
366
     */
367
    public function withApiProduct($value)
368
    {
369
        $this->data['ApiProduct'] = $value;
370
        $this->options['form_params']['ApiProduct'] = $value;
371
372
        return $this;
373
    }
374
375
    /**
376
     * @param string $value
377
     *
378
     * @return $this
379
     */
380
    public function withApiRevision($value)
381
    {
382
        $this->data['ApiRevision'] = $value;
383
        $this->options['form_params']['ApiRevision'] = $value;
384
385
        return $this;
386
    }
387
}
388
389
/**
390
 * @method string getGroupId()
391
 * @method $this withGroupId($value)
392
 * @method string getIotInstanceId()
393
 * @method $this withIotInstanceId($value)
394
 * @method array getDevice()
395
 */
396
class BatchDeleteDeviceGroupRelations extends Rpc
397
{
398
399
    /**
400
     * @param array $device
401
     *
402
     * @return $this
403
     */
404
	public function withDevice(array $device)
405
	{
406
	    $this->data['Device'] = $device;
407
		foreach ($device as $depth1 => $depth1Value) {
408
			$this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
409
			$this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
410
		}
411
412
		return $this;
413
    }
414
}
415
416
/**
417
 * @method array getIotIds()
418
 * @method string getIotInstanceId()
419
 * @method $this withIotInstanceId($value)
420
 * @method string getInstanceId()
421
 * @method $this withInstanceId($value)
422
 * @method string getApiProduct()
423
 * @method string getApiRevision()
424
 */
425
class BatchGetDeviceDriver extends Rpc
426
{
427
428
    /**
429
     * @param array $iotIds
430
     *
431
     * @return $this
432
     */
433
	public function withIotIds(array $iotIds)
434
	{
435
	    $this->data['IotIds'] = $iotIds;
436
		foreach ($iotIds as $i => $iValue) {
437
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
438
		}
439
440
		return $this;
441
    }
442
443
    /**
444
     * @param string $value
445
     *
446
     * @return $this
447
     */
448
    public function withApiProduct($value)
449
    {
450
        $this->data['ApiProduct'] = $value;
451
        $this->options['form_params']['ApiProduct'] = $value;
452
453
        return $this;
454
    }
455
456
    /**
457
     * @param string $value
458
     *
459
     * @return $this
460
     */
461
    public function withApiRevision($value)
462
    {
463
        $this->data['ApiRevision'] = $value;
464
        $this->options['form_params']['ApiRevision'] = $value;
465
466
        return $this;
467
    }
468
}
469
470
/**
471
 * @method string getProductKey()
472
 * @method $this withProductKey($value)
473
 * @method array getIotId()
474
 * @method string getIotInstanceId()
475
 * @method $this withIotInstanceId($value)
476
 * @method array getDeviceName()
477
 */
478
class BatchGetDeviceState extends Rpc
479
{
480
481
    /**
482
     * @param array $iotId
483
     *
484
     * @return $this
485
     */
486
	public function withIotId(array $iotId)
487
	{
488
	    $this->data['IotId'] = $iotId;
489
		foreach ($iotId as $i => $iValue) {
490
			$this->options['query']['IotId.' . ($i + 1)] = $iValue;
491
		}
492
493
		return $this;
494
    }
495
496
    /**
497
     * @param array $deviceName
498
     *
499
     * @return $this
500
     */
501
	public function withDeviceName(array $deviceName)
502
	{
503
	    $this->data['DeviceName'] = $deviceName;
504
		foreach ($deviceName as $i => $iValue) {
505
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
506
		}
507
508
		return $this;
509
    }
510
}
511
512
/**
513
 * @method array getDriverIds()
514
 * @method string getIotInstanceId()
515
 * @method $this withIotInstanceId($value)
516
 * @method string getApiProduct()
517
 * @method string getApiRevision()
518
 */
519
class BatchGetEdgeDriver extends Rpc
520
{
521
522
    /**
523
     * @param array $driverIds
524
     *
525
     * @return $this
526
     */
527
	public function withDriverIds(array $driverIds)
528
	{
529
	    $this->data['DriverIds'] = $driverIds;
530
		foreach ($driverIds as $i => $iValue) {
531
			$this->options['query']['DriverIds.' . ($i + 1)] = $iValue;
532
		}
533
534
		return $this;
535
    }
536
537
    /**
538
     * @param string $value
539
     *
540
     * @return $this
541
     */
542
    public function withApiProduct($value)
543
    {
544
        $this->data['ApiProduct'] = $value;
545
        $this->options['form_params']['ApiProduct'] = $value;
546
547
        return $this;
548
    }
549
550
    /**
551
     * @param string $value
552
     *
553
     * @return $this
554
     */
555
    public function withApiRevision($value)
556
    {
557
        $this->data['ApiRevision'] = $value;
558
        $this->options['form_params']['ApiRevision'] = $value;
559
560
        return $this;
561
    }
562
}
563
564
/**
565
 * @method array getIotIds()
566
 * @method string getIotInstanceId()
567
 * @method $this withIotInstanceId($value)
568
 * @method string getInstanceId()
569
 * @method $this withInstanceId($value)
570
 * @method string getApiProduct()
571
 * @method string getApiRevision()
572
 */
573
class BatchGetEdgeInstanceDeviceConfig extends Rpc
574
{
575
576
    /**
577
     * @param array $iotIds
578
     *
579
     * @return $this
580
     */
581
	public function withIotIds(array $iotIds)
582
	{
583
	    $this->data['IotIds'] = $iotIds;
584
		foreach ($iotIds as $i => $iValue) {
585
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
586
		}
587
588
		return $this;
589
    }
590
591
    /**
592
     * @param string $value
593
     *
594
     * @return $this
595
     */
596
    public function withApiProduct($value)
597
    {
598
        $this->data['ApiProduct'] = $value;
599
        $this->options['form_params']['ApiProduct'] = $value;
600
601
        return $this;
602
    }
603
604
    /**
605
     * @param string $value
606
     *
607
     * @return $this
608
     */
609
    public function withApiRevision($value)
610
    {
611
        $this->data['ApiRevision'] = $value;
612
        $this->options['form_params']['ApiRevision'] = $value;
613
614
        return $this;
615
    }
616
}
617
618
/**
619
 * @method array getDriverIds()
620
 * @method string getIotInstanceId()
621
 * @method $this withIotInstanceId($value)
622
 * @method string getInstanceId()
623
 * @method $this withInstanceId($value)
624
 * @method string getApiProduct()
625
 * @method string getApiRevision()
626
 */
627
class BatchGetEdgeInstanceDriverConfigs extends Rpc
628
{
629
630
    /**
631
     * @param array $driverIds
632
     *
633
     * @return $this
634
     */
635
	public function withDriverIds(array $driverIds)
636
	{
637
	    $this->data['DriverIds'] = $driverIds;
638
		foreach ($driverIds as $i => $iValue) {
639
			$this->options['query']['DriverIds.' . ($i + 1)] = $iValue;
640
		}
641
642
		return $this;
643
    }
644
645
    /**
646
     * @param string $value
647
     *
648
     * @return $this
649
     */
650
    public function withApiProduct($value)
651
    {
652
        $this->data['ApiProduct'] = $value;
653
        $this->options['form_params']['ApiProduct'] = $value;
654
655
        return $this;
656
    }
657
658
    /**
659
     * @param string $value
660
     *
661
     * @return $this
662
     */
663
    public function withApiRevision($value)
664
    {
665
        $this->data['ApiRevision'] = $value;
666
        $this->options['form_params']['ApiRevision'] = $value;
667
668
        return $this;
669
    }
670
}
671
672
/**
673
 * @method string getProductKey()
674
 * @method $this withProductKey($value)
675
 * @method string getIotInstanceId()
676
 * @method $this withIotInstanceId($value)
677
 * @method array getDeviceName()
678
 */
679
class BatchQueryDeviceDetail extends Rpc
680
{
681
682
    /**
683
     * @param array $deviceName
684
     *
685
     * @return $this
686
     */
687
	public function withDeviceName(array $deviceName)
688
	{
689
	    $this->data['DeviceName'] = $deviceName;
690
		foreach ($deviceName as $i => $iValue) {
691
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
692
		}
693
694
		return $this;
695
    }
696
}
697
698
/**
699
 * @method string getCount()
700
 * @method $this withCount($value)
701
 * @method string getProductKey()
702
 * @method $this withProductKey($value)
703
 * @method string getIotInstanceId()
704
 * @method $this withIotInstanceId($value)
705
 */
706
class BatchRegisterDevice extends Rpc
707
{
708
}
709
710
/**
711
 * @method string getProductKey()
712
 * @method $this withProductKey($value)
713
 * @method string getApplyId()
714
 * @method $this withApplyId($value)
715
 * @method string getIotInstanceId()
716
 * @method $this withIotInstanceId($value)
717
 */
718
class BatchRegisterDeviceWithApplyId extends Rpc
719
{
720
}
721
722
/**
723
 * @method array getDeviceConfigs()
724
 * @method string getIotInstanceId()
725
 * @method $this withIotInstanceId($value)
726
 * @method string getInstanceId()
727
 * @method $this withInstanceId($value)
728
 * @method string getApiProduct()
729
 * @method string getApiRevision()
730
 */
731
class BatchSetEdgeInstanceDeviceConfig extends Rpc
732
{
733
734
    /**
735
     * @param array $deviceConfigs
736
     *
737
     * @return $this
738
     */
739
	public function withDeviceConfigs(array $deviceConfigs)
740
	{
741
	    $this->data['DeviceConfigs'] = $deviceConfigs;
742
		foreach ($deviceConfigs as $depth1 => $depth1Value) {
743
			$this->options['query']['DeviceConfigs.' . ($depth1 + 1) . '.IotId'] = $depth1Value['IotId'];
744
			$this->options['query']['DeviceConfigs.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
745
		}
746
747
		return $this;
748
    }
749
750
    /**
751
     * @param string $value
752
     *
753
     * @return $this
754
     */
755
    public function withApiProduct($value)
756
    {
757
        $this->data['ApiProduct'] = $value;
758
        $this->options['form_params']['ApiProduct'] = $value;
759
760
        return $this;
761
    }
762
763
    /**
764
     * @param string $value
765
     *
766
     * @return $this
767
     */
768
    public function withApiRevision($value)
769
    {
770
        $this->data['ApiRevision'] = $value;
771
        $this->options['form_params']['ApiRevision'] = $value;
772
773
        return $this;
774
    }
775
}
776
777
/**
778
 * @method array getIotIds()
779
 * @method string getIotInstanceId()
780
 * @method $this withIotInstanceId($value)
781
 * @method string getInstanceId()
782
 * @method $this withInstanceId($value)
783
 * @method string getApiProduct()
784
 * @method string getApiRevision()
785
 */
786
class BatchUnbindDeviceFromEdgeInstance extends Rpc
787
{
788
789
    /**
790
     * @param array $iotIds
791
     *
792
     * @return $this
793
     */
794
	public function withIotIds(array $iotIds)
795
	{
796
	    $this->data['IotIds'] = $iotIds;
797
		foreach ($iotIds as $i => $iValue) {
798
			$this->options['query']['IotIds.' . ($i + 1)] = $iValue;
799
		}
800
801
		return $this;
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
/**
832
 * @method array getDeviceNicknameInfo()
833
 * @method string getIotInstanceId()
834
 * @method $this withIotInstanceId($value)
835
 */
836
class BatchUpdateDeviceNickname extends Rpc
837
{
838
839
    /**
840
     * @param array $deviceNicknameInfo
841
     *
842
     * @return $this
843
     */
844
	public function withDeviceNicknameInfo(array $deviceNicknameInfo)
845
	{
846
	    $this->data['DeviceNicknameInfo'] = $deviceNicknameInfo;
847
		foreach ($deviceNicknameInfo as $depth1 => $depth1Value) {
848
			$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.IotId'] = $depth1Value['IotId'];
849
			$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.Nickname'] = $depth1Value['Nickname'];
850
			$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
851
			$this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
852
		}
853
854
		return $this;
855
    }
856
}
857
858
/**
859
 * @method string getDriverId()
860
 * @method $this withDriverId($value)
861
 * @method string getIotInstanceId()
862
 * @method $this withIotInstanceId($value)
863
 * @method string getDriverVersion()
864
 * @method $this withDriverVersion($value)
865
 * @method string getOrderId()
866
 * @method $this withOrderId($value)
867
 * @method string getInstanceId()
868
 * @method $this withInstanceId($value)
869
 * @method string getApiProduct()
870
 * @method string getApiRevision()
871
 */
872
class BindDriverToEdgeInstance extends Rpc
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 string getIotId()
904
 * @method $this withIotId($value)
905
 * @method string getIotInstanceId()
906
 * @method $this withIotInstanceId($value)
907
 * @method string getProductKey()
908
 * @method $this withProductKey($value)
909
 * @method string getInstanceId()
910
 * @method $this withInstanceId($value)
911
 * @method string getApiProduct()
912
 * @method string getApiRevision()
913
 * @method string getDeviceName()
914
 * @method $this withDeviceName($value)
915
 */
916
class BindGatewayToEdgeInstance extends Rpc
917
{
918
919
    /**
920
     * @param string $value
921
     *
922
     * @return $this
923
     */
924
    public function withApiProduct($value)
925
    {
926
        $this->data['ApiProduct'] = $value;
927
        $this->options['form_params']['ApiProduct'] = $value;
928
929
        return $this;
930
    }
931
932
    /**
933
     * @param string $value
934
     *
935
     * @return $this
936
     */
937
    public function withApiRevision($value)
938
    {
939
        $this->data['ApiRevision'] = $value;
940
        $this->options['form_params']['ApiRevision'] = $value;
941
942
        return $this;
943
    }
944
}
945
946
/**
947
 * @method string getJobId()
948
 * @method $this withJobId($value)
949
 * @method string getIotInstanceId()
950
 * @method $this withIotInstanceId($value)
951
 * @method string getApiProduct()
952
 * @method string getApiRevision()
953
 */
954
class CancelOTAStrategyByJob extends Rpc
955
{
956
957
    /**
958
     * @param string $value
959
     *
960
     * @return $this
961
     */
962
    public function withApiProduct($value)
963
    {
964
        $this->data['ApiProduct'] = $value;
965
        $this->options['form_params']['ApiProduct'] = $value;
966
967
        return $this;
968
    }
969
970
    /**
971
     * @param string $value
972
     *
973
     * @return $this
974
     */
975
    public function withApiRevision($value)
976
    {
977
        $this->data['ApiRevision'] = $value;
978
        $this->options['form_params']['ApiRevision'] = $value;
979
980
        return $this;
981
    }
982
}
983
984
/**
985
 * @method string getJobId()
986
 * @method $this withJobId($value)
987
 * @method string getIotInstanceId()
988
 * @method $this withIotInstanceId($value)
989
 * @method string getFirmwareId()
990
 * @method $this withFirmwareId($value)
991
 * @method string getProductKey()
992
 * @method $this withProductKey($value)
993
 * @method string getApiProduct()
994
 * @method string getApiRevision()
995
 * @method array getDeviceName()
996
 */
997
class CancelOTATaskByDevice extends Rpc
998
{
999
1000
    /**
1001
     * @param string $value
1002
     *
1003
     * @return $this
1004
     */
1005
    public function withApiProduct($value)
1006
    {
1007
        $this->data['ApiProduct'] = $value;
1008
        $this->options['form_params']['ApiProduct'] = $value;
1009
1010
        return $this;
1011
    }
1012
1013
    /**
1014
     * @param string $value
1015
     *
1016
     * @return $this
1017
     */
1018
    public function withApiRevision($value)
1019
    {
1020
        $this->data['ApiRevision'] = $value;
1021
        $this->options['form_params']['ApiRevision'] = $value;
1022
1023
        return $this;
1024
    }
1025
1026
    /**
1027
     * @param array $deviceName
1028
     *
1029
     * @return $this
1030
     */
1031
	public function withDeviceName(array $deviceName)
1032
	{
1033
	    $this->data['DeviceName'] = $deviceName;
1034
		foreach ($deviceName as $i => $iValue) {
1035
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
1036
		}
1037
1038
		return $this;
1039
    }
1040
}
1041
1042
/**
1043
 * @method string getCancelScheduledTask()
1044
 * @method $this withCancelScheduledTask($value)
1045
 * @method string getJobId()
1046
 * @method $this withJobId($value)
1047
 * @method string getIotInstanceId()
1048
 * @method $this withIotInstanceId($value)
1049
 * @method string getCancelQueuedTask()
1050
 * @method $this withCancelQueuedTask($value)
1051
 * @method string getCancelInProgressTask()
1052
 * @method $this withCancelInProgressTask($value)
1053
 * @method string getCancelNotifiedTask()
1054
 * @method $this withCancelNotifiedTask($value)
1055
 * @method string getApiProduct()
1056
 * @method string getApiRevision()
1057
 */
1058
class CancelOTATaskByJob extends Rpc
1059
{
1060
1061
    /**
1062
     * @param string $value
1063
     *
1064
     * @return $this
1065
     */
1066
    public function withApiProduct($value)
1067
    {
1068
        $this->data['ApiProduct'] = $value;
1069
        $this->options['form_params']['ApiProduct'] = $value;
1070
1071
        return $this;
1072
    }
1073
1074
    /**
1075
     * @param string $value
1076
     *
1077
     * @return $this
1078
     */
1079
    public function withApiRevision($value)
1080
    {
1081
        $this->data['ApiRevision'] = $value;
1082
        $this->options['form_params']['ApiRevision'] = $value;
1083
1084
        return $this;
1085
    }
1086
}
1087
1088
/**
1089
 * @method string getDriverId()
1090
 * @method $this withDriverId($value)
1091
 * @method string getIotInstanceId()
1092
 * @method $this withIotInstanceId($value)
1093
 * @method string getInstanceId()
1094
 * @method $this withInstanceId($value)
1095
 * @method string getApiProduct()
1096
 * @method string getApiRevision()
1097
 */
1098
class ClearEdgeInstanceDriverConfigs extends Rpc
1099
{
1100
1101
    /**
1102
     * @param string $value
1103
     *
1104
     * @return $this
1105
     */
1106
    public function withApiProduct($value)
1107
    {
1108
        $this->data['ApiProduct'] = $value;
1109
        $this->options['form_params']['ApiProduct'] = $value;
1110
1111
        return $this;
1112
    }
1113
1114
    /**
1115
     * @param string $value
1116
     *
1117
     * @return $this
1118
     */
1119
    public function withApiRevision($value)
1120
    {
1121
        $this->data['ApiRevision'] = $value;
1122
        $this->options['form_params']['ApiRevision'] = $value;
1123
1124
        return $this;
1125
    }
1126
}
1127
1128
/**
1129
 * @method string getIotInstanceId()
1130
 * @method $this withIotInstanceId($value)
1131
 * @method string getInstanceId()
1132
 * @method $this withInstanceId($value)
1133
 * @method string getApiProduct()
1134
 * @method string getApiRevision()
1135
 */
1136
class CloseEdgeInstanceDeployment extends Rpc
1137
{
1138
1139
    /**
1140
     * @param string $value
1141
     *
1142
     * @return $this
1143
     */
1144
    public function withApiProduct($value)
1145
    {
1146
        $this->data['ApiProduct'] = $value;
1147
        $this->options['form_params']['ApiProduct'] = $value;
1148
1149
        return $this;
1150
    }
1151
1152
    /**
1153
     * @param string $value
1154
     *
1155
     * @return $this
1156
     */
1157
    public function withApiRevision($value)
1158
    {
1159
        $this->data['ApiRevision'] = $value;
1160
        $this->options['form_params']['ApiRevision'] = $value;
1161
1162
        return $this;
1163
    }
1164
}
1165
1166
/**
1167
 * @method string getSourceProductKey()
1168
 * @method $this withSourceProductKey($value)
1169
 * @method string getTargetProductKey()
1170
 * @method $this withTargetProductKey($value)
1171
 * @method string getResourceGroupId()
1172
 * @method $this withResourceGroupId($value)
1173
 * @method string getIotInstanceId()
1174
 * @method $this withIotInstanceId($value)
1175
 * @method string getSourceModelVersion()
1176
 * @method $this withSourceModelVersion($value)
1177
 */
1178
class CopyThingModel extends Rpc
1179
{
1180
}
1181
1182
/**
1183
 * @method array getRequestParam()
1184
 * @method string getFolderId()
1185
 * @method string getIotInstanceId()
1186
 * @method string getApiPath()
1187
 * @method string getTemplateSql()
1188
 * @method array getResponseParam()
1189
 * @method string getOriginSql()
1190
 * @method string getDisplayName()
1191
 * @method string getApiProduct()
1192
 * @method string getApiRevision()
1193
 * @method string getDesc()
1194
 */
1195
class CreateDataAPIService extends Rpc
1196
{
1197
1198
    /**
1199
     * @param array $requestParam
1200
     *
1201
     * @return $this
1202
     */
1203
	public function withRequestParam(array $requestParam)
1204
	{
1205
	    $this->data['RequestParam'] = $requestParam;
1206
		foreach ($requestParam as $depth1 => $depth1Value) {
1207
			$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1208
			$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
1209
			$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Desc'] = $depth1Value['Desc'];
1210
			$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Example'] = $depth1Value['Example'];
1211
			$this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Required'] = $depth1Value['Required'];
1212
		}
1213
1214
		return $this;
1215
    }
1216
1217
    /**
1218
     * @param string $value
1219
     *
1220
     * @return $this
1221
     */
1222
    public function withFolderId($value)
1223
    {
1224
        $this->data['FolderId'] = $value;
1225
        $this->options['form_params']['FolderId'] = $value;
1226
1227
        return $this;
1228
    }
1229
1230
    /**
1231
     * @param string $value
1232
     *
1233
     * @return $this
1234
     */
1235
    public function withIotInstanceId($value)
1236
    {
1237
        $this->data['IotInstanceId'] = $value;
1238
        $this->options['form_params']['IotInstanceId'] = $value;
1239
1240
        return $this;
1241
    }
1242
1243
    /**
1244
     * @param string $value
1245
     *
1246
     * @return $this
1247
     */
1248
    public function withApiPath($value)
1249
    {
1250
        $this->data['ApiPath'] = $value;
1251
        $this->options['form_params']['ApiPath'] = $value;
1252
1253
        return $this;
1254
    }
1255
1256
    /**
1257
     * @param string $value
1258
     *
1259
     * @return $this
1260
     */
1261
    public function withTemplateSql($value)
1262
    {
1263
        $this->data['TemplateSql'] = $value;
1264
        $this->options['form_params']['TemplateSql'] = $value;
1265
1266
        return $this;
1267
    }
1268
1269
    /**
1270
     * @param array $responseParam
1271
     *
1272
     * @return $this
1273
     */
1274
	public function withResponseParam(array $responseParam)
1275
	{
1276
	    $this->data['ResponseParam'] = $responseParam;
1277
		foreach ($responseParam as $depth1 => $depth1Value) {
1278
			$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1279
			$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
1280
			$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Desc'] = $depth1Value['Desc'];
1281
			$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Example'] = $depth1Value['Example'];
1282
			$this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Required'] = $depth1Value['Required'];
1283
		}
1284
1285
		return $this;
1286
    }
1287
1288
    /**
1289
     * @param string $value
1290
     *
1291
     * @return $this
1292
     */
1293
    public function withOriginSql($value)
1294
    {
1295
        $this->data['OriginSql'] = $value;
1296
        $this->options['form_params']['OriginSql'] = $value;
1297
1298
        return $this;
1299
    }
1300
1301
    /**
1302
     * @param string $value
1303
     *
1304
     * @return $this
1305
     */
1306
    public function withDisplayName($value)
1307
    {
1308
        $this->data['DisplayName'] = $value;
1309
        $this->options['form_params']['DisplayName'] = $value;
1310
1311
        return $this;
1312
    }
1313
1314
    /**
1315
     * @param string $value
1316
     *
1317
     * @return $this
1318
     */
1319
    public function withApiProduct($value)
1320
    {
1321
        $this->data['ApiProduct'] = $value;
1322
        $this->options['form_params']['ApiProduct'] = $value;
1323
1324
        return $this;
1325
    }
1326
1327
    /**
1328
     * @param string $value
1329
     *
1330
     * @return $this
1331
     */
1332
    public function withApiRevision($value)
1333
    {
1334
        $this->data['ApiRevision'] = $value;
1335
        $this->options['form_params']['ApiRevision'] = $value;
1336
1337
        return $this;
1338
    }
1339
1340
    /**
1341
     * @param string $value
1342
     *
1343
     * @return $this
1344
     */
1345
    public function withDesc($value)
1346
    {
1347
        $this->data['Desc'] = $value;
1348
        $this->options['form_params']['Desc'] = $value;
1349
1350
        return $this;
1351
    }
1352
}
1353
1354
/**
1355
 * @method string getSuperGroupId()
1356
 * @method $this withSuperGroupId($value)
1357
 * @method string getGroupName()
1358
 * @method $this withGroupName($value)
1359
 * @method string getGroupDesc()
1360
 * @method $this withGroupDesc($value)
1361
 * @method string getIotInstanceId()
1362
 * @method $this withIotInstanceId($value)
1363
 */
1364
class CreateDeviceGroup extends Rpc
1365
{
1366
}
1367
1368
/**
1369
 * @method string getDriverProtocol()
1370
 * @method $this withDriverProtocol($value)
1371
 * @method string getDriverName()
1372
 * @method $this withDriverName($value)
1373
 * @method string getIsBuiltIn()
1374
 * @method $this withIsBuiltIn($value)
1375
 * @method string getIotInstanceId()
1376
 * @method $this withIotInstanceId($value)
1377
 * @method string getRuntime()
1378
 * @method $this withRuntime($value)
1379
 * @method string getApiProduct()
1380
 * @method string getCpuArch()
1381
 * @method $this withCpuArch($value)
1382
 * @method string getApiRevision()
1383
 */
1384
class CreateEdgeDriver extends Rpc
1385
{
1386
1387
    /**
1388
     * @param string $value
1389
     *
1390
     * @return $this
1391
     */
1392
    public function withApiProduct($value)
1393
    {
1394
        $this->data['ApiProduct'] = $value;
1395
        $this->options['form_params']['ApiProduct'] = $value;
1396
1397
        return $this;
1398
    }
1399
1400
    /**
1401
     * @param string $value
1402
     *
1403
     * @return $this
1404
     */
1405
    public function withApiRevision($value)
1406
    {
1407
        $this->data['ApiRevision'] = $value;
1408
        $this->options['form_params']['ApiRevision'] = $value;
1409
1410
        return $this;
1411
    }
1412
}
1413
1414
/**
1415
 * @method string getConfigCheckRule()
1416
 * @method $this withConfigCheckRule($value)
1417
 * @method string getEdgeVersion()
1418
 * @method $this withEdgeVersion($value)
1419
 * @method string getDescription()
1420
 * @method $this withDescription($value)
1421
 * @method string getDriverId()
1422
 * @method $this withDriverId($value)
1423
 * @method string getIotInstanceId()
1424
 * @method $this withIotInstanceId($value)
1425
 * @method string getContainerConfig()
1426
 * @method $this withContainerConfig($value)
1427
 * @method string getDriverVersion()
1428
 * @method $this withDriverVersion($value)
1429
 * @method string getDriverConfig()
1430
 * @method $this withDriverConfig($value)
1431
 * @method string getSourceConfig()
1432
 * @method $this withSourceConfig($value)
1433
 * @method string getApiProduct()
1434
 * @method string getApiRevision()
1435
 */
1436
class CreateEdgeDriverVersion extends Rpc
1437
{
1438
1439
    /**
1440
     * @param string $value
1441
     *
1442
     * @return $this
1443
     */
1444
    public function withApiProduct($value)
1445
    {
1446
        $this->data['ApiProduct'] = $value;
1447
        $this->options['form_params']['ApiProduct'] = $value;
1448
1449
        return $this;
1450
    }
1451
1452
    /**
1453
     * @param string $value
1454
     *
1455
     * @return $this
1456
     */
1457
    public function withApiRevision($value)
1458
    {
1459
        $this->data['ApiRevision'] = $value;
1460
        $this->options['form_params']['ApiRevision'] = $value;
1461
1462
        return $this;
1463
    }
1464
}
1465
1466
/**
1467
 * @method string getSpec()
1468
 * @method $this withSpec($value)
1469
 * @method string getIotInstanceId()
1470
 * @method $this withIotInstanceId($value)
1471
 * @method string getTags()
1472
 * @method $this withTags($value)
1473
 * @method string getApiProduct()
1474
 * @method string getName()
1475
 * @method $this withName($value)
1476
 * @method string getApiRevision()
1477
 */
1478
class CreateEdgeInstance extends Rpc
1479
{
1480
1481
    /**
1482
     * @param string $value
1483
     *
1484
     * @return $this
1485
     */
1486
    public function withApiProduct($value)
1487
    {
1488
        $this->data['ApiProduct'] = $value;
1489
        $this->options['form_params']['ApiProduct'] = $value;
1490
1491
        return $this;
1492
    }
1493
1494
    /**
1495
     * @param string $value
1496
     *
1497
     * @return $this
1498
     */
1499
    public function withApiRevision($value)
1500
    {
1501
        $this->data['ApiRevision'] = $value;
1502
        $this->options['form_params']['ApiRevision'] = $value;
1503
1504
        return $this;
1505
    }
1506
}
1507
1508
/**
1509
 * @method string getType()
1510
 * @method $this withType($value)
1511
 * @method string getIotInstanceId()
1512
 * @method $this withIotInstanceId($value)
1513
 * @method string getInstanceId()
1514
 * @method $this withInstanceId($value)
1515
 * @method string getApiProduct()
1516
 * @method string getApiRevision()
1517
 */
1518
class CreateEdgeInstanceDeployment extends Rpc
1519
{
1520
1521
    /**
1522
     * @param string $value
1523
     *
1524
     * @return $this
1525
     */
1526
    public function withApiProduct($value)
1527
    {
1528
        $this->data['ApiProduct'] = $value;
1529
        $this->options['form_params']['ApiProduct'] = $value;
1530
1531
        return $this;
1532
    }
1533
1534
    /**
1535
     * @param string $value
1536
     *
1537
     * @return $this
1538
     */
1539
    public function withApiRevision($value)
1540
    {
1541
        $this->data['ApiRevision'] = $value;
1542
        $this->options['form_params']['ApiRevision'] = $value;
1543
1544
        return $this;
1545
    }
1546
}
1547
1548
/**
1549
 * @method string getProductKey()
1550
 * @method $this withProductKey($value)
1551
 * @method string getIotInstanceId()
1552
 * @method $this withIotInstanceId($value)
1553
 * @method array getDeviceInfo()
1554
 */
1555
class CreateLoRaNodesTask extends Rpc
1556
{
1557
1558
    /**
1559
     * @param array $deviceInfo
1560
     *
1561
     * @return $this
1562
     */
1563
	public function withDeviceInfo(array $deviceInfo)
1564
	{
1565
	    $this->data['DeviceInfo'] = $deviceInfo;
1566
		foreach ($deviceInfo as $depth1 => $depth1Value) {
1567
			$this->options['query']['DeviceInfo.' . ($depth1 + 1) . '.PinCode'] = $depth1Value['PinCode'];
1568
			$this->options['query']['DeviceInfo.' . ($depth1 + 1) . '.DevEui'] = $depth1Value['DevEui'];
1569
		}
1570
1571
		return $this;
1572
    }
1573
}
1574
1575
/**
1576
 * @method string getRetryCount()
1577
 * @method $this withRetryCount($value)
1578
 * @method string getFirmwareId()
1579
 * @method $this withFirmwareId($value)
1580
 * @method string getProductKey()
1581
 * @method $this withProductKey($value)
1582
 * @method string getTimeoutInMinutes()
1583
 * @method $this withTimeoutInMinutes($value)
1584
 * @method string getRetryInterval()
1585
 * @method $this withRetryInterval($value)
1586
 * @method array getSrcVersion()
1587
 * @method string getIotInstanceId()
1588
 * @method $this withIotInstanceId($value)
1589
 * @method string getMaximumPerMinute()
1590
 * @method $this withMaximumPerMinute($value)
1591
 */
1592
class CreateOTADynamicUpgradeJob extends Rpc
1593
{
1594
1595
    /**
1596
     * @param array $srcVersion
1597
     *
1598
     * @return $this
1599
     */
1600
	public function withSrcVersion(array $srcVersion)
1601
	{
1602
	    $this->data['SrcVersion'] = $srcVersion;
1603
		foreach ($srcVersion as $i => $iValue) {
1604
			$this->options['query']['SrcVersion.' . ($i + 1)] = $iValue;
1605
		}
1606
1607
		return $this;
1608
    }
1609
}
1610
1611
/**
1612
 * @method string getSignMethod()
1613
 * @method $this withSignMethod($value)
1614
 * @method string getType()
1615
 * @method $this withType($value)
1616
 * @method string getFirmwareUrl()
1617
 * @method $this withFirmwareUrl($value)
1618
 * @method string getIotInstanceId()
1619
 * @method $this withIotInstanceId($value)
1620
 * @method string getFirmwareDesc()
1621
 * @method $this withFirmwareDesc($value)
1622
 * @method string getModuleName()
1623
 * @method $this withModuleName($value)
1624
 * @method string getFirmwareSign()
1625
 * @method $this withFirmwareSign($value)
1626
 * @method string getFirmwareSize()
1627
 * @method $this withFirmwareSize($value)
1628
 * @method string getFirmwareName()
1629
 * @method $this withFirmwareName($value)
1630
 * @method string getProductKey()
1631
 * @method $this withProductKey($value)
1632
 * @method string getSrcVersion()
1633
 * @method $this withSrcVersion($value)
1634
 * @method string getApiProduct()
1635
 * @method string getApiRevision()
1636
 * @method string getDestVersion()
1637
 * @method $this withDestVersion($value)
1638
 */
1639
class CreateOTAFirmware extends Rpc
1640
{
1641
1642
    /**
1643
     * @param string $value
1644
     *
1645
     * @return $this
1646
     */
1647
    public function withApiProduct($value)
1648
    {
1649
        $this->data['ApiProduct'] = $value;
1650
        $this->options['form_params']['ApiProduct'] = $value;
1651
1652
        return $this;
1653
    }
1654
1655
    /**
1656
     * @param string $value
1657
     *
1658
     * @return $this
1659
     */
1660
    public function withApiRevision($value)
1661
    {
1662
        $this->data['ApiRevision'] = $value;
1663
        $this->options['form_params']['ApiRevision'] = $value;
1664
1665
        return $this;
1666
    }
1667
}
1668
1669
/**
1670
 * @method string getRetryCount()
1671
 * @method $this withRetryCount($value)
1672
 * @method string getTimeoutInMinutes()
1673
 * @method $this withTimeoutInMinutes($value)
1674
 * @method string getIotInstanceId()
1675
 * @method $this withIotInstanceId($value)
1676
 * @method string getTargetSelection()
1677
 * @method $this withTargetSelection($value)
1678
 * @method string getGrayPercent()
1679
 * @method $this withGrayPercent($value)
1680
 * @method string getFirmwareId()
1681
 * @method $this withFirmwareId($value)
1682
 * @method string getProductKey()
1683
 * @method $this withProductKey($value)
1684
 * @method string getRetryInterval()
1685
 * @method $this withRetryInterval($value)
1686
 * @method array getSrcVersion()
1687
 * @method string getScheduleTime()
1688
 * @method $this withScheduleTime($value)
1689
 * @method string getApiProduct()
1690
 * @method string getApiRevision()
1691
 * @method string getMaximumPerMinute()
1692
 * @method $this withMaximumPerMinute($value)
1693
 * @method array getTargetDeviceName()
1694
 */
1695
class CreateOTAStaticUpgradeJob extends Rpc
1696
{
1697
1698
    /**
1699
     * @param array $srcVersion
1700
     *
1701
     * @return $this
1702
     */
1703
	public function withSrcVersion(array $srcVersion)
1704
	{
1705
	    $this->data['SrcVersion'] = $srcVersion;
1706
		foreach ($srcVersion as $i => $iValue) {
1707
			$this->options['query']['SrcVersion.' . ($i + 1)] = $iValue;
1708
		}
1709
1710
		return $this;
1711
    }
1712
1713
    /**
1714
     * @param string $value
1715
     *
1716
     * @return $this
1717
     */
1718
    public function withApiProduct($value)
1719
    {
1720
        $this->data['ApiProduct'] = $value;
1721
        $this->options['form_params']['ApiProduct'] = $value;
1722
1723
        return $this;
1724
    }
1725
1726
    /**
1727
     * @param string $value
1728
     *
1729
     * @return $this
1730
     */
1731
    public function withApiRevision($value)
1732
    {
1733
        $this->data['ApiRevision'] = $value;
1734
        $this->options['form_params']['ApiRevision'] = $value;
1735
1736
        return $this;
1737
    }
1738
1739
    /**
1740
     * @param array $targetDeviceName
1741
     *
1742
     * @return $this
1743
     */
1744
	public function withTargetDeviceName(array $targetDeviceName)
1745
	{
1746
	    $this->data['TargetDeviceName'] = $targetDeviceName;
1747
		foreach ($targetDeviceName as $i => $iValue) {
1748
			$this->options['query']['TargetDeviceName.' . ($i + 1)] = $iValue;
1749
		}
1750
1751
		return $this;
1752
    }
1753
}
1754
1755
/**
1756
 * @method string getTimeoutInMinutes()
1757
 * @method $this withTimeoutInMinutes($value)
1758
 * @method string getIotInstanceId()
1759
 * @method $this withIotInstanceId($value)
1760
 * @method string getFirmwareId()
1761
 * @method $this withFirmwareId($value)
1762
 * @method string getProductKey()
1763
 * @method $this withProductKey($value)
1764
 * @method string getApiProduct()
1765
 * @method string getApiRevision()
1766
 * @method array getTargetDeviceName()
1767
 */
1768
class CreateOTAVerifyJob extends Rpc
1769
{
1770
1771
    /**
1772
     * @param string $value
1773
     *
1774
     * @return $this
1775
     */
1776
    public function withApiProduct($value)
1777
    {
1778
        $this->data['ApiProduct'] = $value;
1779
        $this->options['form_params']['ApiProduct'] = $value;
1780
1781
        return $this;
1782
    }
1783
1784
    /**
1785
     * @param string $value
1786
     *
1787
     * @return $this
1788
     */
1789
    public function withApiRevision($value)
1790
    {
1791
        $this->data['ApiRevision'] = $value;
1792
        $this->options['form_params']['ApiRevision'] = $value;
1793
1794
        return $this;
1795
    }
1796
1797
    /**
1798
     * @param array $targetDeviceName
1799
     *
1800
     * @return $this
1801
     */
1802
	public function withTargetDeviceName(array $targetDeviceName)
1803
	{
1804
	    $this->data['TargetDeviceName'] = $targetDeviceName;
1805
		foreach ($targetDeviceName as $i => $iValue) {
1806
			$this->options['query']['TargetDeviceName.' . ($i + 1)] = $iValue;
1807
		}
1808
1809
		return $this;
1810
    }
1811
}
1812
1813
/**
1814
 * @method string getNodeType()
1815
 * @method $this withNodeType($value)
1816
 * @method string getDescription()
1817
 * @method $this withDescription($value)
1818
 * @method string getCategoryKey()
1819
 * @method $this withCategoryKey($value)
1820
 * @method string getJoinPermissionId()
1821
 * @method $this withJoinPermissionId($value)
1822
 * @method string getAuthType()
1823
 * @method $this withAuthType($value)
1824
 * @method string getResourceGroupId()
1825
 * @method $this withResourceGroupId($value)
1826
 * @method string getIotInstanceId()
1827
 * @method $this withIotInstanceId($value)
1828
 * @method string getProductName()
1829
 * @method $this withProductName($value)
1830
 * @method string getAliyunCommodityCode()
1831
 * @method $this withAliyunCommodityCode($value)
1832
 * @method string getPublishAuto()
1833
 * @method $this withPublishAuto($value)
1834
 * @method string getCategoryId()
1835
 * @method $this withCategoryId($value)
1836
 * @method string getDataFormat()
1837
 * @method $this withDataFormat($value)
1838
 * @method string getId2()
1839
 * @method $this withId2($value)
1840
 * @method string getNetType()
1841
 * @method $this withNetType($value)
1842
 * @method string getProtocolType()
1843
 * @method $this withProtocolType($value)
1844
 */
1845
class CreateProduct extends Rpc
1846
{
1847
}
1848
1849
/**
1850
 * @method string getProductKey()
1851
 * @method $this withProductKey($value)
1852
 * @method array getProductTag()
1853
 * @method string getIotInstanceId()
1854
 * @method $this withIotInstanceId($value)
1855
 */
1856
class CreateProductTags extends Rpc
1857
{
1858
1859
    /**
1860
     * @param array $productTag
1861
     *
1862
     * @return $this
1863
     */
1864
	public function withProductTag(array $productTag)
1865
	{
1866
	    $this->data['ProductTag'] = $productTag;
1867
		foreach ($productTag as $depth1 => $depth1Value) {
1868
			$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
1869
			$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
1870
		}
1871
1872
		return $this;
1873
    }
1874
}
1875
1876
/**
1877
 * @method string getProductKey()
1878
 * @method $this withProductKey($value)
1879
 * @method string getIotInstanceId()
1880
 * @method $this withIotInstanceId($value)
1881
 * @method string getTopicShortName()
1882
 * @method $this withTopicShortName($value)
1883
 * @method string getOperation()
1884
 * @method $this withOperation($value)
1885
 * @method string getDesc()
1886
 * @method $this withDesc($value)
1887
 */
1888
class CreateProductTopic extends Rpc
1889
{
1890
}
1891
1892
/**
1893
 * @method string getSelect()
1894
 * @method $this withSelect($value)
1895
 * @method string getRuleDesc()
1896
 * @method $this withRuleDesc($value)
1897
 * @method string getShortTopic()
1898
 * @method $this withShortTopic($value)
1899
 * @method string getResourceGroupId()
1900
 * @method $this withResourceGroupId($value)
1901
 * @method string getDataType()
1902
 * @method $this withDataType($value)
1903
 * @method string getIotInstanceId()
1904
 * @method $this withIotInstanceId($value)
1905
 * @method string getWhere()
1906
 * @method $this withWhere($value)
1907
 * @method string getTopicType()
1908
 * @method $this withTopicType($value)
1909
 * @method string getProductKey()
1910
 * @method $this withProductKey($value)
1911
 * @method string getName()
1912
 * @method $this withName($value)
1913
 */
1914
class CreateRule extends Rpc
1915
{
1916
}
1917
1918
/**
1919
 * @method string getConfiguration()
1920
 * @method $this withConfiguration($value)
1921
 * @method string getType()
1922
 * @method $this withType($value)
1923
 * @method string getIotInstanceId()
1924
 * @method $this withIotInstanceId($value)
1925
 * @method string getRuleId()
1926
 * @method $this withRuleId($value)
1927
 * @method string getErrorActionFlag()
1928
 * @method $this withErrorActionFlag($value)
1929
 */
1930
class CreateRuleAction extends Rpc
1931
{
1932
}
1933
1934
/**
1935
 * @method string getProductKey()
1936
 * @method $this withProductKey($value)
1937
 * @method string getApiProduct()
1938
 * @method string getThingModelJson()
1939
 * @method $this withThingModelJson($value)
1940
 * @method string getApiRevision()
1941
 */
1942
class CreateThingModel extends Rpc
1943
{
1944
1945
    /**
1946
     * @param string $value
1947
     *
1948
     * @return $this
1949
     */
1950
    public function withApiProduct($value)
1951
    {
1952
        $this->data['ApiProduct'] = $value;
1953
        $this->options['form_params']['ApiProduct'] = $value;
1954
1955
        return $this;
1956
    }
1957
1958
    /**
1959
     * @param string $value
1960
     *
1961
     * @return $this
1962
     */
1963
    public function withApiRevision($value)
1964
    {
1965
        $this->data['ApiRevision'] = $value;
1966
        $this->options['form_params']['ApiRevision'] = $value;
1967
1968
        return $this;
1969
    }
1970
}
1971
1972
/**
1973
 * @method string getIotInstanceId()
1974
 * @method $this withIotInstanceId($value)
1975
 * @method array getDstTopic()
1976
 * @method string getApiProduct()
1977
 * @method string getApiRevision()
1978
 * @method string getSrcTopic()
1979
 * @method $this withSrcTopic($value)
1980
 */
1981
class CreateTopicRouteTable extends Rpc
1982
{
1983
1984
    /**
1985
     * @param array $dstTopic
1986
     *
1987
     * @return $this
1988
     */
1989
	public function withDstTopic(array $dstTopic)
1990
	{
1991
	    $this->data['DstTopic'] = $dstTopic;
1992
		foreach ($dstTopic as $i => $iValue) {
1993
			$this->options['query']['DstTopic.' . ($i + 1)] = $iValue;
1994
		}
1995
1996
		return $this;
1997
    }
1998
1999
    /**
2000
     * @param string $value
2001
     *
2002
     * @return $this
2003
     */
2004
    public function withApiProduct($value)
2005
    {
2006
        $this->data['ApiProduct'] = $value;
2007
        $this->options['form_params']['ApiProduct'] = $value;
2008
2009
        return $this;
2010
    }
2011
2012
    /**
2013
     * @param string $value
2014
     *
2015
     * @return $this
2016
     */
2017
    public function withApiRevision($value)
2018
    {
2019
        $this->data['ApiRevision'] = $value;
2020
        $this->options['form_params']['ApiRevision'] = $value;
2021
2022
        return $this;
2023
    }
2024
}
2025
2026
/**
2027
 * @method string getProductKey()
2028
 * @method $this withProductKey($value)
2029
 * @method string getIotId()
2030
 * @method $this withIotId($value)
2031
 * @method string getIotInstanceId()
2032
 * @method $this withIotInstanceId($value)
2033
 * @method string getDeviceName()
2034
 * @method $this withDeviceName($value)
2035
 */
2036
class DeleteDevice extends Rpc
2037
{
2038
}
2039
2040
/**
2041
 * @method string getProductKey()
2042
 * @method $this withProductKey($value)
2043
 * @method string getIotId()
2044
 * @method $this withIotId($value)
2045
 * @method string getIotInstanceId()
2046
 * @method $this withIotInstanceId($value)
2047
 * @method string getDeviceName()
2048
 * @method $this withDeviceName($value)
2049
 * @method string getFileId()
2050
 * @method $this withFileId($value)
2051
 */
2052
class DeleteDeviceFile extends Rpc
2053
{
2054
}
2055
2056
/**
2057
 * @method string getGroupId()
2058
 * @method $this withGroupId($value)
2059
 * @method string getIotInstanceId()
2060
 * @method $this withIotInstanceId($value)
2061
 */
2062
class DeleteDeviceGroup extends Rpc
2063
{
2064
}
2065
2066
/**
2067
 * @method string getProductKey()
2068
 * @method $this withProductKey($value)
2069
 * @method string getPropKey()
2070
 * @method $this withPropKey($value)
2071
 * @method string getIotId()
2072
 * @method $this withIotId($value)
2073
 * @method string getIotInstanceId()
2074
 * @method $this withIotInstanceId($value)
2075
 * @method string getDeviceName()
2076
 * @method $this withDeviceName($value)
2077
 */
2078
class DeleteDeviceProp extends Rpc
2079
{
2080
}
2081
2082
/**
2083
 * @method string getDriverId()
2084
 * @method $this withDriverId($value)
2085
 * @method string getIotInstanceId()
2086
 * @method $this withIotInstanceId($value)
2087
 * @method string getApiProduct()
2088
 * @method string getApiRevision()
2089
 */
2090
class DeleteEdgeDriver extends Rpc
2091
{
2092
2093
    /**
2094
     * @param string $value
2095
     *
2096
     * @return $this
2097
     */
2098
    public function withApiProduct($value)
2099
    {
2100
        $this->data['ApiProduct'] = $value;
2101
        $this->options['form_params']['ApiProduct'] = $value;
2102
2103
        return $this;
2104
    }
2105
2106
    /**
2107
     * @param string $value
2108
     *
2109
     * @return $this
2110
     */
2111
    public function withApiRevision($value)
2112
    {
2113
        $this->data['ApiRevision'] = $value;
2114
        $this->options['form_params']['ApiRevision'] = $value;
2115
2116
        return $this;
2117
    }
2118
}
2119
2120
/**
2121
 * @method string getDriverId()
2122
 * @method $this withDriverId($value)
2123
 * @method string getIotInstanceId()
2124
 * @method $this withIotInstanceId($value)
2125
 * @method string getDriverVersion()
2126
 * @method $this withDriverVersion($value)
2127
 * @method string getApiProduct()
2128
 * @method string getApiRevision()
2129
 */
2130
class DeleteEdgeDriverVersion extends Rpc
2131
{
2132
2133
    /**
2134
     * @param string $value
2135
     *
2136
     * @return $this
2137
     */
2138
    public function withApiProduct($value)
2139
    {
2140
        $this->data['ApiProduct'] = $value;
2141
        $this->options['form_params']['ApiProduct'] = $value;
2142
2143
        return $this;
2144
    }
2145
2146
    /**
2147
     * @param string $value
2148
     *
2149
     * @return $this
2150
     */
2151
    public function withApiRevision($value)
2152
    {
2153
        $this->data['ApiRevision'] = $value;
2154
        $this->options['form_params']['ApiRevision'] = $value;
2155
2156
        return $this;
2157
    }
2158
}
2159
2160
/**
2161
 * @method string getIotInstanceId()
2162
 * @method $this withIotInstanceId($value)
2163
 * @method string getInstanceId()
2164
 * @method $this withInstanceId($value)
2165
 * @method string getApiProduct()
2166
 * @method string getApiRevision()
2167
 */
2168
class DeleteEdgeInstance extends Rpc
2169
{
2170
2171
    /**
2172
     * @param string $value
2173
     *
2174
     * @return $this
2175
     */
2176
    public function withApiProduct($value)
2177
    {
2178
        $this->data['ApiProduct'] = $value;
2179
        $this->options['form_params']['ApiProduct'] = $value;
2180
2181
        return $this;
2182
    }
2183
2184
    /**
2185
     * @param string $value
2186
     *
2187
     * @return $this
2188
     */
2189
    public function withApiRevision($value)
2190
    {
2191
        $this->data['ApiRevision'] = $value;
2192
        $this->options['form_params']['ApiRevision'] = $value;
2193
2194
        return $this;
2195
    }
2196
}
2197
2198
/**
2199
 * @method string getIotInstanceId()
2200
 * @method $this withIotInstanceId($value)
2201
 * @method string getFirmwareId()
2202
 * @method $this withFirmwareId($value)
2203
 * @method string getApiProduct()
2204
 * @method string getApiRevision()
2205
 */
2206
class DeleteOTAFirmware extends Rpc
2207
{
2208
2209
    /**
2210
     * @param string $value
2211
     *
2212
     * @return $this
2213
     */
2214
    public function withApiProduct($value)
2215
    {
2216
        $this->data['ApiProduct'] = $value;
2217
        $this->options['form_params']['ApiProduct'] = $value;
2218
2219
        return $this;
2220
    }
2221
2222
    /**
2223
     * @param string $value
2224
     *
2225
     * @return $this
2226
     */
2227
    public function withApiRevision($value)
2228
    {
2229
        $this->data['ApiRevision'] = $value;
2230
        $this->options['form_params']['ApiRevision'] = $value;
2231
2232
        return $this;
2233
    }
2234
}
2235
2236
/**
2237
 * @method string getProductKey()
2238
 * @method $this withProductKey($value)
2239
 * @method string getIotInstanceId()
2240
 * @method $this withIotInstanceId($value)
2241
 */
2242
class DeleteProduct extends Rpc
2243
{
2244
}
2245
2246
/**
2247
 * @method string getProductKey()
2248
 * @method $this withProductKey($value)
2249
 * @method string getIotInstanceId()
2250
 * @method $this withIotInstanceId($value)
2251
 * @method array getProductTagKey()
2252
 */
2253
class DeleteProductTags extends Rpc
2254
{
2255
2256
    /**
2257
     * @param array $productTagKey
2258
     *
2259
     * @return $this
2260
     */
2261
	public function withProductTagKey(array $productTagKey)
2262
	{
2263
	    $this->data['ProductTagKey'] = $productTagKey;
2264
		foreach ($productTagKey as $i => $iValue) {
2265
			$this->options['query']['ProductTagKey.' . ($i + 1)] = $iValue;
2266
		}
2267
2268
		return $this;
2269
    }
2270
}
2271
2272
/**
2273
 * @method string getTopicId()
2274
 * @method $this withTopicId($value)
2275
 * @method string getIotInstanceId()
2276
 * @method $this withIotInstanceId($value)
2277
 */
2278
class DeleteProductTopic extends Rpc
2279
{
2280
}
2281
2282
/**
2283
 * @method string getIotInstanceId()
2284
 * @method $this withIotInstanceId($value)
2285
 * @method string getRuleId()
2286
 * @method $this withRuleId($value)
2287
 */
2288
class DeleteRule extends Rpc
2289
{
2290
}
2291
2292
/**
2293
 * @method string getIotInstanceId()
2294
 * @method $this withIotInstanceId($value)
2295
 * @method string getActionId()
2296
 * @method $this withActionId($value)
2297
 */
2298
class DeleteRuleAction extends Rpc
2299
{
2300
}
2301
2302
/**
2303
 * @method array getServiceIdentifier()
2304
 * @method string getProductKey()
2305
 * @method $this withProductKey($value)
2306
 * @method string getResourceGroupId()
2307
 * @method $this withResourceGroupId($value)
2308
 * @method array getPropertyIdentifier()
2309
 * @method string getIotInstanceId()
2310
 * @method $this withIotInstanceId($value)
2311
 * @method array getEventIdentifier()
2312
 */
2313
class DeleteThingModel extends Rpc
2314
{
2315
2316
    /**
2317
     * @param array $serviceIdentifier
2318
     *
2319
     * @return $this
2320
     */
2321
	public function withServiceIdentifier(array $serviceIdentifier)
2322
	{
2323
	    $this->data['ServiceIdentifier'] = $serviceIdentifier;
2324
		foreach ($serviceIdentifier as $i => $iValue) {
2325
			$this->options['query']['ServiceIdentifier.' . ($i + 1)] = $iValue;
2326
		}
2327
2328
		return $this;
2329
    }
2330
2331
    /**
2332
     * @param array $propertyIdentifier
2333
     *
2334
     * @return $this
2335
     */
2336
	public function withPropertyIdentifier(array $propertyIdentifier)
2337
	{
2338
	    $this->data['PropertyIdentifier'] = $propertyIdentifier;
2339
		foreach ($propertyIdentifier as $i => $iValue) {
2340
			$this->options['query']['PropertyIdentifier.' . ($i + 1)] = $iValue;
2341
		}
2342
2343
		return $this;
2344
    }
2345
2346
    /**
2347
     * @param array $eventIdentifier
2348
     *
2349
     * @return $this
2350
     */
2351
	public function withEventIdentifier(array $eventIdentifier)
2352
	{
2353
	    $this->data['EventIdentifier'] = $eventIdentifier;
2354
		foreach ($eventIdentifier as $i => $iValue) {
2355
			$this->options['query']['EventIdentifier.' . ($i + 1)] = $iValue;
2356
		}
2357
2358
		return $this;
2359
    }
2360
}
2361
2362
/**
2363
 * @method array getDstTopic()
2364
 * @method string getIotInstanceId()
2365
 * @method $this withIotInstanceId($value)
2366
 * @method string getSrcTopic()
2367
 * @method $this withSrcTopic($value)
2368
 */
2369
class DeleteTopicRouteTable extends Rpc
2370
{
2371
2372
    /**
2373
     * @param array $dstTopic
2374
     *
2375
     * @return $this
2376
     */
2377
	public function withDstTopic(array $dstTopic)
2378
	{
2379
	    $this->data['DstTopic'] = $dstTopic;
2380
		foreach ($dstTopic as $i => $iValue) {
2381
			$this->options['query']['DstTopic.' . ($i + 1)] = $iValue;
2382
		}
2383
2384
		return $this;
2385
    }
2386
}
2387
2388
/**
2389
 * @method string getProductKey()
2390
 * @method $this withProductKey($value)
2391
 * @method string getIotId()
2392
 * @method $this withIotId($value)
2393
 * @method string getIotInstanceId()
2394
 * @method $this withIotInstanceId($value)
2395
 * @method string getDeviceName()
2396
 * @method $this withDeviceName($value)
2397
 */
2398
class DisableThing extends Rpc
2399
{
2400
}
2401
2402
/**
2403
 * @method string getProductKey()
2404
 * @method $this withProductKey($value)
2405
 * @method string getIotId()
2406
 * @method $this withIotId($value)
2407
 * @method string getIotInstanceId()
2408
 * @method $this withIotInstanceId($value)
2409
 * @method string getDeviceName()
2410
 * @method $this withDeviceName($value)
2411
 */
2412
class EnableThing extends Rpc
2413
{
2414
}
2415
2416
/**
2417
 * @method string getIotInstanceId()
2418
 * @method $this withIotInstanceId($value)
2419
 * @method string getApiProduct()
2420
 * @method string getApiRevision()
2421
 */
2422
class GenerateOTAUploadURL extends Rpc
2423
{
2424
2425
    /**
2426
     * @param string $value
2427
     *
2428
     * @return $this
2429
     */
2430
    public function withApiProduct($value)
2431
    {
2432
        $this->data['ApiProduct'] = $value;
2433
        $this->options['form_params']['ApiProduct'] = $value;
2434
2435
        return $this;
2436
    }
2437
2438
    /**
2439
     * @param string $value
2440
     *
2441
     * @return $this
2442
     */
2443
    public function withApiRevision($value)
2444
    {
2445
        $this->data['ApiRevision'] = $value;
2446
        $this->options['form_params']['ApiRevision'] = $value;
2447
2448
        return $this;
2449
    }
2450
}
2451
2452
/**
2453
 * @method string getIotInstanceId()
2454
 * @method string getApiSrn()
2455
 * @method string getApiProduct()
2456
 * @method string getApiRevision()
2457
 */
2458
class GetDataAPIServiceDetail extends Rpc
2459
{
2460
2461
    /**
2462
     * @param string $value
2463
     *
2464
     * @return $this
2465
     */
2466
    public function withIotInstanceId($value)
2467
    {
2468
        $this->data['IotInstanceId'] = $value;
2469
        $this->options['form_params']['IotInstanceId'] = $value;
2470
2471
        return $this;
2472
    }
2473
2474
    /**
2475
     * @param string $value
2476
     *
2477
     * @return $this
2478
     */
2479
    public function withApiSrn($value)
2480
    {
2481
        $this->data['ApiSrn'] = $value;
2482
        $this->options['form_params']['ApiSrn'] = $value;
2483
2484
        return $this;
2485
    }
2486
2487
    /**
2488
     * @param string $value
2489
     *
2490
     * @return $this
2491
     */
2492
    public function withApiProduct($value)
2493
    {
2494
        $this->data['ApiProduct'] = $value;
2495
        $this->options['form_params']['ApiProduct'] = $value;
2496
2497
        return $this;
2498
    }
2499
2500
    /**
2501
     * @param string $value
2502
     *
2503
     * @return $this
2504
     */
2505
    public function withApiRevision($value)
2506
    {
2507
        $this->data['ApiRevision'] = $value;
2508
        $this->options['form_params']['ApiRevision'] = $value;
2509
2510
        return $this;
2511
    }
2512
}
2513
2514
/**
2515
 * @method string getShadowMessage()
2516
 * @method $this withShadowMessage($value)
2517
 * @method string getProductKey()
2518
 * @method $this withProductKey($value)
2519
 * @method string getIotInstanceId()
2520
 * @method $this withIotInstanceId($value)
2521
 * @method string getDeviceName()
2522
 * @method $this withDeviceName($value)
2523
 */
2524
class GetDeviceShadow extends Rpc
2525
{
2526
}
2527
2528
/**
2529
 * @method string getProductKey()
2530
 * @method $this withProductKey($value)
2531
 * @method string getIotId()
2532
 * @method $this withIotId($value)
2533
 * @method string getIotInstanceId()
2534
 * @method $this withIotInstanceId($value)
2535
 * @method string getDeviceName()
2536
 * @method $this withDeviceName($value)
2537
 */
2538
class GetDeviceStatus extends Rpc
2539
{
2540
}
2541
2542
/**
2543
 * @method string getDriverId()
2544
 * @method $this withDriverId($value)
2545
 * @method string getIotInstanceId()
2546
 * @method $this withIotInstanceId($value)
2547
 * @method string getDriverVersion()
2548
 * @method $this withDriverVersion($value)
2549
 * @method string getApiProduct()
2550
 * @method string getApiRevision()
2551
 */
2552
class GetEdgeDriverVersion extends Rpc
2553
{
2554
2555
    /**
2556
     * @param string $value
2557
     *
2558
     * @return $this
2559
     */
2560
    public function withApiProduct($value)
2561
    {
2562
        $this->data['ApiProduct'] = $value;
2563
        $this->options['form_params']['ApiProduct'] = $value;
2564
2565
        return $this;
2566
    }
2567
2568
    /**
2569
     * @param string $value
2570
     *
2571
     * @return $this
2572
     */
2573
    public function withApiRevision($value)
2574
    {
2575
        $this->data['ApiRevision'] = $value;
2576
        $this->options['form_params']['ApiRevision'] = $value;
2577
2578
        return $this;
2579
    }
2580
}
2581
2582
/**
2583
 * @method string getIotInstanceId()
2584
 * @method $this withIotInstanceId($value)
2585
 * @method string getInstanceId()
2586
 * @method $this withInstanceId($value)
2587
 * @method string getApiProduct()
2588
 * @method string getApiRevision()
2589
 */
2590
class GetEdgeInstance extends Rpc
2591
{
2592
2593
    /**
2594
     * @param string $value
2595
     *
2596
     * @return $this
2597
     */
2598
    public function withApiProduct($value)
2599
    {
2600
        $this->data['ApiProduct'] = $value;
2601
        $this->options['form_params']['ApiProduct'] = $value;
2602
2603
        return $this;
2604
    }
2605
2606
    /**
2607
     * @param string $value
2608
     *
2609
     * @return $this
2610
     */
2611
    public function withApiRevision($value)
2612
    {
2613
        $this->data['ApiRevision'] = $value;
2614
        $this->options['form_params']['ApiRevision'] = $value;
2615
2616
        return $this;
2617
    }
2618
}
2619
2620
/**
2621
 * @method string getIotInstanceId()
2622
 * @method $this withIotInstanceId($value)
2623
 * @method string getInstanceId()
2624
 * @method $this withInstanceId($value)
2625
 * @method string getDeploymentId()
2626
 * @method $this withDeploymentId($value)
2627
 * @method string getApiProduct()
2628
 * @method string getApiRevision()
2629
 */
2630
class GetEdgeInstanceDeployment extends Rpc
2631
{
2632
2633
    /**
2634
     * @param string $value
2635
     *
2636
     * @return $this
2637
     */
2638
    public function withApiProduct($value)
2639
    {
2640
        $this->data['ApiProduct'] = $value;
2641
        $this->options['form_params']['ApiProduct'] = $value;
2642
2643
        return $this;
2644
    }
2645
2646
    /**
2647
     * @param string $value
2648
     *
2649
     * @return $this
2650
     */
2651
    public function withApiRevision($value)
2652
    {
2653
        $this->data['ApiRevision'] = $value;
2654
        $this->options['form_params']['ApiRevision'] = $value;
2655
2656
        return $this;
2657
    }
2658
}
2659
2660
/**
2661
 * @method string getProductKey()
2662
 * @method $this withProductKey($value)
2663
 * @method string getIotId()
2664
 * @method $this withIotId($value)
2665
 * @method string getIotInstanceId()
2666
 * @method $this withIotInstanceId($value)
2667
 * @method string getDeviceName()
2668
 * @method $this withDeviceName($value)
2669
 */
2670
class GetGatewayBySubDevice extends Rpc
2671
{
2672
}
2673
2674
/**
2675
 * @method string getIotInstanceId()
2676
 * @method $this withIotInstanceId($value)
2677
 * @method string getTaskId()
2678
 * @method $this withTaskId($value)
2679
 */
2680
class GetLoraNodesTask extends Rpc
2681
{
2682
}
2683
2684
/**
2685
 * @method string getIotInstanceId()
2686
 * @method $this withIotInstanceId($value)
2687
 * @method string getTaskId()
2688
 * @method $this withTaskId($value)
2689
 */
2690
class GetNodesAddingTask extends Rpc
2691
{
2692
}
2693
2694
/**
2695
 * @method string getIotInstanceId()
2696
 * @method $this withIotInstanceId($value)
2697
 * @method string getRuleId()
2698
 * @method $this withRuleId($value)
2699
 */
2700
class GetRule extends Rpc
2701
{
2702
}
2703
2704
/**
2705
 * @method string getIotInstanceId()
2706
 * @method $this withIotInstanceId($value)
2707
 * @method string getActionId()
2708
 * @method $this withActionId($value)
2709
 */
2710
class GetRuleAction extends Rpc
2711
{
2712
}
2713
2714
/**
2715
 * @method string getSimple()
2716
 * @method $this withSimple($value)
2717
 * @method string getProductKey()
2718
 * @method $this withProductKey($value)
2719
 * @method string getResourceGroupId()
2720
 * @method $this withResourceGroupId($value)
2721
 * @method string getIotInstanceId()
2722
 * @method $this withIotInstanceId($value)
2723
 * @method string getModelVersion()
2724
 * @method $this withModelVersion($value)
2725
 */
2726
class GetThingModelTsl extends Rpc
2727
{
2728
}
2729
2730
/**
2731
 * @method string getCategoryKey()
2732
 * @method $this withCategoryKey($value)
2733
 * @method string getResourceGroupId()
2734
 * @method $this withResourceGroupId($value)
2735
 * @method string getIotInstanceId()
2736
 * @method $this withIotInstanceId($value)
2737
 */
2738
class GetThingTemplate extends Rpc
2739
{
2740
}
2741
2742
/**
2743
 * @method string getProductKey()
2744
 * @method $this withProductKey($value)
2745
 * @method string getIotId()
2746
 * @method $this withIotId($value)
2747
 * @method string getPageNo()
2748
 * @method $this withPageNo($value)
2749
 * @method string getIotInstanceId()
2750
 * @method $this withIotInstanceId($value)
2751
 * @method string getPageSize()
2752
 * @method $this withPageSize($value)
2753
 * @method string getDeviceName()
2754
 * @method $this withDeviceName($value)
2755
 */
2756
class GetThingTopo extends Rpc
2757
{
2758
}
2759
2760
/**
2761
 * @method string getIotInstanceId()
2762
 * @method $this withIotInstanceId($value)
2763
 * @method string getThingList()
2764
 * @method $this withThingList($value)
2765
 * @method string getApiProduct()
2766
 * @method string getApiRevision()
2767
 */
2768
class GisQueryDeviceLocation extends Rpc
2769
{
2770
2771
    /**
2772
     * @param string $value
2773
     *
2774
     * @return $this
2775
     */
2776
    public function withApiProduct($value)
2777
    {
2778
        $this->data['ApiProduct'] = $value;
2779
        $this->options['form_params']['ApiProduct'] = $value;
2780
2781
        return $this;
2782
    }
2783
2784
    /**
2785
     * @param string $value
2786
     *
2787
     * @return $this
2788
     */
2789
    public function withApiRevision($value)
2790
    {
2791
        $this->data['ApiRevision'] = $value;
2792
        $this->options['form_params']['ApiRevision'] = $value;
2793
2794
        return $this;
2795
    }
2796
}
2797
2798
/**
2799
 * @method string getProductKey()
2800
 * @method $this withProductKey($value)
2801
 * @method string getResourceGroupId()
2802
 * @method $this withResourceGroupId($value)
2803
 * @method string getIotInstanceId()
2804
 * @method $this withIotInstanceId($value)
2805
 * @method string getTslUrl()
2806
 * @method $this withTslUrl($value)
2807
 * @method string getTslStr()
2808
 * @method $this withTslStr($value)
2809
 */
2810
class ImportThingModelTsl extends Rpc
2811
{
2812
}
2813
2814
/**
2815
 * @method array getParam()
2816
 * @method string getIotInstanceId()
2817
 * @method string getApiSrn()
2818
 * @method string getApiProduct()
2819
 * @method string getApiRevision()
2820
 */
2821
class InvokeDataAPIService extends Rpc
2822
{
2823
2824
    /**
2825
     * @param array $param
2826
     *
2827
     * @return $this
2828
     */
2829
	public function withParam(array $param)
2830
	{
2831
	    $this->data['Param'] = $param;
2832
		foreach ($param as $depth1 => $depth1Value) {
2833
			$this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamType'] = $depth1Value['ParamType'];
2834
			foreach ($depth1Value['ListParamValue'] as $i => $iValue) {
2835
				$this->options['form_params']['Param.' . ($depth1 + 1) . '.ListParamValue.' . ($i + 1)] = $iValue;
2836
			}
2837
			$this->options['form_params']['Param.' . ($depth1 + 1) . '.ListParamType'] = $depth1Value['ListParamType'];
2838
			$this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamName'] = $depth1Value['ParamName'];
2839
			$this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamValue'] = $depth1Value['ParamValue'];
2840
		}
2841
2842
		return $this;
2843
    }
2844
2845
    /**
2846
     * @param string $value
2847
     *
2848
     * @return $this
2849
     */
2850
    public function withIotInstanceId($value)
2851
    {
2852
        $this->data['IotInstanceId'] = $value;
2853
        $this->options['form_params']['IotInstanceId'] = $value;
2854
2855
        return $this;
2856
    }
2857
2858
    /**
2859
     * @param string $value
2860
     *
2861
     * @return $this
2862
     */
2863
    public function withApiSrn($value)
2864
    {
2865
        $this->data['ApiSrn'] = $value;
2866
        $this->options['form_params']['ApiSrn'] = $value;
2867
2868
        return $this;
2869
    }
2870
2871
    /**
2872
     * @param string $value
2873
     *
2874
     * @return $this
2875
     */
2876
    public function withApiProduct($value)
2877
    {
2878
        $this->data['ApiProduct'] = $value;
2879
        $this->options['form_params']['ApiProduct'] = $value;
2880
2881
        return $this;
2882
    }
2883
2884
    /**
2885
     * @param string $value
2886
     *
2887
     * @return $this
2888
     */
2889
    public function withApiRevision($value)
2890
    {
2891
        $this->data['ApiRevision'] = $value;
2892
        $this->options['form_params']['ApiRevision'] = $value;
2893
2894
        return $this;
2895
    }
2896
}
2897
2898
/**
2899
 * @method string getIdentifier()
2900
 * @method $this withIdentifier($value)
2901
 * @method string getProductKey()
2902
 * @method $this withProductKey($value)
2903
 * @method string getArgs()
2904
 * @method $this withArgs($value)
2905
 * @method string getIotId()
2906
 * @method $this withIotId($value)
2907
 * @method string getIotInstanceId()
2908
 * @method $this withIotInstanceId($value)
2909
 * @method string getDeviceName()
2910
 * @method $this withDeviceName($value)
2911
 */
2912
class InvokeThingService extends Rpc
2913
{
2914
}
2915
2916
/**
2917
 * @method string getIdentifier()
2918
 * @method $this withIdentifier($value)
2919
 * @method string getProductKey()
2920
 * @method $this withProductKey($value)
2921
 * @method string getArgs()
2922
 * @method $this withArgs($value)
2923
 * @method string getIotInstanceId()
2924
 * @method $this withIotInstanceId($value)
2925
 * @method array getDeviceName()
2926
 */
2927
class InvokeThingsService extends Rpc
2928
{
2929
2930
    /**
2931
     * @param array $deviceName
2932
     *
2933
     * @return $this
2934
     */
2935
	public function withDeviceName(array $deviceName)
2936
	{
2937
	    $this->data['DeviceName'] = $deviceName;
2938
		foreach ($deviceName as $i => $iValue) {
2939
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
2940
		}
2941
2942
		return $this;
2943
    }
2944
}
2945
2946
/**
2947
 * @method string getIotInstanceId()
2948
 * @method $this withIotInstanceId($value)
2949
 * @method string getPageSize()
2950
 * @method $this withPageSize($value)
2951
 * @method string getCurrentPage()
2952
 * @method $this withCurrentPage($value)
2953
 * @method string getProductKey()
2954
 * @method $this withProductKey($value)
2955
 * @method string getApiProduct()
2956
 * @method string getApiRevision()
2957
 * @method string getDestVersion()
2958
 * @method $this withDestVersion($value)
2959
 */
2960
class ListOTAFirmware extends Rpc
2961
{
2962
2963
    /**
2964
     * @param string $value
2965
     *
2966
     * @return $this
2967
     */
2968
    public function withApiProduct($value)
2969
    {
2970
        $this->data['ApiProduct'] = $value;
2971
        $this->options['form_params']['ApiProduct'] = $value;
2972
2973
        return $this;
2974
    }
2975
2976
    /**
2977
     * @param string $value
2978
     *
2979
     * @return $this
2980
     */
2981
    public function withApiRevision($value)
2982
    {
2983
        $this->data['ApiRevision'] = $value;
2984
        $this->options['form_params']['ApiRevision'] = $value;
2985
2986
        return $this;
2987
    }
2988
}
2989
2990
/**
2991
 * @method string getIotInstanceId()
2992
 * @method $this withIotInstanceId($value)
2993
 * @method string getPageSize()
2994
 * @method $this withPageSize($value)
2995
 * @method string getFirmwareId()
2996
 * @method $this withFirmwareId($value)
2997
 * @method string getCurrentPage()
2998
 * @method $this withCurrentPage($value)
2999
 * @method string getProductKey()
3000
 * @method $this withProductKey($value)
3001
 * @method string getApiProduct()
3002
 * @method string getApiRevision()
3003
 * @method string getDeviceName()
3004
 * @method $this withDeviceName($value)
3005
 */
3006
class ListOTAJobByDevice extends Rpc
3007
{
3008
3009
    /**
3010
     * @param string $value
3011
     *
3012
     * @return $this
3013
     */
3014
    public function withApiProduct($value)
3015
    {
3016
        $this->data['ApiProduct'] = $value;
3017
        $this->options['form_params']['ApiProduct'] = $value;
3018
3019
        return $this;
3020
    }
3021
3022
    /**
3023
     * @param string $value
3024
     *
3025
     * @return $this
3026
     */
3027
    public function withApiRevision($value)
3028
    {
3029
        $this->data['ApiRevision'] = $value;
3030
        $this->options['form_params']['ApiRevision'] = $value;
3031
3032
        return $this;
3033
    }
3034
}
3035
3036
/**
3037
 * @method string getIotInstanceId()
3038
 * @method $this withIotInstanceId($value)
3039
 * @method string getPageSize()
3040
 * @method $this withPageSize($value)
3041
 * @method string getFirmwareId()
3042
 * @method $this withFirmwareId($value)
3043
 * @method string getCurrentPage()
3044
 * @method $this withCurrentPage($value)
3045
 * @method string getApiProduct()
3046
 * @method string getApiRevision()
3047
 */
3048
class ListOTAJobByFirmware extends Rpc
3049
{
3050
3051
    /**
3052
     * @param string $value
3053
     *
3054
     * @return $this
3055
     */
3056
    public function withApiProduct($value)
3057
    {
3058
        $this->data['ApiProduct'] = $value;
3059
        $this->options['form_params']['ApiProduct'] = $value;
3060
3061
        return $this;
3062
    }
3063
3064
    /**
3065
     * @param string $value
3066
     *
3067
     * @return $this
3068
     */
3069
    public function withApiRevision($value)
3070
    {
3071
        $this->data['ApiRevision'] = $value;
3072
        $this->options['form_params']['ApiRevision'] = $value;
3073
3074
        return $this;
3075
    }
3076
}
3077
3078
/**
3079
 * @method string getJobId()
3080
 * @method $this withJobId($value)
3081
 * @method string getTaskStatus()
3082
 * @method $this withTaskStatus($value)
3083
 * @method string getIotInstanceId()
3084
 * @method $this withIotInstanceId($value)
3085
 * @method string getPageSize()
3086
 * @method $this withPageSize($value)
3087
 * @method string getCurrentPage()
3088
 * @method $this withCurrentPage($value)
3089
 * @method string getApiProduct()
3090
 * @method string getApiRevision()
3091
 */
3092
class ListOTATaskByJob extends Rpc
3093
{
3094
3095
    /**
3096
     * @param string $value
3097
     *
3098
     * @return $this
3099
     */
3100
    public function withApiProduct($value)
3101
    {
3102
        $this->data['ApiProduct'] = $value;
3103
        $this->options['form_params']['ApiProduct'] = $value;
3104
3105
        return $this;
3106
    }
3107
3108
    /**
3109
     * @param string $value
3110
     *
3111
     * @return $this
3112
     */
3113
    public function withApiRevision($value)
3114
    {
3115
        $this->data['ApiRevision'] = $value;
3116
        $this->options['form_params']['ApiRevision'] = $value;
3117
3118
        return $this;
3119
    }
3120
}
3121
3122
/**
3123
 * @method string getCurrentPage()
3124
 * @method $this withCurrentPage($value)
3125
 * @method array getProductTag()
3126
 * @method string getIotInstanceId()
3127
 * @method $this withIotInstanceId($value)
3128
 * @method string getPageSize()
3129
 * @method $this withPageSize($value)
3130
 */
3131
class ListProductByTags extends Rpc
3132
{
3133
3134
    /**
3135
     * @param array $productTag
3136
     *
3137
     * @return $this
3138
     */
3139
	public function withProductTag(array $productTag)
3140
	{
3141
	    $this->data['ProductTag'] = $productTag;
3142
		foreach ($productTag as $depth1 => $depth1Value) {
3143
			$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
3144
			$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
3145
		}
3146
3147
		return $this;
3148
    }
3149
}
3150
3151
/**
3152
 * @method string getProductKey()
3153
 * @method $this withProductKey($value)
3154
 * @method string getIotInstanceId()
3155
 * @method $this withIotInstanceId($value)
3156
 */
3157
class ListProductTags extends Rpc
3158
{
3159
}
3160
3161
/**
3162
 * @method string getSearchName()
3163
 * @method $this withSearchName($value)
3164
 * @method string getCurrentPage()
3165
 * @method $this withCurrentPage($value)
3166
 * @method string getResourceGroupId()
3167
 * @method $this withResourceGroupId($value)
3168
 * @method string getIotInstanceId()
3169
 * @method $this withIotInstanceId($value)
3170
 * @method string getPageSize()
3171
 * @method $this withPageSize($value)
3172
 */
3173
class ListRule extends Rpc
3174
{
3175
}
3176
3177
/**
3178
 * @method string getIotInstanceId()
3179
 * @method $this withIotInstanceId($value)
3180
 * @method string getRuleId()
3181
 * @method $this withRuleId($value)
3182
 */
3183
class ListRuleActions extends Rpc
3184
{
3185
}
3186
3187
/**
3188
 * @method string getProductKey()
3189
 * @method $this withProductKey($value)
3190
 * @method string getResourceGroupId()
3191
 * @method $this withResourceGroupId($value)
3192
 * @method string getIotInstanceId()
3193
 * @method $this withIotInstanceId($value)
3194
 */
3195
class ListThingModelVersion extends Rpc
3196
{
3197
}
3198
3199
/**
3200
 * @method string getResourceGroupId()
3201
 * @method $this withResourceGroupId($value)
3202
 * @method string getIotInstanceId()
3203
 * @method $this withIotInstanceId($value)
3204
 */
3205
class ListThingTemplates extends Rpc
3206
{
3207
}
3208
3209
/**
3210
 * @method string getGwProductKey()
3211
 * @method $this withGwProductKey($value)
3212
 * @method string getDeviceListStr()
3213
 * @method $this withDeviceListStr($value)
3214
 * @method string getGwDeviceName()
3215
 * @method $this withGwDeviceName($value)
3216
 * @method string getIotInstanceId()
3217
 * @method $this withIotInstanceId($value)
3218
 * @method string getGwIotId()
3219
 * @method $this withGwIotId($value)
3220
 */
3221
class NotifyAddThingTopo extends Rpc
3222
{
3223
}
3224
3225
/**
3226
 * @method string getTopicFullName()
3227
 * @method $this withTopicFullName($value)
3228
 * @method string getMessageContent()
3229
 * @method $this withMessageContent($value)
3230
 * @method string getProductKey()
3231
 * @method $this withProductKey($value)
3232
 * @method string getQos()
3233
 * @method $this withQos($value)
3234
 * @method string getIotInstanceId()
3235
 * @method $this withIotInstanceId($value)
3236
 */
3237
class Pub extends Rpc
3238
{
3239
}
3240
3241
/**
3242
 * @method string getTopicFullName()
3243
 * @method $this withTopicFullName($value)
3244
 * @method string getMessageContent()
3245
 * @method $this withMessageContent($value)
3246
 * @method string getProductKey()
3247
 * @method $this withProductKey($value)
3248
 * @method string getIotInstanceId()
3249
 * @method $this withIotInstanceId($value)
3250
 */
3251
class PubBroadcast extends Rpc
3252
{
3253
}
3254
3255
/**
3256
 * @method string getDescription()
3257
 * @method $this withDescription($value)
3258
 * @method string getProductKey()
3259
 * @method $this withProductKey($value)
3260
 * @method string getResourceGroupId()
3261
 * @method $this withResourceGroupId($value)
3262
 * @method string getIotInstanceId()
3263
 * @method $this withIotInstanceId($value)
3264
 * @method string getModelVersion()
3265
 * @method $this withModelVersion($value)
3266
 */
3267
class PublishThingModel extends Rpc
3268
{
3269
}
3270
3271
/**
3272
 * @method string getCurrentPage()
3273
 * @method $this withCurrentPage($value)
3274
 * @method array getTagList()
3275
 * @method array getProductKeyList()
3276
 * @method array getCategoryKeyList()
3277
 * @method string getIotInstanceId()
3278
 * @method $this withIotInstanceId($value)
3279
 * @method string getPageSize()
3280
 * @method $this withPageSize($value)
3281
 * @method string getAppKey()
3282
 * @method $this withAppKey($value)
3283
 */
3284
class QueryAppDeviceList extends Rpc
3285
{
3286
3287
    /**
3288
     * @param array $tagList
3289
     *
3290
     * @return $this
3291
     */
3292
	public function withTagList(array $tagList)
3293
	{
3294
	    $this->data['TagList'] = $tagList;
3295
		foreach ($tagList as $depth1 => $depth1Value) {
3296
			$this->options['query']['TagList.' . ($depth1 + 1) . '.TagName'] = $depth1Value['TagName'];
3297
			$this->options['query']['TagList.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
3298
		}
3299
3300
		return $this;
3301
    }
3302
3303
    /**
3304
     * @param array $productKeyList
3305
     *
3306
     * @return $this
3307
     */
3308
	public function withProductKeyList(array $productKeyList)
3309
	{
3310
	    $this->data['ProductKeyList'] = $productKeyList;
3311
		foreach ($productKeyList as $i => $iValue) {
3312
			$this->options['query']['ProductKeyList.' . ($i + 1)] = $iValue;
3313
		}
3314
3315
		return $this;
3316
    }
3317
3318
    /**
3319
     * @param array $categoryKeyList
3320
     *
3321
     * @return $this
3322
     */
3323
	public function withCategoryKeyList(array $categoryKeyList)
3324
	{
3325
	    $this->data['CategoryKeyList'] = $categoryKeyList;
3326
		foreach ($categoryKeyList as $i => $iValue) {
3327
			$this->options['query']['CategoryKeyList.' . ($i + 1)] = $iValue;
3328
		}
3329
3330
		return $this;
3331
    }
3332
}
3333
3334
/**
3335
 * @method string getProductKey()
3336
 * @method $this withProductKey($value)
3337
 * @method string getApplyId()
3338
 * @method $this withApplyId($value)
3339
 * @method string getIotInstanceId()
3340
 * @method $this withIotInstanceId($value)
3341
 */
3342
class QueryBatchRegisterDeviceStatus extends Rpc
3343
{
3344
}
3345
3346
/**
3347
 * @method string getIotInstanceId()
3348
 * @method $this withIotInstanceId($value)
3349
 * @method string getApplyId()
3350
 * @method $this withApplyId($value)
3351
 * @method string getApiProduct()
3352
 * @method string getApiRevision()
3353
 */
3354
class QueryCertUrlByApplyId extends Rpc
3355
{
3356
3357
    /**
3358
     * @param string $value
3359
     *
3360
     * @return $this
3361
     */
3362
    public function withApiProduct($value)
3363
    {
3364
        $this->data['ApiProduct'] = $value;
3365
        $this->options['form_params']['ApiProduct'] = $value;
3366
3367
        return $this;
3368
    }
3369
3370
    /**
3371
     * @param string $value
3372
     *
3373
     * @return $this
3374
     */
3375
    public function withApiRevision($value)
3376
    {
3377
        $this->data['ApiRevision'] = $value;
3378
        $this->options['form_params']['ApiRevision'] = $value;
3379
3380
        return $this;
3381
    }
3382
}
3383
3384
/**
3385
 * @method string getCurrentPage()
3386
 * @method $this withCurrentPage($value)
3387
 * @method string getProductKey()
3388
 * @method $this withProductKey($value)
3389
 * @method string getIotInstanceId()
3390
 * @method $this withIotInstanceId($value)
3391
 * @method string getPageSize()
3392
 * @method $this withPageSize($value)
3393
 */
3394
class QueryDevice extends Rpc
3395
{
3396
}
3397
3398
/**
3399
 * @method string getDriverId()
3400
 * @method $this withDriverId($value)
3401
 * @method string getIotInstanceId()
3402
 * @method $this withIotInstanceId($value)
3403
 * @method string getPageSize()
3404
 * @method $this withPageSize($value)
3405
 * @method string getCurrentPage()
3406
 * @method $this withCurrentPage($value)
3407
 * @method string getInstanceId()
3408
 * @method $this withInstanceId($value)
3409
 * @method string getApiProduct()
3410
 * @method string getApiRevision()
3411
 */
3412
class QueryDeviceByDriver extends Rpc
3413
{
3414
3415
    /**
3416
     * @param string $value
3417
     *
3418
     * @return $this
3419
     */
3420
    public function withApiProduct($value)
3421
    {
3422
        $this->data['ApiProduct'] = $value;
3423
        $this->options['form_params']['ApiProduct'] = $value;
3424
3425
        return $this;
3426
    }
3427
3428
    /**
3429
     * @param string $value
3430
     *
3431
     * @return $this
3432
     */
3433
    public function withApiRevision($value)
3434
    {
3435
        $this->data['ApiRevision'] = $value;
3436
        $this->options['form_params']['ApiRevision'] = $value;
3437
3438
        return $this;
3439
    }
3440
}
3441
3442
/**
3443
 * @method string getCurrentPage()
3444
 * @method $this withCurrentPage($value)
3445
 * @method string getProductKey()
3446
 * @method $this withProductKey($value)
3447
 * @method string getResourceGroupId()
3448
 * @method $this withResourceGroupId($value)
3449
 * @method string getIotInstanceId()
3450
 * @method $this withIotInstanceId($value)
3451
 * @method string getPageSize()
3452
 * @method $this withPageSize($value)
3453
 * @method string getBizTenantId()
3454
 * @method $this withBizTenantId($value)
3455
 * @method string getStatus()
3456
 * @method $this withStatus($value)
3457
 */
3458
class QueryDeviceByStatus extends Rpc
3459
{
3460
}
3461
3462
/**
3463
 * @method string getCurrentPage()
3464
 * @method $this withCurrentPage($value)
3465
 * @method string getIotInstanceId()
3466
 * @method $this withIotInstanceId($value)
3467
 * @method string getPageSize()
3468
 * @method $this withPageSize($value)
3469
 * @method array getTag()
3470
 */
3471
class QueryDeviceByTags extends Rpc
3472
{
3473
3474
    /**
3475
     * @param array $tag
3476
     *
3477
     * @return $this
3478
     */
3479
	public function withTag(array $tag)
3480
	{
3481
	    $this->data['Tag'] = $tag;
3482
		foreach ($tag as $depth1 => $depth1Value) {
3483
			$this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
3484
			$this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
3485
		}
3486
3487
		return $this;
3488
    }
3489
}
3490
3491
/**
3492
 * @method string getIotInstanceId()
3493
 * @method $this withIotInstanceId($value)
3494
 * @method string getProductKey()
3495
 * @method $this withProductKey($value)
3496
 * @method string getApiProduct()
3497
 * @method string getApiRevision()
3498
 * @method string getDeviceName()
3499
 * @method $this withDeviceName($value)
3500
 */
3501
class QueryDeviceCert extends Rpc
3502
{
3503
3504
    /**
3505
     * @param string $value
3506
     *
3507
     * @return $this
3508
     */
3509
    public function withApiProduct($value)
3510
    {
3511
        $this->data['ApiProduct'] = $value;
3512
        $this->options['form_params']['ApiProduct'] = $value;
3513
3514
        return $this;
3515
    }
3516
3517
    /**
3518
     * @param string $value
3519
     *
3520
     * @return $this
3521
     */
3522
    public function withApiRevision($value)
3523
    {
3524
        $this->data['ApiRevision'] = $value;
3525
        $this->options['form_params']['ApiRevision'] = $value;
3526
3527
        return $this;
3528
    }
3529
}
3530
3531
/**
3532
 * @method array getIdentifier()
3533
 * @method string getProductKey()
3534
 * @method $this withProductKey($value)
3535
 * @method string getIotId()
3536
 * @method $this withIotId($value)
3537
 * @method string getIotInstanceId()
3538
 * @method $this withIotInstanceId($value)
3539
 * @method string getDeviceName()
3540
 * @method $this withDeviceName($value)
3541
 */
3542
class QueryDeviceDesiredProperty extends Rpc
3543
{
3544
3545
    /**
3546
     * @param array $identifier
3547
     *
3548
     * @return $this
3549
     */
3550
	public function withIdentifier(array $identifier)
3551
	{
3552
	    $this->data['Identifier'] = $identifier;
3553
		foreach ($identifier as $i => $iValue) {
3554
			$this->options['query']['Identifier.' . ($i + 1)] = $iValue;
3555
		}
3556
3557
		return $this;
3558
    }
3559
}
3560
3561
/**
3562
 * @method string getProductKey()
3563
 * @method $this withProductKey($value)
3564
 * @method string getIotId()
3565
 * @method $this withIotId($value)
3566
 * @method string getIotInstanceId()
3567
 * @method $this withIotInstanceId($value)
3568
 * @method string getDeviceName()
3569
 * @method $this withDeviceName($value)
3570
 */
3571
class QueryDeviceDetail extends Rpc
3572
{
3573
}
3574
3575
/**
3576
 * @method string getStartTime()
3577
 * @method $this withStartTime($value)
3578
 * @method string getIotId()
3579
 * @method $this withIotId($value)
3580
 * @method string getIotInstanceId()
3581
 * @method $this withIotInstanceId($value)
3582
 * @method string getPageSize()
3583
 * @method $this withPageSize($value)
3584
 * @method string getIdentifier()
3585
 * @method $this withIdentifier($value)
3586
 * @method string getEndTime()
3587
 * @method $this withEndTime($value)
3588
 * @method string getProductKey()
3589
 * @method $this withProductKey($value)
3590
 * @method string getAsc()
3591
 * @method $this withAsc($value)
3592
 * @method string getEventType()
3593
 * @method $this withEventType($value)
3594
 * @method string getDeviceName()
3595
 * @method $this withDeviceName($value)
3596
 */
3597
class QueryDeviceEventData extends Rpc
3598
{
3599
}
3600
3601
/**
3602
 * @method string getProductKey()
3603
 * @method $this withProductKey($value)
3604
 * @method string getIotId()
3605
 * @method $this withIotId($value)
3606
 * @method string getIotInstanceId()
3607
 * @method $this withIotInstanceId($value)
3608
 * @method string getDeviceName()
3609
 * @method $this withDeviceName($value)
3610
 * @method string getFileId()
3611
 * @method $this withFileId($value)
3612
 */
3613
class QueryDeviceFile extends Rpc
3614
{
3615
}
3616
3617
/**
3618
 * @method string getCurrentPage()
3619
 * @method $this withCurrentPage($value)
3620
 * @method string getProductKey()
3621
 * @method $this withProductKey($value)
3622
 * @method string getIotId()
3623
 * @method $this withIotId($value)
3624
 * @method string getIotInstanceId()
3625
 * @method $this withIotInstanceId($value)
3626
 * @method string getPageSize()
3627
 * @method $this withPageSize($value)
3628
 * @method string getDeviceName()
3629
 * @method $this withDeviceName($value)
3630
 */
3631
class QueryDeviceFileList extends Rpc
3632
{
3633
}
3634
3635
/**
3636
 * @method string getProductKey()
3637
 * @method $this withProductKey($value)
3638
 * @method string getIotInstanceId()
3639
 * @method $this withIotInstanceId($value)
3640
 * @method string getDeviceName()
3641
 * @method $this withDeviceName($value)
3642
 */
3643
class QueryDeviceGroupByDevice extends Rpc
3644
{
3645
}
3646
3647
/**
3648
 * @method string getCurrentPage()
3649
 * @method $this withCurrentPage($value)
3650
 * @method string getIotInstanceId()
3651
 * @method $this withIotInstanceId($value)
3652
 * @method string getPageSize()
3653
 * @method $this withPageSize($value)
3654
 * @method array getTag()
3655
 */
3656
class QueryDeviceGroupByTags extends Rpc
3657
{
3658
3659
    /**
3660
     * @param array $tag
3661
     *
3662
     * @return $this
3663
     */
3664
	public function withTag(array $tag)
3665
	{
3666
	    $this->data['Tag'] = $tag;
3667
		foreach ($tag as $depth1 => $depth1Value) {
3668
			$this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
3669
			$this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
3670
		}
3671
3672
		return $this;
3673
    }
3674
}
3675
3676
/**
3677
 * @method string getGroupId()
3678
 * @method $this withGroupId($value)
3679
 * @method string getIotInstanceId()
3680
 * @method $this withIotInstanceId($value)
3681
 */
3682
class QueryDeviceGroupInfo extends Rpc
3683
{
3684
}
3685
3686
/**
3687
 * @method string getSuperGroupId()
3688
 * @method $this withSuperGroupId($value)
3689
 * @method string getCurrentPage()
3690
 * @method $this withCurrentPage($value)
3691
 * @method string getGroupName()
3692
 * @method $this withGroupName($value)
3693
 * @method string getIotInstanceId()
3694
 * @method $this withIotInstanceId($value)
3695
 * @method string getPageSize()
3696
 * @method $this withPageSize($value)
3697
 */
3698
class QueryDeviceGroupList extends Rpc
3699
{
3700
}
3701
3702
/**
3703
 * @method string getGroupId()
3704
 * @method $this withGroupId($value)
3705
 * @method string getIotInstanceId()
3706
 * @method $this withIotInstanceId($value)
3707
 */
3708
class QueryDeviceGroupTagList extends Rpc
3709
{
3710
}
3711
3712
/**
3713
 * @method string getGroupId()
3714
 * @method $this withGroupId($value)
3715
 * @method string getCurrentPage()
3716
 * @method $this withCurrentPage($value)
3717
 * @method string getIotInstanceId()
3718
 * @method $this withIotInstanceId($value)
3719
 * @method string getPageSize()
3720
 * @method $this withPageSize($value)
3721
 */
3722
class QueryDeviceListByDeviceGroup extends Rpc
3723
{
3724
}
3725
3726
/**
3727
 * @method string getProductKey()
3728
 * @method $this withProductKey($value)
3729
 * @method string getIotId()
3730
 * @method $this withIotId($value)
3731
 * @method string getIotInstanceId()
3732
 * @method $this withIotInstanceId($value)
3733
 * @method string getDeviceName()
3734
 * @method $this withDeviceName($value)
3735
 */
3736
class QueryDeviceProp extends Rpc
3737
{
3738
}
3739
3740
/**
3741
 * @method string getStartTime()
3742
 * @method $this withStartTime($value)
3743
 * @method string getIotId()
3744
 * @method $this withIotId($value)
3745
 * @method string getIotInstanceId()
3746
 * @method $this withIotInstanceId($value)
3747
 * @method string getPageSize()
3748
 * @method $this withPageSize($value)
3749
 * @method array getIdentifier()
3750
 * @method string getEndTime()
3751
 * @method $this withEndTime($value)
3752
 * @method string getProductKey()
3753
 * @method $this withProductKey($value)
3754
 * @method string getAsc()
3755
 * @method $this withAsc($value)
3756
 * @method string getDeviceName()
3757
 * @method $this withDeviceName($value)
3758
 */
3759
class QueryDevicePropertiesData extends Rpc
3760
{
3761
3762
    /**
3763
     * @param array $identifier
3764
     *
3765
     * @return $this
3766
     */
3767
	public function withIdentifier(array $identifier)
3768
	{
3769
	    $this->data['Identifier'] = $identifier;
3770
		foreach ($identifier as $i => $iValue) {
3771
			$this->options['query']['Identifier.' . ($i + 1)] = $iValue;
3772
		}
3773
3774
		return $this;
3775
    }
3776
}
3777
3778
/**
3779
 * @method string getIdentifier()
3780
 * @method $this withIdentifier($value)
3781
 * @method string getEndTime()
3782
 * @method $this withEndTime($value)
3783
 * @method string getStartTime()
3784
 * @method $this withStartTime($value)
3785
 * @method string getProductKey()
3786
 * @method $this withProductKey($value)
3787
 * @method string getAsc()
3788
 * @method $this withAsc($value)
3789
 * @method string getIotId()
3790
 * @method $this withIotId($value)
3791
 * @method string getIotInstanceId()
3792
 * @method $this withIotInstanceId($value)
3793
 * @method string getPageSize()
3794
 * @method $this withPageSize($value)
3795
 * @method string getDeviceName()
3796
 * @method $this withDeviceName($value)
3797
 */
3798
class QueryDevicePropertyData extends Rpc
3799
{
3800
}
3801
3802
/**
3803
 * @method string getProductKey()
3804
 * @method $this withProductKey($value)
3805
 * @method string getIotId()
3806
 * @method $this withIotId($value)
3807
 * @method string getIotInstanceId()
3808
 * @method $this withIotInstanceId($value)
3809
 * @method string getDeviceName()
3810
 * @method $this withDeviceName($value)
3811
 */
3812
class QueryDevicePropertyStatus extends Rpc
3813
{
3814
}
3815
3816
/**
3817
 * @method string getIdentifier()
3818
 * @method $this withIdentifier($value)
3819
 * @method string getEndTime()
3820
 * @method $this withEndTime($value)
3821
 * @method string getStartTime()
3822
 * @method $this withStartTime($value)
3823
 * @method string getProductKey()
3824
 * @method $this withProductKey($value)
3825
 * @method string getAsc()
3826
 * @method $this withAsc($value)
3827
 * @method string getIotId()
3828
 * @method $this withIotId($value)
3829
 * @method string getIotInstanceId()
3830
 * @method $this withIotInstanceId($value)
3831
 * @method string getPageSize()
3832
 * @method $this withPageSize($value)
3833
 * @method string getDeviceName()
3834
 * @method $this withDeviceName($value)
3835
 */
3836
class QueryDeviceServiceData extends Rpc
3837
{
3838
}
3839
3840
/**
3841
 * @method string getProductKey()
3842
 * @method $this withProductKey($value)
3843
 * @method string getIotInstanceId()
3844
 * @method $this withIotInstanceId($value)
3845
 */
3846
class QueryDeviceStatistics extends Rpc
3847
{
3848
}
3849
3850
/**
3851
 * @method string getDriverName()
3852
 * @method $this withDriverName($value)
3853
 * @method string getType()
3854
 * @method $this withType($value)
3855
 * @method string getIotInstanceId()
3856
 * @method $this withIotInstanceId($value)
3857
 * @method string getPageSize()
3858
 * @method $this withPageSize($value)
3859
 * @method string getCurrentPage()
3860
 * @method $this withCurrentPage($value)
3861
 * @method string getApiProduct()
3862
 * @method string getApiRevision()
3863
 */
3864
class QueryEdgeDriver extends Rpc
3865
{
3866
3867
    /**
3868
     * @param string $value
3869
     *
3870
     * @return $this
3871
     */
3872
    public function withApiProduct($value)
3873
    {
3874
        $this->data['ApiProduct'] = $value;
3875
        $this->options['form_params']['ApiProduct'] = $value;
3876
3877
        return $this;
3878
    }
3879
3880
    /**
3881
     * @param string $value
3882
     *
3883
     * @return $this
3884
     */
3885
    public function withApiRevision($value)
3886
    {
3887
        $this->data['ApiRevision'] = $value;
3888
        $this->options['form_params']['ApiRevision'] = $value;
3889
3890
        return $this;
3891
    }
3892
}
3893
3894
/**
3895
 * @method string getVersionState()
3896
 * @method $this withVersionState($value)
3897
 * @method string getDriverId()
3898
 * @method $this withDriverId($value)
3899
 * @method string getIotInstanceId()
3900
 * @method $this withIotInstanceId($value)
3901
 * @method string getPageSize()
3902
 * @method $this withPageSize($value)
3903
 * @method string getDriverVersion()
3904
 * @method $this withDriverVersion($value)
3905
 * @method string getCurrentPage()
3906
 * @method $this withCurrentPage($value)
3907
 * @method string getApiProduct()
3908
 * @method string getApiRevision()
3909
 */
3910
class QueryEdgeDriverVersion extends Rpc
3911
{
3912
3913
    /**
3914
     * @param string $value
3915
     *
3916
     * @return $this
3917
     */
3918
    public function withApiProduct($value)
3919
    {
3920
        $this->data['ApiProduct'] = $value;
3921
        $this->options['form_params']['ApiProduct'] = $value;
3922
3923
        return $this;
3924
    }
3925
3926
    /**
3927
     * @param string $value
3928
     *
3929
     * @return $this
3930
     */
3931
    public function withApiRevision($value)
3932
    {
3933
        $this->data['ApiRevision'] = $value;
3934
        $this->options['form_params']['ApiRevision'] = $value;
3935
3936
        return $this;
3937
    }
3938
}
3939
3940
/**
3941
 * @method string getIotInstanceId()
3942
 * @method $this withIotInstanceId($value)
3943
 * @method string getPageSize()
3944
 * @method $this withPageSize($value)
3945
 * @method string getCurrentPage()
3946
 * @method $this withCurrentPage($value)
3947
 * @method string getApiProduct()
3948
 * @method string getName()
3949
 * @method $this withName($value)
3950
 * @method string getApiRevision()
3951
 */
3952
class QueryEdgeInstance extends Rpc
3953
{
3954
3955
    /**
3956
     * @param string $value
3957
     *
3958
     * @return $this
3959
     */
3960
    public function withApiProduct($value)
3961
    {
3962
        $this->data['ApiProduct'] = $value;
3963
        $this->options['form_params']['ApiProduct'] = $value;
3964
3965
        return $this;
3966
    }
3967
3968
    /**
3969
     * @param string $value
3970
     *
3971
     * @return $this
3972
     */
3973
    public function withApiRevision($value)
3974
    {
3975
        $this->data['ApiRevision'] = $value;
3976
        $this->options['form_params']['ApiRevision'] = $value;
3977
3978
        return $this;
3979
    }
3980
}
3981
3982
/**
3983
 * @method string getIotInstanceId()
3984
 * @method $this withIotInstanceId($value)
3985
 * @method string getPageSize()
3986
 * @method $this withPageSize($value)
3987
 * @method string getCurrentPage()
3988
 * @method $this withCurrentPage($value)
3989
 * @method string getInstanceId()
3990
 * @method $this withInstanceId($value)
3991
 * @method string getApiProduct()
3992
 * @method string getApiRevision()
3993
 */
3994
class QueryEdgeInstanceDevice extends Rpc
3995
{
3996
3997
    /**
3998
     * @param string $value
3999
     *
4000
     * @return $this
4001
     */
4002
    public function withApiProduct($value)
4003
    {
4004
        $this->data['ApiProduct'] = $value;
4005
        $this->options['form_params']['ApiProduct'] = $value;
4006
4007
        return $this;
4008
    }
4009
4010
    /**
4011
     * @param string $value
4012
     *
4013
     * @return $this
4014
     */
4015
    public function withApiRevision($value)
4016
    {
4017
        $this->data['ApiRevision'] = $value;
4018
        $this->options['form_params']['ApiRevision'] = $value;
4019
4020
        return $this;
4021
    }
4022
}
4023
4024
/**
4025
 * @method string getIotInstanceId()
4026
 * @method $this withIotInstanceId($value)
4027
 * @method string getPageSize()
4028
 * @method $this withPageSize($value)
4029
 * @method string getCurrentPage()
4030
 * @method $this withCurrentPage($value)
4031
 * @method string getInstanceId()
4032
 * @method $this withInstanceId($value)
4033
 * @method string getApiProduct()
4034
 * @method string getApiRevision()
4035
 */
4036
class QueryEdgeInstanceDriver extends Rpc
4037
{
4038
4039
    /**
4040
     * @param string $value
4041
     *
4042
     * @return $this
4043
     */
4044
    public function withApiProduct($value)
4045
    {
4046
        $this->data['ApiProduct'] = $value;
4047
        $this->options['form_params']['ApiProduct'] = $value;
4048
4049
        return $this;
4050
    }
4051
4052
    /**
4053
     * @param string $value
4054
     *
4055
     * @return $this
4056
     */
4057
    public function withApiRevision($value)
4058
    {
4059
        $this->data['ApiRevision'] = $value;
4060
        $this->options['form_params']['ApiRevision'] = $value;
4061
4062
        return $this;
4063
    }
4064
}
4065
4066
/**
4067
 * @method string getIotInstanceId()
4068
 * @method $this withIotInstanceId($value)
4069
 * @method string getInstanceId()
4070
 * @method $this withInstanceId($value)
4071
 * @method string getApiProduct()
4072
 * @method string getApiRevision()
4073
 */
4074
class QueryEdgeInstanceGateway extends Rpc
4075
{
4076
4077
    /**
4078
     * @param string $value
4079
     *
4080
     * @return $this
4081
     */
4082
    public function withApiProduct($value)
4083
    {
4084
        $this->data['ApiProduct'] = $value;
4085
        $this->options['form_params']['ApiProduct'] = $value;
4086
4087
        return $this;
4088
    }
4089
4090
    /**
4091
     * @param string $value
4092
     *
4093
     * @return $this
4094
     */
4095
    public function withApiRevision($value)
4096
    {
4097
        $this->data['ApiRevision'] = $value;
4098
        $this->options['form_params']['ApiRevision'] = $value;
4099
4100
        return $this;
4101
    }
4102
}
4103
4104
/**
4105
 * @method string getStartTime()
4106
 * @method $this withStartTime($value)
4107
 * @method string getIotInstanceId()
4108
 * @method $this withIotInstanceId($value)
4109
 * @method string getPageSize()
4110
 * @method $this withPageSize($value)
4111
 * @method string getEndTime()
4112
 * @method $this withEndTime($value)
4113
 * @method string getCurrentPage()
4114
 * @method $this withCurrentPage($value)
4115
 * @method string getInstanceId()
4116
 * @method $this withInstanceId($value)
4117
 * @method string getApiProduct()
4118
 * @method string getApiRevision()
4119
 */
4120
class QueryEdgeInstanceHistoricDeployment extends Rpc
4121
{
4122
4123
    /**
4124
     * @param string $value
4125
     *
4126
     * @return $this
4127
     */
4128
    public function withApiProduct($value)
4129
    {
4130
        $this->data['ApiProduct'] = $value;
4131
        $this->options['form_params']['ApiProduct'] = $value;
4132
4133
        return $this;
4134
    }
4135
4136
    /**
4137
     * @param string $value
4138
     *
4139
     * @return $this
4140
     */
4141
    public function withApiRevision($value)
4142
    {
4143
        $this->data['ApiRevision'] = $value;
4144
        $this->options['form_params']['ApiRevision'] = $value;
4145
4146
        return $this;
4147
    }
4148
}
4149
4150
/**
4151
 * @method string getIotInstanceId()
4152
 * @method $this withIotInstanceId($value)
4153
 */
4154
class QueryLoRaJoinPermissions extends Rpc
4155
{
4156
}
4157
4158
/**
4159
 * @method string getIotInstanceId()
4160
 * @method $this withIotInstanceId($value)
4161
 * @method string getFirmwareId()
4162
 * @method $this withFirmwareId($value)
4163
 * @method string getApiProduct()
4164
 * @method string getApiRevision()
4165
 */
4166
class QueryOTAFirmware extends Rpc
4167
{
4168
4169
    /**
4170
     * @param string $value
4171
     *
4172
     * @return $this
4173
     */
4174
    public function withApiProduct($value)
4175
    {
4176
        $this->data['ApiProduct'] = $value;
4177
        $this->options['form_params']['ApiProduct'] = $value;
4178
4179
        return $this;
4180
    }
4181
4182
    /**
4183
     * @param string $value
4184
     *
4185
     * @return $this
4186
     */
4187
    public function withApiRevision($value)
4188
    {
4189
        $this->data['ApiRevision'] = $value;
4190
        $this->options['form_params']['ApiRevision'] = $value;
4191
4192
        return $this;
4193
    }
4194
}
4195
4196
/**
4197
 * @method string getJobId()
4198
 * @method $this withJobId($value)
4199
 * @method string getIotInstanceId()
4200
 * @method $this withIotInstanceId($value)
4201
 * @method string getApiProduct()
4202
 * @method string getApiRevision()
4203
 */
4204
class QueryOTAJob extends Rpc
4205
{
4206
4207
    /**
4208
     * @param string $value
4209
     *
4210
     * @return $this
4211
     */
4212
    public function withApiProduct($value)
4213
    {
4214
        $this->data['ApiProduct'] = $value;
4215
        $this->options['form_params']['ApiProduct'] = $value;
4216
4217
        return $this;
4218
    }
4219
4220
    /**
4221
     * @param string $value
4222
     *
4223
     * @return $this
4224
     */
4225
    public function withApiRevision($value)
4226
    {
4227
        $this->data['ApiRevision'] = $value;
4228
        $this->options['form_params']['ApiRevision'] = $value;
4229
4230
        return $this;
4231
    }
4232
}
4233
4234
/**
4235
 * @method string getCurrentPage()
4236
 * @method $this withCurrentPage($value)
4237
 * @method string getApplyId()
4238
 * @method $this withApplyId($value)
4239
 * @method string getIotInstanceId()
4240
 * @method $this withIotInstanceId($value)
4241
 * @method string getPageSize()
4242
 * @method $this withPageSize($value)
4243
 */
4244
class QueryPageByApplyId extends Rpc
4245
{
4246
}
4247
4248
/**
4249
 * @method string getProductKey()
4250
 * @method $this withProductKey($value)
4251
 * @method string getIotInstanceId()
4252
 * @method $this withIotInstanceId($value)
4253
 */
4254
class QueryProduct extends Rpc
4255
{
4256
}
4257
4258
/**
4259
 * @method string getIotInstanceId()
4260
 * @method $this withIotInstanceId($value)
4261
 * @method string getProductKey()
4262
 * @method $this withProductKey($value)
4263
 * @method string getApiProduct()
4264
 * @method string getApiRevision()
4265
 */
4266
class QueryProductCertInfo extends Rpc
4267
{
4268
4269
    /**
4270
     * @param string $value
4271
     *
4272
     * @return $this
4273
     */
4274
    public function withApiProduct($value)
4275
    {
4276
        $this->data['ApiProduct'] = $value;
4277
        $this->options['form_params']['ApiProduct'] = $value;
4278
4279
        return $this;
4280
    }
4281
4282
    /**
4283
     * @param string $value
4284
     *
4285
     * @return $this
4286
     */
4287
    public function withApiRevision($value)
4288
    {
4289
        $this->data['ApiRevision'] = $value;
4290
        $this->options['form_params']['ApiRevision'] = $value;
4291
4292
        return $this;
4293
    }
4294
}
4295
4296
/**
4297
 * @method string getCurrentPage()
4298
 * @method $this withCurrentPage($value)
4299
 * @method string getResourceGroupId()
4300
 * @method $this withResourceGroupId($value)
4301
 * @method string getIotInstanceId()
4302
 * @method $this withIotInstanceId($value)
4303
 * @method string getPageSize()
4304
 * @method $this withPageSize($value)
4305
 * @method string getAliyunCommodityCode()
4306
 * @method $this withAliyunCommodityCode($value)
4307
 */
4308
class QueryProductList extends Rpc
4309
{
4310
}
4311
4312
/**
4313
 * @method string getProductKey()
4314
 * @method $this withProductKey($value)
4315
 * @method string getIotInstanceId()
4316
 * @method $this withIotInstanceId($value)
4317
 */
4318
class QueryProductTopic extends Rpc
4319
{
4320
}
4321
4322
/**
4323
 * @method string getGroupId()
4324
 * @method $this withGroupId($value)
4325
 * @method string getIotInstanceId()
4326
 * @method $this withIotInstanceId($value)
4327
 */
4328
class QuerySuperDeviceGroup extends Rpc
4329
{
4330
}
4331
4332
/**
4333
 * @method string getProductKey()
4334
 * @method $this withProductKey($value)
4335
 * @method string getResourceGroupId()
4336
 * @method $this withResourceGroupId($value)
4337
 * @method string getIotInstanceId()
4338
 * @method $this withIotInstanceId($value)
4339
 * @method string getModelVersion()
4340
 * @method $this withModelVersion($value)
4341
 */
4342
class QueryThingModel extends Rpc
4343
{
4344
}
4345
4346
/**
4347
 * @method string getIotInstanceId()
4348
 * @method $this withIotInstanceId($value)
4349
 * @method string getTopic()
4350
 * @method $this withTopic($value)
4351
 */
4352
class QueryTopicReverseRouteTable extends Rpc
4353
{
4354
}
4355
4356
/**
4357
 * @method string getIotInstanceId()
4358
 * @method $this withIotInstanceId($value)
4359
 * @method string getTopic()
4360
 * @method $this withTopic($value)
4361
 */
4362
class QueryTopicRouteTable extends Rpc
4363
{
4364
}
4365
4366
/**
4367
 * @method string getPinCode()
4368
 * @method $this withPinCode($value)
4369
 * @method string getProductKey()
4370
 * @method $this withProductKey($value)
4371
 * @method string getDevEui()
4372
 * @method $this withDevEui($value)
4373
 * @method string getIotInstanceId()
4374
 * @method $this withIotInstanceId($value)
4375
 * @method string getNickname()
4376
 * @method $this withNickname($value)
4377
 * @method string getDeviceName()
4378
 * @method $this withDeviceName($value)
4379
 */
4380
class RegisterDevice extends Rpc
4381
{
4382
}
4383
4384
/**
4385
 * @method string getProductKey()
4386
 * @method $this withProductKey($value)
4387
 * @method string getIotId()
4388
 * @method $this withIotId($value)
4389
 * @method string getIotInstanceId()
4390
 * @method $this withIotInstanceId($value)
4391
 * @method string getDeviceName()
4392
 * @method $this withDeviceName($value)
4393
 */
4394
class RemoveThingTopo extends Rpc
4395
{
4396
}
4397
4398
/**
4399
 * @method string getIotId()
4400
 * @method $this withIotId($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 getDeviceName()
4408
 * @method $this withDeviceName($value)
4409
 */
4410
class ResetThing extends Rpc
4411
{
4412
4413
    /**
4414
     * @param string $value
4415
     *
4416
     * @return $this
4417
     */
4418
    public function withApiProduct($value)
4419
    {
4420
        $this->data['ApiProduct'] = $value;
4421
        $this->options['form_params']['ApiProduct'] = $value;
4422
4423
        return $this;
4424
    }
4425
4426
    /**
4427
     * @param string $value
4428
     *
4429
     * @return $this
4430
     */
4431
    public function withApiRevision($value)
4432
    {
4433
        $this->data['ApiRevision'] = $value;
4434
        $this->options['form_params']['ApiRevision'] = $value;
4435
4436
        return $this;
4437
    }
4438
}
4439
4440
/**
4441
 * @method string getRequestBase64Byte()
4442
 * @method $this withRequestBase64Byte($value)
4443
 * @method string getProductKey()
4444
 * @method $this withProductKey($value)
4445
 * @method string getTimeout()
4446
 * @method $this withTimeout($value)
4447
 * @method string getIotInstanceId()
4448
 * @method $this withIotInstanceId($value)
4449
 * @method string getTopic()
4450
 * @method $this withTopic($value)
4451
 * @method string getDeviceName()
4452
 * @method $this withDeviceName($value)
4453
 */
4454
class RRpc extends Rpc
4455
{
4456
}
4457
4458
/**
4459
 * @method string getProductKey()
4460
 * @method $this withProductKey($value)
4461
 * @method string getProps()
4462
 * @method $this withProps($value)
4463
 * @method string getIotId()
4464
 * @method $this withIotId($value)
4465
 * @method string getIotInstanceId()
4466
 * @method $this withIotInstanceId($value)
4467
 * @method string getDeviceName()
4468
 * @method $this withDeviceName($value)
4469
 */
4470
class SaveDeviceProp extends Rpc
4471
{
4472
}
4473
4474
/**
4475
 * @method string getProductKey()
4476
 * @method $this withProductKey($value)
4477
 * @method string getIotId()
4478
 * @method $this withIotId($value)
4479
 * @method string getVersions()
4480
 * @method $this withVersions($value)
4481
 * @method string getIotInstanceId()
4482
 * @method $this withIotInstanceId($value)
4483
 * @method string getDeviceName()
4484
 * @method $this withDeviceName($value)
4485
 * @method string getItems()
4486
 * @method $this withItems($value)
4487
 */
4488
class SetDeviceDesiredProperty extends Rpc
4489
{
4490
}
4491
4492
/**
4493
 * @method string getTagString()
4494
 * @method $this withTagString($value)
4495
 * @method string getGroupId()
4496
 * @method $this withGroupId($value)
4497
 * @method string getIotInstanceId()
4498
 * @method $this withIotInstanceId($value)
4499
 */
4500
class SetDeviceGroupTags extends Rpc
4501
{
4502
}
4503
4504
/**
4505
 * @method string getProductKey()
4506
 * @method $this withProductKey($value)
4507
 * @method string getIotId()
4508
 * @method $this withIotId($value)
4509
 * @method string getIotInstanceId()
4510
 * @method $this withIotInstanceId($value)
4511
 * @method string getDeviceName()
4512
 * @method $this withDeviceName($value)
4513
 * @method string getItems()
4514
 * @method $this withItems($value)
4515
 */
4516
class SetDeviceProperty extends Rpc
4517
{
4518
}
4519
4520
/**
4521
 * @method string getProductKey()
4522
 * @method $this withProductKey($value)
4523
 * @method string getIotInstanceId()
4524
 * @method $this withIotInstanceId($value)
4525
 * @method array getDeviceName()
4526
 * @method string getItems()
4527
 * @method $this withItems($value)
4528
 */
4529
class SetDevicesProperty extends Rpc
4530
{
4531
4532
    /**
4533
     * @param array $deviceName
4534
     *
4535
     * @return $this
4536
     */
4537
	public function withDeviceName(array $deviceName)
4538
	{
4539
	    $this->data['DeviceName'] = $deviceName;
4540
		foreach ($deviceName as $i => $iValue) {
4541
			$this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
4542
		}
4543
4544
		return $this;
4545
    }
4546
}
4547
4548
/**
4549
 * @method array getConfigs()
4550
 * @method string getDriverId()
4551
 * @method $this withDriverId($value)
4552
 * @method string getIotInstanceId()
4553
 * @method $this withIotInstanceId($value)
4554
 * @method string getInstanceId()
4555
 * @method $this withInstanceId($value)
4556
 * @method string getApiProduct()
4557
 * @method string getApiRevision()
4558
 */
4559
class SetEdgeInstanceDriverConfigs extends Rpc
4560
{
4561
4562
    /**
4563
     * @param array $configs
4564
     *
4565
     * @return $this
4566
     */
4567
	public function withConfigs(array $configs)
4568
	{
4569
	    $this->data['Configs'] = $configs;
4570
		foreach ($configs as $depth1 => $depth1Value) {
4571
			$this->options['query']['Configs.' . ($depth1 + 1) . '.Format'] = $depth1Value['Format'];
4572
			$this->options['query']['Configs.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
4573
			$this->options['query']['Configs.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4574
		}
4575
4576
		return $this;
4577
    }
4578
4579
    /**
4580
     * @param string $value
4581
     *
4582
     * @return $this
4583
     */
4584
    public function withApiProduct($value)
4585
    {
4586
        $this->data['ApiProduct'] = $value;
4587
        $this->options['form_params']['ApiProduct'] = $value;
4588
4589
        return $this;
4590
    }
4591
4592
    /**
4593
     * @param string $value
4594
     *
4595
     * @return $this
4596
     */
4597
    public function withApiRevision($value)
4598
    {
4599
        $this->data['ApiRevision'] = $value;
4600
        $this->options['form_params']['ApiRevision'] = $value;
4601
4602
        return $this;
4603
    }
4604
}
4605
4606
/**
4607
 * @method string getIotInstanceId()
4608
 * @method $this withIotInstanceId($value)
4609
 * @method string getProductKey()
4610
 * @method $this withProductKey($value)
4611
 * @method string getApiProduct()
4612
 * @method string getApiRevision()
4613
 * @method string getIssueModel()
4614
 * @method $this withIssueModel($value)
4615
 */
4616
class SetProductCertInfo extends Rpc
4617
{
4618
4619
    /**
4620
     * @param string $value
4621
     *
4622
     * @return $this
4623
     */
4624
    public function withApiProduct($value)
4625
    {
4626
        $this->data['ApiProduct'] = $value;
4627
        $this->options['form_params']['ApiProduct'] = $value;
4628
4629
        return $this;
4630
    }
4631
4632
    /**
4633
     * @param string $value
4634
     *
4635
     * @return $this
4636
     */
4637
    public function withApiRevision($value)
4638
    {
4639
        $this->data['ApiRevision'] = $value;
4640
        $this->options['form_params']['ApiRevision'] = $value;
4641
4642
        return $this;
4643
    }
4644
}
4645
4646
/**
4647
 * @method string getIotInstanceId()
4648
 * @method $this withIotInstanceId($value)
4649
 * @method string getRuleId()
4650
 * @method $this withRuleId($value)
4651
 */
4652
class StartRule extends Rpc
4653
{
4654
}
4655
4656
/**
4657
 * @method string getIotInstanceId()
4658
 * @method $this withIotInstanceId($value)
4659
 * @method string getRuleId()
4660
 * @method $this withRuleId($value)
4661
 */
4662
class StopRule extends Rpc
4663
{
4664
}
4665
4666
/**
4667
 * @method string getDriverId()
4668
 * @method $this withDriverId($value)
4669
 * @method string getIotInstanceId()
4670
 * @method $this withIotInstanceId($value)
4671
 * @method string getInstanceId()
4672
 * @method $this withInstanceId($value)
4673
 * @method string getApiProduct()
4674
 * @method string getApiRevision()
4675
 */
4676
class UnbindDriverFromEdgeInstance extends Rpc
4677
{
4678
4679
    /**
4680
     * @param string $value
4681
     *
4682
     * @return $this
4683
     */
4684
    public function withApiProduct($value)
4685
    {
4686
        $this->data['ApiProduct'] = $value;
4687
        $this->options['form_params']['ApiProduct'] = $value;
4688
4689
        return $this;
4690
    }
4691
4692
    /**
4693
     * @param string $value
4694
     *
4695
     * @return $this
4696
     */
4697
    public function withApiRevision($value)
4698
    {
4699
        $this->data['ApiRevision'] = $value;
4700
        $this->options['form_params']['ApiRevision'] = $value;
4701
4702
        return $this;
4703
    }
4704
}
4705
4706
/**
4707
 * @method string getGroupId()
4708
 * @method $this withGroupId($value)
4709
 * @method string getGroupDesc()
4710
 * @method $this withGroupDesc($value)
4711
 * @method string getIotInstanceId()
4712
 * @method $this withIotInstanceId($value)
4713
 */
4714
class UpdateDeviceGroup extends Rpc
4715
{
4716
}
4717
4718
/**
4719
 * @method string getShadowMessage()
4720
 * @method $this withShadowMessage($value)
4721
 * @method string getProductKey()
4722
 * @method $this withProductKey($value)
4723
 * @method string getIotInstanceId()
4724
 * @method $this withIotInstanceId($value)
4725
 * @method string getDeviceName()
4726
 * @method $this withDeviceName($value)
4727
 */
4728
class UpdateDeviceShadow extends Rpc
4729
{
4730
}
4731
4732
/**
4733
 * @method string getConfigCheckRule()
4734
 * @method $this withConfigCheckRule($value)
4735
 * @method string getEdgeVersion()
4736
 * @method $this withEdgeVersion($value)
4737
 * @method string getDescription()
4738
 * @method $this withDescription($value)
4739
 * @method string getDriverId()
4740
 * @method $this withDriverId($value)
4741
 * @method string getIotInstanceId()
4742
 * @method $this withIotInstanceId($value)
4743
 * @method string getContainerConfig()
4744
 * @method $this withContainerConfig($value)
4745
 * @method string getDriverVersion()
4746
 * @method $this withDriverVersion($value)
4747
 * @method string getDriverConfig()
4748
 * @method $this withDriverConfig($value)
4749
 * @method string getSourceConfig()
4750
 * @method $this withSourceConfig($value)
4751
 * @method string getApiProduct()
4752
 * @method string getApiRevision()
4753
 */
4754
class UpdateEdgeDriverVersion extends Rpc
4755
{
4756
4757
    /**
4758
     * @param string $value
4759
     *
4760
     * @return $this
4761
     */
4762
    public function withApiProduct($value)
4763
    {
4764
        $this->data['ApiProduct'] = $value;
4765
        $this->options['form_params']['ApiProduct'] = $value;
4766
4767
        return $this;
4768
    }
4769
4770
    /**
4771
     * @param string $value
4772
     *
4773
     * @return $this
4774
     */
4775
    public function withApiRevision($value)
4776
    {
4777
        $this->data['ApiRevision'] = $value;
4778
        $this->options['form_params']['ApiRevision'] = $value;
4779
4780
        return $this;
4781
    }
4782
}
4783
4784
/**
4785
 * @method string getBizEnable()
4786
 * @method $this withBizEnable($value)
4787
 * @method string getSpec()
4788
 * @method $this withSpec($value)
4789
 * @method string getIotInstanceId()
4790
 * @method $this withIotInstanceId($value)
4791
 * @method string getTags()
4792
 * @method $this withTags($value)
4793
 * @method string getInstanceId()
4794
 * @method $this withInstanceId($value)
4795
 * @method string getApiProduct()
4796
 * @method string getName()
4797
 * @method $this withName($value)
4798
 * @method string getApiRevision()
4799
 */
4800
class UpdateEdgeInstance extends Rpc
4801
{
4802
4803
    /**
4804
     * @param string $value
4805
     *
4806
     * @return $this
4807
     */
4808
    public function withApiProduct($value)
4809
    {
4810
        $this->data['ApiProduct'] = $value;
4811
        $this->options['form_params']['ApiProduct'] = $value;
4812
4813
        return $this;
4814
    }
4815
4816
    /**
4817
     * @param string $value
4818
     *
4819
     * @return $this
4820
     */
4821
    public function withApiRevision($value)
4822
    {
4823
        $this->data['ApiRevision'] = $value;
4824
        $this->options['form_params']['ApiRevision'] = $value;
4825
4826
        return $this;
4827
    }
4828
}
4829
4830
/**
4831
 * @method string getDescription()
4832
 * @method $this withDescription($value)
4833
 * @method string getProductKey()
4834
 * @method $this withProductKey($value)
4835
 * @method string getIotInstanceId()
4836
 * @method $this withIotInstanceId($value)
4837
 * @method string getProductName()
4838
 * @method $this withProductName($value)
4839
 */
4840
class UpdateProduct extends Rpc
4841
{
4842
}
4843
4844
/**
4845
 * @method string getPropertyTimestampFilter()
4846
 * @method $this withPropertyTimestampFilter($value)
4847
 * @method string getProductKey()
4848
 * @method $this withProductKey($value)
4849
 * @method string getApiProduct()
4850
 * @method string getApiRevision()
4851
 * @method string getPropertyValueFilter()
4852
 * @method $this withPropertyValueFilter($value)
4853
 */
4854
class UpdateProductFilterConfig extends Rpc
4855
{
4856
4857
    /**
4858
     * @param string $value
4859
     *
4860
     * @return $this
4861
     */
4862
    public function withApiProduct($value)
4863
    {
4864
        $this->data['ApiProduct'] = $value;
4865
        $this->options['form_params']['ApiProduct'] = $value;
4866
4867
        return $this;
4868
    }
4869
4870
    /**
4871
     * @param string $value
4872
     *
4873
     * @return $this
4874
     */
4875
    public function withApiRevision($value)
4876
    {
4877
        $this->data['ApiRevision'] = $value;
4878
        $this->options['form_params']['ApiRevision'] = $value;
4879
4880
        return $this;
4881
    }
4882
}
4883
4884
/**
4885
 * @method string getProductKey()
4886
 * @method $this withProductKey($value)
4887
 * @method array getProductTag()
4888
 * @method string getIotInstanceId()
4889
 * @method $this withIotInstanceId($value)
4890
 */
4891
class UpdateProductTags extends Rpc
4892
{
4893
4894
    /**
4895
     * @param array $productTag
4896
     *
4897
     * @return $this
4898
     */
4899
	public function withProductTag(array $productTag)
4900
	{
4901
	    $this->data['ProductTag'] = $productTag;
4902
		foreach ($productTag as $depth1 => $depth1Value) {
4903
			$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
4904
			$this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
4905
		}
4906
4907
		return $this;
4908
    }
4909
}
4910
4911
/**
4912
 * @method string getTopicId()
4913
 * @method $this withTopicId($value)
4914
 * @method string getIotInstanceId()
4915
 * @method $this withIotInstanceId($value)
4916
 * @method string getOperation()
4917
 * @method $this withOperation($value)
4918
 * @method string getTopicShortName()
4919
 * @method $this withTopicShortName($value)
4920
 * @method string getDesc()
4921
 * @method $this withDesc($value)
4922
 */
4923
class UpdateProductTopic extends Rpc
4924
{
4925
}
4926
4927
/**
4928
 * @method string getSelect()
4929
 * @method $this withSelect($value)
4930
 * @method string getRuleDesc()
4931
 * @method $this withRuleDesc($value)
4932
 * @method string getShortTopic()
4933
 * @method $this withShortTopic($value)
4934
 * @method string getIotInstanceId()
4935
 * @method $this withIotInstanceId($value)
4936
 * @method string getWhere()
4937
 * @method $this withWhere($value)
4938
 * @method string getTopicType()
4939
 * @method $this withTopicType($value)
4940
 * @method string getProductKey()
4941
 * @method $this withProductKey($value)
4942
 * @method string getName()
4943
 * @method $this withName($value)
4944
 * @method string getRuleId()
4945
 * @method $this withRuleId($value)
4946
 */
4947
class UpdateRule extends Rpc
4948
{
4949
}
4950
4951
/**
4952
 * @method string getConfiguration()
4953
 * @method $this withConfiguration($value)
4954
 * @method string getType()
4955
 * @method $this withType($value)
4956
 * @method string getIotInstanceId()
4957
 * @method $this withIotInstanceId($value)
4958
 * @method string getActionId()
4959
 * @method $this withActionId($value)
4960
 */
4961
class UpdateRuleAction extends Rpc
4962
{
4963
}
4964
4965
/**
4966
 * @method string getIdentifier()
4967
 * @method $this withIdentifier($value)
4968
 * @method string getProductKey()
4969
 * @method $this withProductKey($value)
4970
 * @method string getApiProduct()
4971
 * @method string getThingModelJson()
4972
 * @method $this withThingModelJson($value)
4973
 * @method string getApiRevision()
4974
 */
4975
class UpdateThingModel extends Rpc
4976
{
4977
4978
    /**
4979
     * @param string $value
4980
     *
4981
     * @return $this
4982
     */
4983
    public function withApiProduct($value)
4984
    {
4985
        $this->data['ApiProduct'] = $value;
4986
        $this->options['form_params']['ApiProduct'] = $value;
4987
4988
        return $this;
4989
    }
4990
4991
    /**
4992
     * @param string $value
4993
     *
4994
     * @return $this
4995
     */
4996
    public function withApiRevision($value)
4997
    {
4998
        $this->data['ApiRevision'] = $value;
4999
        $this->options['form_params']['ApiRevision'] = $value;
5000
5001
        return $this;
5002
    }
5003
}
5004