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 ( 6ac954...ca5e64 )
by
unknown
06:09
created

BatchUnbindProjectDevices::withIotInstanceId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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