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 ( e5f9af...73bd0f )
by
unknown
07:13
created

QueryThingModelExtendConfig::withApiRevision()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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