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 ( a219f7...aed4e5 )
by
unknown
07:11
created

PrintByTemplate::withProjectCode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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