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 ( 2efb35...6f6fd8 )
by
unknown
06:48
created

CreateSpeechModel::withApiProduct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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