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 ( 7730d9...610862 )
by
unknown
03:57
created

QuerySubscribeRelation   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

2 Methods

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