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 ( d39126...25f211 )
by
unknown
13:50
created

QueryDeviceBySQL   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

2 Methods

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