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 ( 352a1f...ca7673 )
by
unknown
05:23
created

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