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 ( 708232...4d0749 )
by
unknown
07:42
created

BatchQueryDeviceDetail::withDeviceName()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 6

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
ccs 0
cts 1
cp 0
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 1
crap 6
1
<?php
2
3
namespace AlibabaCloud\Iot\V20180120;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method BatchQueryDeviceDetail batchQueryDeviceDetail(array $options = [])
9
 * @method CreateDataAPIService createDataAPIService(array $options = [])
10
 * @method GetDataAPIServiceDetail getDataAPIServiceDetail(array $options = [])
11
 * @method InvokeDataAPIService invokeDataAPIService(array $options = [])
12
 * @method CreateLoRaNodesTask createLoRaNodesTask(array $options = [])
13
 * @method GetLoraNodesTask getLoraNodesTask(array $options = [])
14
 * @method QueryLoRaJoinPermissions queryLoRaJoinPermissions(array $options = [])
15
 * @method BatchUpdateDeviceNickname batchUpdateDeviceNickname(array $options = [])
16
 * @method QueryDeviceFile queryDeviceFile(array $options = [])
17
 * @method QueryDeviceFileList queryDeviceFileList(array $options = [])
18
 * @method DeleteDeviceFile deleteDeviceFile(array $options = [])
19
 * @method GetNodesAddingTask getNodesAddingTask(array $options = [])
20
 * @method SetDeviceDesiredProperty setDeviceDesiredProperty(array $options = [])
21
 * @method QueryDeviceDesiredProperty queryDeviceDesiredProperty(array $options = [])
22
 * @method CreateProductTags createProductTags(array $options = [])
23
 * @method UpdateProductTags updateProductTags(array $options = [])
24
 * @method DeleteProductTags deleteProductTags(array $options = [])
25
 * @method ListProductTags listProductTags(array $options = [])
26
 * @method ListProductByTags listProductByTags(array $options = [])
27
 * @method QueryDeviceGroupByTags queryDeviceGroupByTags(array $options = [])
28
 * @method QueryDeviceListByDeviceGroup queryDeviceListByDeviceGroup(array $options = [])
29
 * @method QueryDevicePropertiesData queryDevicePropertiesData(array $options = [])
30
 * @method QuerySuperDeviceGroup querySuperDeviceGroup(array $options = [])
31
 * @method QueryDeviceByTags queryDeviceByTags(array $options = [])
32
 * @method SetDevicesProperty setDevicesProperty(array $options = [])
33
 * @method InvokeThingsService invokeThingsService(array $options = [])
34
 * @method SetDeviceGroupTags setDeviceGroupTags(array $options = [])
35
 * @method QueryAppDeviceList queryAppDeviceList(array $options = [])
36
 * @method UpdateDeviceGroup updateDeviceGroup(array $options = [])
37
 * @method QueryDeviceGroupTagList queryDeviceGroupTagList(array $options = [])
38
 * @method QueryDeviceGroupList queryDeviceGroupList(array $options = [])
39
 * @method QueryDeviceGroupInfo queryDeviceGroupInfo(array $options = [])
40
 * @method QueryDeviceGroupByDevice queryDeviceGroupByDevice(array $options = [])
41
 * @method DeleteDeviceGroup deleteDeviceGroup(array $options = [])
42
 * @method CreateDeviceGroup createDeviceGroup(array $options = [])
43
 * @method BatchDeleteDeviceGroupRelations batchDeleteDeviceGroupRelations(array $options = [])
44
 * @method BatchAddDeviceGroupRelations batchAddDeviceGroupRelations(array $options = [])
45
 * @method RRpc rRpc(array $options = [])
46
 * @method QueryPageByApplyId queryPageByApplyId(array $options = [])
47
 * @method QueryDevice queryDevice(array $options = [])
48
 * @method SaveDeviceProp saveDeviceProp(array $options = [])
49
 * @method QueryTopicRouteTable queryTopicRouteTable(array $options = [])
50
 * @method QueryTopicReverseRouteTable queryTopicReverseRouteTable(array $options = [])
51
 * @method PubBroadcast pubBroadcast(array $options = [])
52
 * @method DeleteTopicRouteTable deleteTopicRouteTable(array $options = [])
53
 * @method DeleteDeviceProp deleteDeviceProp(array $options = [])
54
 * @method CreateTopicRouteTable createTopicRouteTable(array $options = [])
55
 * @method BatchGetDeviceState batchGetDeviceState(array $options = [])
56
 * @method UpdateRuleAction updateRuleAction(array $options = [])
57
 * @method UpdateRule updateRule(array $options = [])
58
 * @method UpdateProductTopic updateProductTopic(array $options = [])
59
 * @method UpdateDeviceShadow updateDeviceShadow(array $options = [])
60
 * @method StopRule stopRule(array $options = [])
61
 * @method StartRule startRule(array $options = [])
62
 * @method QueryProductTopic queryProductTopic(array $options = [])
63
 * @method QueryDeviceProp queryDeviceProp(array $options = [])
64
 * @method Pub pub(array $options = [])
65
 * @method ListRuleActions listRuleActions(array $options = [])
66
 * @method ListRule listRule(array $options = [])
67
 * @method GetRuleAction getRuleAction(array $options = [])
68
 * @method GetRule getRule(array $options = [])
69
 * @method GetDeviceShadow getDeviceShadow(array $options = [])
70
 * @method DeleteRuleAction deleteRuleAction(array $options = [])
71
 * @method DeleteRule deleteRule(array $options = [])
72
 * @method DeleteProductTopic deleteProductTopic(array $options = [])
73
 * @method CreateRuleAction createRuleAction(array $options = [])
74
 * @method CreateRule createRule(array $options = [])
75
 * @method CreateProductTopic createProductTopic(array $options = [])
76
 * @method QueryBatchRegisterDeviceStatus queryBatchRegisterDeviceStatus(array $options = [])
77
 * @method GetGatewayBySubDevice getGatewayBySubDevice(array $options = [])
78
 * @method RemoveThingTopo removeThingTopo(array $options = [])
79
 * @method NotifyAddThingTopo notifyAddThingTopo(array $options = [])
80
 * @method GetThingTopo getThingTopo(array $options = [])
81
 * @method QueryDevicePropertyStatus queryDevicePropertyStatus(array $options = [])
82
 * @method QueryDevicePropertyData queryDevicePropertyData(array $options = [])
83
 * @method BatchRegisterDeviceWithApplyId batchRegisterDeviceWithApplyId(array $options = [])
84
 * @method BatchRegisterDevice batchRegisterDevice(array $options = [])
85
 * @method BatchCheckDeviceNames batchCheckDeviceNames(array $options = [])
86
 * @method UpdateProduct updateProduct(array $options = [])
87
 * @method SetDeviceProperty setDeviceProperty(array $options = [])
88
 * @method RegisterDevice registerDevice(array $options = [])
89
 * @method QueryProductList queryProductList(array $options = [])
90
 * @method QueryProduct queryProduct(array $options = [])
91
 * @method QueryDeviceStatistics queryDeviceStatistics(array $options = [])
92
 * @method QueryDeviceServiceData queryDeviceServiceData(array $options = [])
93
 * @method QueryDeviceEventData queryDeviceEventData(array $options = [])
94
 * @method QueryDeviceDetail queryDeviceDetail(array $options = [])
95
 * @method InvokeThingService invokeThingService(array $options = [])
96
 * @method GetDeviceStatus getDeviceStatus(array $options = [])
97
 * @method EnableThing enableThing(array $options = [])
98
 * @method DisableThing disableThing(array $options = [])
99
 * @method DeleteProduct deleteProduct(array $options = [])
100
 * @method DeleteDevice deleteDevice(array $options = [])
101
 * @method CreateProduct createProduct(array $options = [])
102
 */
103
class IotApiResolver extends ApiResolver
104
{
105
}
106
107
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
108
{
109
    /** @var string */
110
    public $product = 'Iot';
111
112
    /** @var string */
113
    public $version = '2018-01-20';
114
115
    /** @var string */
116
    public $method = 'POST';
117
118
    /** @var string */
119
    public $serviceCode = 'iot';
120
}
121
122
/**
123
 * @method string getIotInstanceId()
124
 * @method $this withIotInstanceId($value)
125
 * @method array getDeviceName()
126
 * @method string getProductKey()
127
 * @method $this withProductKey($value)
128
 */
129
class BatchQueryDeviceDetail extends Rpc
130
{
131
132
    /**
133
     * @param array $deviceName
134
     *
135
     * @return $this
136
     */
137
    public function withDeviceName(array $deviceName)
138
    {
139
        $this->data['DeviceName'] = $deviceName;
140
        foreach ($deviceName as $i => $iValue) {
141
            $this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
142
        }
143
144
        return $this;
145
    }
146
}
147
148
/**
149
 * @method array getResponseParam()
150
 * @method string getOriginSql()
151
 * @method $this withOriginSql($value)
152
 * @method string getDisplayName()
153
 * @method $this withDisplayName($value)
154
 * @method string getApiPath()
155
 * @method $this withApiPath($value)
156
 * @method array getRequestParam()
157
 * @method string getFolderId()
158
 * @method $this withFolderId($value)
159
 * @method string getTemplateSql()
160
 * @method $this withTemplateSql($value)
161
 * @method string getDesc()
162
 * @method $this withDesc($value)
163
 */
164
class CreateDataAPIService extends Rpc
165
{
166
167
    /**
168
     * @param array $responseParam
169
     *
170
     * @return $this
171
     */
172
    public function withResponseParam(array $responseParam)
173
    {
174
        $this->data['ResponseParam'] = $responseParam;
175
        foreach ($responseParam as $depth1 => $depth1Value) {
176
            $this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
177
            $this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
178
            $this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Required'] = $depth1Value['Required'];
179
            $this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Desc'] = $depth1Value['Desc'];
180
            $this->options['form_params']['ResponseParam.' . ($depth1 + 1) . '.Example'] = $depth1Value['Example'];
181
        }
182
183
        return $this;
184
    }
185
186
    /**
187
     * @param array $requestParam
188
     *
189
     * @return $this
190
     */
191
    public function withRequestParam(array $requestParam)
192
    {
193
        $this->data['RequestParam'] = $requestParam;
194
        foreach ($requestParam as $depth1 => $depth1Value) {
195
            $this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
196
            $this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
197
            $this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Required'] = $depth1Value['Required'];
198
            $this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Desc'] = $depth1Value['Desc'];
199
            $this->options['form_params']['RequestParam.' . ($depth1 + 1) . '.Example'] = $depth1Value['Example'];
200
        }
201
202
        return $this;
203
    }
204
}
205
206
/**
207
 * @method string getApiSrn()
208
 * @method $this withApiSrn($value)
209
 */
210
class GetDataAPIServiceDetail extends Rpc
211
{
212
}
213
214
/**
215
 * @method string getApiSrn()
216
 * @method $this withApiSrn($value)
217
 * @method array getParam()
218
 */
219
class InvokeDataAPIService extends Rpc
220
{
221
222
    /**
223
     * @param array $param
224
     *
225
     * @return $this
226
     */
227
    public function withParam(array $param)
228
    {
229
        $this->data['Param'] = $param;
230
        foreach ($param as $depth1 => $depth1Value) {
231
            $this->options['form_params']['Param.' . ($depth1 + 1) . '.ListParamType'] = $depth1Value['ListParamType'];
232
            foreach ($depth1Value['ListParamValue'] as $i => $iValue) {
233
                $this->options['form_params']['Param.' . ($depth1 + 1) . '.ListParamValue.' . ($i + 1)] = $iValue;
234
            }
235
            $this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamValue'] = $depth1Value['ParamValue'];
236
            $this->options['form_params']['Param.' . ($depth1 + 1) . '.ParamName'] = $depth1Value['ParamName'];
237
        }
238
239
        return $this;
240
    }
241
}
242
243
/**
244
 * @method string getIotInstanceId()
245
 * @method $this withIotInstanceId($value)
246
 * @method string getProductKey()
247
 * @method $this withProductKey($value)
248
 * @method array getDeviceInfo()
249
 */
250
class CreateLoRaNodesTask extends Rpc
251
{
252
253
    /**
254
     * @param array $deviceInfo
255
     *
256
     * @return $this
257
     */
258
    public function withDeviceInfo(array $deviceInfo)
259
    {
260
        $this->data['DeviceInfo'] = $deviceInfo;
261
        foreach ($deviceInfo as $depth1 => $depth1Value) {
262
            $this->options['query']['DeviceInfo.' . ($depth1 + 1) . '.PinCode'] = $depth1Value['PinCode'];
263
            $this->options['query']['DeviceInfo.' . ($depth1 + 1) . '.DevEui'] = $depth1Value['DevEui'];
264
        }
265
266
        return $this;
267
    }
268
}
269
270
/**
271
 * @method string getIotInstanceId()
272
 * @method $this withIotInstanceId($value)
273
 * @method string getTaskId()
274
 * @method $this withTaskId($value)
275
 */
276
class GetLoraNodesTask extends Rpc
277
{
278
}
279
280
/**
281
 * @method string getIotInstanceId()
282
 * @method $this withIotInstanceId($value)
283
 */
284
class QueryLoRaJoinPermissions extends Rpc
285
{
286
}
287
288
/**
289
 * @method array getDeviceNicknameInfo()
290
 * @method string getIotInstanceId()
291
 * @method $this withIotInstanceId($value)
292
 */
293
class BatchUpdateDeviceNickname extends Rpc
294
{
295
296
    /**
297
     * @param array $deviceNicknameInfo
298
     *
299
     * @return $this
300
     */
301
    public function withDeviceNicknameInfo(array $deviceNicknameInfo)
302
    {
303
        $this->data['DeviceNicknameInfo'] = $deviceNicknameInfo;
304
        foreach ($deviceNicknameInfo as $depth1 => $depth1Value) {
305
            $this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.IotId'] = $depth1Value['IotId'];
306
            $this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.Nickname'] = $depth1Value['Nickname'];
307
            $this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
308
            $this->options['query']['DeviceNicknameInfo.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
309
        }
310
311
        return $this;
312
    }
313
}
314
315
/**
316
 * @method string getIotId()
317
 * @method $this withIotId($value)
318
 * @method string getIotInstanceId()
319
 * @method $this withIotInstanceId($value)
320
 * @method string getDeviceName()
321
 * @method $this withDeviceName($value)
322
 * @method string getProductKey()
323
 * @method $this withProductKey($value)
324
 * @method string getFileId()
325
 * @method $this withFileId($value)
326
 */
327
class QueryDeviceFile extends Rpc
328
{
329
}
330
331
/**
332
 * @method string getIotId()
333
 * @method $this withIotId($value)
334
 * @method string getIotInstanceId()
335
 * @method $this withIotInstanceId($value)
336
 * @method string getPageSize()
337
 * @method $this withPageSize($value)
338
 * @method string getDeviceName()
339
 * @method $this withDeviceName($value)
340
 * @method string getCurrentPage()
341
 * @method $this withCurrentPage($value)
342
 * @method string getProductKey()
343
 * @method $this withProductKey($value)
344
 */
345
class QueryDeviceFileList extends Rpc
346
{
347
}
348
349
/**
350
 * @method string getIotId()
351
 * @method $this withIotId($value)
352
 * @method string getIotInstanceId()
353
 * @method $this withIotInstanceId($value)
354
 * @method string getDeviceName()
355
 * @method $this withDeviceName($value)
356
 * @method string getProductKey()
357
 * @method $this withProductKey($value)
358
 * @method string getFileId()
359
 * @method $this withFileId($value)
360
 */
361
class DeleteDeviceFile extends Rpc
362
{
363
}
364
365
/**
366
 * @method string getIotInstanceId()
367
 * @method $this withIotInstanceId($value)
368
 * @method string getTaskId()
369
 * @method $this withTaskId($value)
370
 */
371
class GetNodesAddingTask extends Rpc
372
{
373
}
374
375
/**
376
 * @method string getIotId()
377
 * @method $this withIotId($value)
378
 * @method string getVersions()
379
 * @method $this withVersions($value)
380
 * @method string getIotInstanceId()
381
 * @method $this withIotInstanceId($value)
382
 * @method string getDeviceName()
383
 * @method $this withDeviceName($value)
384
 * @method string getProductKey()
385
 * @method $this withProductKey($value)
386
 * @method string getItems()
387
 * @method $this withItems($value)
388
 */
389
class SetDeviceDesiredProperty extends Rpc
390
{
391
}
392
393
/**
394
 * @method array getIdentifier()
395
 * @method string getIotId()
396
 * @method $this withIotId($value)
397
 * @method string getIotInstanceId()
398
 * @method $this withIotInstanceId($value)
399
 * @method string getDeviceName()
400
 * @method $this withDeviceName($value)
401
 * @method string getProductKey()
402
 * @method $this withProductKey($value)
403
 */
404
class QueryDeviceDesiredProperty extends Rpc
405
{
406
407
    /**
408
     * @param array $identifier
409
     *
410
     * @return $this
411
     */
412
    public function withIdentifier(array $identifier)
413
    {
414
        $this->data['Identifier'] = $identifier;
415
        foreach ($identifier as $i => $iValue) {
416
            $this->options['query']['Identifier.' . ($i + 1)] = $iValue;
417
        }
418
419
        return $this;
420
    }
421
}
422
423
/**
424
 * @method array getProductTag()
425
 * @method string getIotInstanceId()
426
 * @method $this withIotInstanceId($value)
427
 * @method string getProductKey()
428
 * @method $this withProductKey($value)
429
 */
430
class CreateProductTags extends Rpc
431
{
432
433
    /**
434
     * @param array $productTag
435
     *
436
     * @return $this
437
     */
438
    public function withProductTag(array $productTag)
439
    {
440
        $this->data['ProductTag'] = $productTag;
441
        foreach ($productTag as $depth1 => $depth1Value) {
442
            $this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
443
            $this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
444
        }
445
446
        return $this;
447
    }
448
}
449
450
/**
451
 * @method array getProductTag()
452
 * @method string getIotInstanceId()
453
 * @method $this withIotInstanceId($value)
454
 * @method string getProductKey()
455
 * @method $this withProductKey($value)
456
 */
457
class UpdateProductTags extends Rpc
458
{
459
460
    /**
461
     * @param array $productTag
462
     *
463
     * @return $this
464
     */
465
    public function withProductTag(array $productTag)
466
    {
467
        $this->data['ProductTag'] = $productTag;
468
        foreach ($productTag as $depth1 => $depth1Value) {
469
            $this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
470
            $this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
471
        }
472
473
        return $this;
474
    }
475
}
476
477
/**
478
 * @method string getIotInstanceId()
479
 * @method $this withIotInstanceId($value)
480
 * @method array getProductTagKey()
481
 * @method string getProductKey()
482
 * @method $this withProductKey($value)
483
 */
484
class DeleteProductTags extends Rpc
485
{
486
487
    /**
488
     * @param array $productTagKey
489
     *
490
     * @return $this
491
     */
492
    public function withProductTagKey(array $productTagKey)
493
    {
494
        $this->data['ProductTagKey'] = $productTagKey;
495
        foreach ($productTagKey as $i => $iValue) {
496
            $this->options['query']['ProductTagKey.' . ($i + 1)] = $iValue;
497
        }
498
499
        return $this;
500
    }
501
}
502
503
/**
504
 * @method string getIotInstanceId()
505
 * @method $this withIotInstanceId($value)
506
 * @method string getProductKey()
507
 * @method $this withProductKey($value)
508
 */
509
class ListProductTags extends Rpc
510
{
511
}
512
513
/**
514
 * @method array getProductTag()
515
 * @method string getIotInstanceId()
516
 * @method $this withIotInstanceId($value)
517
 * @method string getPageSize()
518
 * @method $this withPageSize($value)
519
 * @method string getCurrentPage()
520
 * @method $this withCurrentPage($value)
521
 */
522
class ListProductByTags extends Rpc
523
{
524
525
    /**
526
     * @param array $productTag
527
     *
528
     * @return $this
529
     */
530
    public function withProductTag(array $productTag)
531
    {
532
        $this->data['ProductTag'] = $productTag;
533
        foreach ($productTag as $depth1 => $depth1Value) {
534
            $this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
535
            $this->options['query']['ProductTag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
536
        }
537
538
        return $this;
539
    }
540
}
541
542
/**
543
 * @method string getIotInstanceId()
544
 * @method $this withIotInstanceId($value)
545
 * @method string getPageSize()
546
 * @method $this withPageSize($value)
547
 * @method string getCurrentPage()
548
 * @method $this withCurrentPage($value)
549
 * @method array getTag()
550
 */
551
class QueryDeviceGroupByTags extends Rpc
552
{
553
554
    /**
555
     * @param array $tag
556
     *
557
     * @return $this
558
     */
559
    public function withTag(array $tag)
560
    {
561
        $this->data['Tag'] = $tag;
562
        foreach ($tag as $depth1 => $depth1Value) {
563
            $this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
564
            $this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
565
        }
566
567
        return $this;
568
    }
569
}
570
571
/**
572
 * @method string getIotInstanceId()
573
 * @method $this withIotInstanceId($value)
574
 * @method string getGroupId()
575
 * @method $this withGroupId($value)
576
 * @method string getPageSize()
577
 * @method $this withPageSize($value)
578
 * @method string getCurrentPage()
579
 * @method $this withCurrentPage($value)
580
 */
581
class QueryDeviceListByDeviceGroup extends Rpc
582
{
583
}
584
585
/**
586
 * @method string getAsc()
587
 * @method $this withAsc($value)
588
 * @method array getIdentifier()
589
 * @method string getIotId()
590
 * @method $this withIotId($value)
591
 * @method string getIotInstanceId()
592
 * @method $this withIotInstanceId($value)
593
 * @method string getPageSize()
594
 * @method $this withPageSize($value)
595
 * @method string getEndTime()
596
 * @method $this withEndTime($value)
597
 * @method string getDeviceName()
598
 * @method $this withDeviceName($value)
599
 * @method string getStartTime()
600
 * @method $this withStartTime($value)
601
 * @method string getProductKey()
602
 * @method $this withProductKey($value)
603
 */
604
class QueryDevicePropertiesData extends Rpc
605
{
606
607
    /**
608
     * @param array $identifier
609
     *
610
     * @return $this
611
     */
612
    public function withIdentifier(array $identifier)
613
    {
614
        $this->data['Identifier'] = $identifier;
615
        foreach ($identifier as $i => $iValue) {
616
            $this->options['query']['Identifier.' . ($i + 1)] = $iValue;
617
        }
618
619
        return $this;
620
    }
621
}
622
623
/**
624
 * @method string getIotInstanceId()
625
 * @method $this withIotInstanceId($value)
626
 * @method string getGroupId()
627
 * @method $this withGroupId($value)
628
 */
629
class QuerySuperDeviceGroup extends Rpc
630
{
631
}
632
633
/**
634
 * @method string getIotInstanceId()
635
 * @method $this withIotInstanceId($value)
636
 * @method string getPageSize()
637
 * @method $this withPageSize($value)
638
 * @method string getCurrentPage()
639
 * @method $this withCurrentPage($value)
640
 * @method array getTag()
641
 */
642
class QueryDeviceByTags extends Rpc
643
{
644
645
    /**
646
     * @param array $tag
647
     *
648
     * @return $this
649
     */
650
    public function withTag(array $tag)
651
    {
652
        $this->data['Tag'] = $tag;
653
        foreach ($tag as $depth1 => $depth1Value) {
654
            $this->options['query']['Tag.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
655
            $this->options['query']['Tag.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
656
        }
657
658
        return $this;
659
    }
660
}
661
662
/**
663
 * @method string getIotInstanceId()
664
 * @method $this withIotInstanceId($value)
665
 * @method array getDeviceName()
666
 * @method string getProductKey()
667
 * @method $this withProductKey($value)
668
 * @method string getItems()
669
 * @method $this withItems($value)
670
 */
671
class SetDevicesProperty extends Rpc
672
{
673
674
    /**
675
     * @param array $deviceName
676
     *
677
     * @return $this
678
     */
679
    public function withDeviceName(array $deviceName)
680
    {
681
        $this->data['DeviceName'] = $deviceName;
682
        foreach ($deviceName as $i => $iValue) {
683
            $this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
684
        }
685
686
        return $this;
687
    }
688
}
689
690
/**
691
 * @method string getArgs()
692
 * @method $this withArgs($value)
693
 * @method string getIdentifier()
694
 * @method $this withIdentifier($value)
695
 * @method string getIotInstanceId()
696
 * @method $this withIotInstanceId($value)
697
 * @method array getDeviceName()
698
 * @method string getProductKey()
699
 * @method $this withProductKey($value)
700
 */
701
class InvokeThingsService extends Rpc
702
{
703
704
    /**
705
     * @param array $deviceName
706
     *
707
     * @return $this
708
     */
709
    public function withDeviceName(array $deviceName)
710
    {
711
        $this->data['DeviceName'] = $deviceName;
712
        foreach ($deviceName as $i => $iValue) {
713
            $this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
714
        }
715
716
        return $this;
717
    }
718
}
719
720
/**
721
 * @method string getTagString()
722
 * @method $this withTagString($value)
723
 * @method string getIotInstanceId()
724
 * @method $this withIotInstanceId($value)
725
 * @method string getGroupId()
726
 * @method $this withGroupId($value)
727
 */
728
class SetDeviceGroupTags extends Rpc
729
{
730
}
731
732
/**
733
 * @method array getProductKeyList()
734
 * @method array getCategoryKeyList()
735
 * @method string getIotInstanceId()
736
 * @method $this withIotInstanceId($value)
737
 * @method string getPageSize()
738
 * @method $this withPageSize($value)
739
 * @method string getCurrentPage()
740
 * @method $this withCurrentPage($value)
741
 * @method string getAppKey()
742
 * @method $this withAppKey($value)
743
 * @method array getTagList()
744
 */
745
class QueryAppDeviceList extends Rpc
746
{
747
748
    /**
749
     * @param array $productKeyList
750
     *
751
     * @return $this
752
     */
753
    public function withProductKeyList(array $productKeyList)
754
    {
755
        $this->data['ProductKeyList'] = $productKeyList;
756
        foreach ($productKeyList as $i => $iValue) {
757
            $this->options['query']['ProductKeyList.' . ($i + 1)] = $iValue;
758
        }
759
760
        return $this;
761
    }
762
763
    /**
764
     * @param array $categoryKeyList
765
     *
766
     * @return $this
767
     */
768
    public function withCategoryKeyList(array $categoryKeyList)
769
    {
770
        $this->data['CategoryKeyList'] = $categoryKeyList;
771
        foreach ($categoryKeyList as $i => $iValue) {
772
            $this->options['query']['CategoryKeyList.' . ($i + 1)] = $iValue;
773
        }
774
775
        return $this;
776
    }
777
778
    /**
779
     * @param array $tagList
780
     *
781
     * @return $this
782
     */
783
    public function withTagList(array $tagList)
784
    {
785
        $this->data['TagList'] = $tagList;
786
        foreach ($tagList as $depth1 => $depth1Value) {
787
            $this->options['query']['TagList.' . ($depth1 + 1) . '.TagName'] = $depth1Value['TagName'];
788
            $this->options['query']['TagList.' . ($depth1 + 1) . '.TagValue'] = $depth1Value['TagValue'];
789
        }
790
791
        return $this;
792
    }
793
}
794
795
/**
796
 * @method string getGroupDesc()
797
 * @method $this withGroupDesc($value)
798
 * @method string getIotInstanceId()
799
 * @method $this withIotInstanceId($value)
800
 * @method string getGroupId()
801
 * @method $this withGroupId($value)
802
 */
803
class UpdateDeviceGroup extends Rpc
804
{
805
}
806
807
/**
808
 * @method string getIotInstanceId()
809
 * @method $this withIotInstanceId($value)
810
 * @method string getGroupId()
811
 * @method $this withGroupId($value)
812
 */
813
class QueryDeviceGroupTagList extends Rpc
814
{
815
}
816
817
/**
818
 * @method string getIotInstanceId()
819
 * @method $this withIotInstanceId($value)
820
 * @method string getSuperGroupId()
821
 * @method $this withSuperGroupId($value)
822
 * @method string getPageSize()
823
 * @method $this withPageSize($value)
824
 * @method string getCurrentPage()
825
 * @method $this withCurrentPage($value)
826
 * @method string getGroupName()
827
 * @method $this withGroupName($value)
828
 */
829
class QueryDeviceGroupList extends Rpc
830
{
831
}
832
833
/**
834
 * @method string getIotInstanceId()
835
 * @method $this withIotInstanceId($value)
836
 * @method string getGroupId()
837
 * @method $this withGroupId($value)
838
 */
839
class QueryDeviceGroupInfo extends Rpc
840
{
841
}
842
843
/**
844
 * @method string getIotInstanceId()
845
 * @method $this withIotInstanceId($value)
846
 * @method string getDeviceName()
847
 * @method $this withDeviceName($value)
848
 * @method string getProductKey()
849
 * @method $this withProductKey($value)
850
 */
851
class QueryDeviceGroupByDevice extends Rpc
852
{
853
}
854
855
/**
856
 * @method string getIotInstanceId()
857
 * @method $this withIotInstanceId($value)
858
 * @method string getGroupId()
859
 * @method $this withGroupId($value)
860
 */
861
class DeleteDeviceGroup extends Rpc
862
{
863
}
864
865
/**
866
 * @method string getGroupDesc()
867
 * @method $this withGroupDesc($value)
868
 * @method string getIotInstanceId()
869
 * @method $this withIotInstanceId($value)
870
 * @method string getSuperGroupId()
871
 * @method $this withSuperGroupId($value)
872
 * @method string getGroupName()
873
 * @method $this withGroupName($value)
874
 */
875
class CreateDeviceGroup extends Rpc
876
{
877
}
878
879
/**
880
 * @method string getIotInstanceId()
881
 * @method $this withIotInstanceId($value)
882
 * @method string getGroupId()
883
 * @method $this withGroupId($value)
884
 * @method array getDevice()
885
 */
886
class BatchDeleteDeviceGroupRelations extends Rpc
887
{
888
889
    /**
890
     * @param array $device
891
     *
892
     * @return $this
893
     */
894
    public function withDevice(array $device)
895
    {
896
        $this->data['Device'] = $device;
897
        foreach ($device as $depth1 => $depth1Value) {
898
            $this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
899
            $this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
900
        }
901
902
        return $this;
903
    }
904
}
905
906
/**
907
 * @method string getIotInstanceId()
908
 * @method $this withIotInstanceId($value)
909
 * @method string getGroupId()
910
 * @method $this withGroupId($value)
911
 * @method array getDevice()
912
 */
913
class BatchAddDeviceGroupRelations extends Rpc
914
{
915
916
    /**
917
     * @param array $device
918
     *
919
     * @return $this
920
     */
921
    public function withDevice(array $device)
922
    {
923
        $this->data['Device'] = $device;
924
        foreach ($device as $depth1 => $depth1Value) {
925
            $this->options['query']['Device.' . ($depth1 + 1) . '.DeviceName'] = $depth1Value['DeviceName'];
926
            $this->options['query']['Device.' . ($depth1 + 1) . '.ProductKey'] = $depth1Value['ProductKey'];
927
        }
928
929
        return $this;
930
    }
931
}
932
933
/**
934
 * @method string getIotInstanceId()
935
 * @method $this withIotInstanceId($value)
936
 * @method string getRequestBase64Byte()
937
 * @method $this withRequestBase64Byte($value)
938
 * @method string getTopic()
939
 * @method $this withTopic($value)
940
 * @method string getDeviceName()
941
 * @method $this withDeviceName($value)
942
 * @method string getProductKey()
943
 * @method $this withProductKey($value)
944
 * @method string getTimeout()
945
 * @method $this withTimeout($value)
946
 */
947
class RRpc extends Rpc
948
{
949
}
950
951
/**
952
 * @method string getApplyId()
953
 * @method $this withApplyId($value)
954
 * @method string getIotInstanceId()
955
 * @method $this withIotInstanceId($value)
956
 * @method string getPageSize()
957
 * @method $this withPageSize($value)
958
 * @method string getCurrentPage()
959
 * @method $this withCurrentPage($value)
960
 */
961
class QueryPageByApplyId extends Rpc
962
{
963
}
964
965
/**
966
 * @method string getIotInstanceId()
967
 * @method $this withIotInstanceId($value)
968
 * @method string getPageSize()
969
 * @method $this withPageSize($value)
970
 * @method string getCurrentPage()
971
 * @method $this withCurrentPage($value)
972
 * @method string getProductKey()
973
 * @method $this withProductKey($value)
974
 */
975
class QueryDevice extends Rpc
976
{
977
}
978
979
/**
980
 * @method string getIotId()
981
 * @method $this withIotId($value)
982
 * @method string getIotInstanceId()
983
 * @method $this withIotInstanceId($value)
984
 * @method string getDeviceName()
985
 * @method $this withDeviceName($value)
986
 * @method string getProductKey()
987
 * @method $this withProductKey($value)
988
 * @method string getProps()
989
 * @method $this withProps($value)
990
 */
991
class SaveDeviceProp extends Rpc
992
{
993
}
994
995
/**
996
 * @method string getIotInstanceId()
997
 * @method $this withIotInstanceId($value)
998
 * @method string getTopic()
999
 * @method $this withTopic($value)
1000
 */
1001
class QueryTopicRouteTable extends Rpc
1002
{
1003
}
1004
1005
/**
1006
 * @method string getIotInstanceId()
1007
 * @method $this withIotInstanceId($value)
1008
 * @method string getTopic()
1009
 * @method $this withTopic($value)
1010
 */
1011
class QueryTopicReverseRouteTable extends Rpc
1012
{
1013
}
1014
1015
/**
1016
 * @method string getTopicFullName()
1017
 * @method $this withTopicFullName($value)
1018
 * @method string getMessageContent()
1019
 * @method $this withMessageContent($value)
1020
 * @method string getIotInstanceId()
1021
 * @method $this withIotInstanceId($value)
1022
 * @method string getProductKey()
1023
 * @method $this withProductKey($value)
1024
 */
1025
class PubBroadcast extends Rpc
1026
{
1027
}
1028
1029
/**
1030
 * @method array getDstTopic()
1031
 * @method string getIotInstanceId()
1032
 * @method $this withIotInstanceId($value)
1033
 * @method string getSrcTopic()
1034
 * @method $this withSrcTopic($value)
1035
 */
1036
class DeleteTopicRouteTable extends Rpc
1037
{
1038
1039
    /**
1040
     * @param array $dstTopic
1041
     *
1042
     * @return $this
1043
     */
1044
    public function withDstTopic(array $dstTopic)
1045
    {
1046
        $this->data['DstTopic'] = $dstTopic;
1047
        foreach ($dstTopic as $i => $iValue) {
1048
            $this->options['query']['DstTopic.' . ($i + 1)] = $iValue;
1049
        }
1050
1051
        return $this;
1052
    }
1053
}
1054
1055
/**
1056
 * @method string getIotId()
1057
 * @method $this withIotId($value)
1058
 * @method string getIotInstanceId()
1059
 * @method $this withIotInstanceId($value)
1060
 * @method string getDeviceName()
1061
 * @method $this withDeviceName($value)
1062
 * @method string getProductKey()
1063
 * @method $this withProductKey($value)
1064
 * @method string getPropKey()
1065
 * @method $this withPropKey($value)
1066
 */
1067
class DeleteDeviceProp extends Rpc
1068
{
1069
}
1070
1071
/**
1072
 * @method array getDstTopic()
1073
 * @method string getIotInstanceId()
1074
 * @method $this withIotInstanceId($value)
1075
 * @method string getSrcTopic()
1076
 * @method $this withSrcTopic($value)
1077
 */
1078
class CreateTopicRouteTable extends Rpc
1079
{
1080
1081
    /**
1082
     * @param array $dstTopic
1083
     *
1084
     * @return $this
1085
     */
1086
    public function withDstTopic(array $dstTopic)
1087
    {
1088
        $this->data['DstTopic'] = $dstTopic;
1089
        foreach ($dstTopic as $i => $iValue) {
1090
            $this->options['query']['DstTopic.' . ($i + 1)] = $iValue;
1091
        }
1092
1093
        return $this;
1094
    }
1095
}
1096
1097
/**
1098
 * @method array getIotId()
1099
 * @method string getIotInstanceId()
1100
 * @method $this withIotInstanceId($value)
1101
 * @method array getDeviceName()
1102
 * @method string getProductKey()
1103
 * @method $this withProductKey($value)
1104
 */
1105
class BatchGetDeviceState extends Rpc
1106
{
1107
1108
    /**
1109
     * @param array $iotId
1110
     *
1111
     * @return $this
1112
     */
1113
    public function withIotId(array $iotId)
1114
    {
1115
        $this->data['IotId'] = $iotId;
1116
        foreach ($iotId as $i => $iValue) {
1117
            $this->options['query']['IotId.' . ($i + 1)] = $iValue;
1118
        }
1119
1120
        return $this;
1121
    }
1122
1123
    /**
1124
     * @param array $deviceName
1125
     *
1126
     * @return $this
1127
     */
1128
    public function withDeviceName(array $deviceName)
1129
    {
1130
        $this->data['DeviceName'] = $deviceName;
1131
        foreach ($deviceName as $i => $iValue) {
1132
            $this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
1133
        }
1134
1135
        return $this;
1136
    }
1137
}
1138
1139
/**
1140
 * @method string getConfiguration()
1141
 * @method $this withConfiguration($value)
1142
 * @method string getIotInstanceId()
1143
 * @method $this withIotInstanceId($value)
1144
 * @method string getActionId()
1145
 * @method $this withActionId($value)
1146
 * @method string getType()
1147
 * @method $this withType($value)
1148
 */
1149
class UpdateRuleAction extends Rpc
1150
{
1151
}
1152
1153
/**
1154
 * @method string getSelect()
1155
 * @method $this withSelect($value)
1156
 * @method string getRuleDesc()
1157
 * @method $this withRuleDesc($value)
1158
 * @method string getIotInstanceId()
1159
 * @method $this withIotInstanceId($value)
1160
 * @method string getName()
1161
 * @method $this withName($value)
1162
 * @method string getWhere()
1163
 * @method $this withWhere($value)
1164
 * @method string getRuleId()
1165
 * @method $this withRuleId($value)
1166
 * @method string getProductKey()
1167
 * @method $this withProductKey($value)
1168
 * @method string getTopicType()
1169
 * @method $this withTopicType($value)
1170
 * @method string getShortTopic()
1171
 * @method $this withShortTopic($value)
1172
 */
1173
class UpdateRule extends Rpc
1174
{
1175
}
1176
1177
/**
1178
 * @method string getTopicId()
1179
 * @method $this withTopicId($value)
1180
 * @method string getIotInstanceId()
1181
 * @method $this withIotInstanceId($value)
1182
 * @method string getOperation()
1183
 * @method $this withOperation($value)
1184
 * @method string getTopicShortName()
1185
 * @method $this withTopicShortName($value)
1186
 * @method string getDesc()
1187
 * @method $this withDesc($value)
1188
 */
1189
class UpdateProductTopic extends Rpc
1190
{
1191
}
1192
1193
/**
1194
 * @method string getShadowMessage()
1195
 * @method $this withShadowMessage($value)
1196
 * @method string getIotInstanceId()
1197
 * @method $this withIotInstanceId($value)
1198
 * @method string getDeviceName()
1199
 * @method $this withDeviceName($value)
1200
 * @method string getProductKey()
1201
 * @method $this withProductKey($value)
1202
 */
1203
class UpdateDeviceShadow extends Rpc
1204
{
1205
}
1206
1207
/**
1208
 * @method string getIotInstanceId()
1209
 * @method $this withIotInstanceId($value)
1210
 * @method string getRuleId()
1211
 * @method $this withRuleId($value)
1212
 */
1213
class StopRule extends Rpc
1214
{
1215
}
1216
1217
/**
1218
 * @method string getIotInstanceId()
1219
 * @method $this withIotInstanceId($value)
1220
 * @method string getRuleId()
1221
 * @method $this withRuleId($value)
1222
 */
1223
class StartRule extends Rpc
1224
{
1225
}
1226
1227
/**
1228
 * @method string getIotInstanceId()
1229
 * @method $this withIotInstanceId($value)
1230
 * @method string getProductKey()
1231
 * @method $this withProductKey($value)
1232
 */
1233
class QueryProductTopic extends Rpc
1234
{
1235
}
1236
1237
/**
1238
 * @method string getIotId()
1239
 * @method $this withIotId($value)
1240
 * @method string getIotInstanceId()
1241
 * @method $this withIotInstanceId($value)
1242
 * @method string getDeviceName()
1243
 * @method $this withDeviceName($value)
1244
 * @method string getProductKey()
1245
 * @method $this withProductKey($value)
1246
 */
1247
class QueryDeviceProp extends Rpc
1248
{
1249
}
1250
1251
/**
1252
 * @method string getTopicFullName()
1253
 * @method $this withTopicFullName($value)
1254
 * @method string getQos()
1255
 * @method $this withQos($value)
1256
 * @method string getMessageContent()
1257
 * @method $this withMessageContent($value)
1258
 * @method string getIotInstanceId()
1259
 * @method $this withIotInstanceId($value)
1260
 * @method string getProductKey()
1261
 * @method $this withProductKey($value)
1262
 */
1263
class Pub extends Rpc
1264
{
1265
}
1266
1267
/**
1268
 * @method string getIotInstanceId()
1269
 * @method $this withIotInstanceId($value)
1270
 * @method string getRuleId()
1271
 * @method $this withRuleId($value)
1272
 */
1273
class ListRuleActions extends Rpc
1274
{
1275
}
1276
1277
/**
1278
 * @method string getSearchName()
1279
 * @method $this withSearchName($value)
1280
 * @method string getIotInstanceId()
1281
 * @method $this withIotInstanceId($value)
1282
 * @method string getPageSize()
1283
 * @method $this withPageSize($value)
1284
 * @method string getCurrentPage()
1285
 * @method $this withCurrentPage($value)
1286
 */
1287
class ListRule extends Rpc
1288
{
1289
}
1290
1291
/**
1292
 * @method string getIotInstanceId()
1293
 * @method $this withIotInstanceId($value)
1294
 * @method string getActionId()
1295
 * @method $this withActionId($value)
1296
 */
1297
class GetRuleAction extends Rpc
1298
{
1299
}
1300
1301
/**
1302
 * @method string getIotInstanceId()
1303
 * @method $this withIotInstanceId($value)
1304
 * @method string getRuleId()
1305
 * @method $this withRuleId($value)
1306
 */
1307
class GetRule extends Rpc
1308
{
1309
}
1310
1311
/**
1312
 * @method string getShadowMessage()
1313
 * @method $this withShadowMessage($value)
1314
 * @method string getIotInstanceId()
1315
 * @method $this withIotInstanceId($value)
1316
 * @method string getDeviceName()
1317
 * @method $this withDeviceName($value)
1318
 * @method string getProductKey()
1319
 * @method $this withProductKey($value)
1320
 */
1321
class GetDeviceShadow extends Rpc
1322
{
1323
}
1324
1325
/**
1326
 * @method string getIotInstanceId()
1327
 * @method $this withIotInstanceId($value)
1328
 * @method string getActionId()
1329
 * @method $this withActionId($value)
1330
 */
1331
class DeleteRuleAction extends Rpc
1332
{
1333
}
1334
1335
/**
1336
 * @method string getIotInstanceId()
1337
 * @method $this withIotInstanceId($value)
1338
 * @method string getRuleId()
1339
 * @method $this withRuleId($value)
1340
 */
1341
class DeleteRule extends Rpc
1342
{
1343
}
1344
1345
/**
1346
 * @method string getTopicId()
1347
 * @method $this withTopicId($value)
1348
 * @method string getIotInstanceId()
1349
 * @method $this withIotInstanceId($value)
1350
 */
1351
class DeleteProductTopic extends Rpc
1352
{
1353
}
1354
1355
/**
1356
 * @method string getConfiguration()
1357
 * @method $this withConfiguration($value)
1358
 * @method string getIotInstanceId()
1359
 * @method $this withIotInstanceId($value)
1360
 * @method string getRuleId()
1361
 * @method $this withRuleId($value)
1362
 * @method string getType()
1363
 * @method $this withType($value)
1364
 * @method string getErrorActionFlag()
1365
 * @method $this withErrorActionFlag($value)
1366
 */
1367
class CreateRuleAction extends Rpc
1368
{
1369
}
1370
1371
/**
1372
 * @method string getSelect()
1373
 * @method $this withSelect($value)
1374
 * @method string getRuleDesc()
1375
 * @method $this withRuleDesc($value)
1376
 * @method string getDataType()
1377
 * @method $this withDataType($value)
1378
 * @method string getIotInstanceId()
1379
 * @method $this withIotInstanceId($value)
1380
 * @method string getName()
1381
 * @method $this withName($value)
1382
 * @method string getWhere()
1383
 * @method $this withWhere($value)
1384
 * @method string getProductKey()
1385
 * @method $this withProductKey($value)
1386
 * @method string getTopicType()
1387
 * @method $this withTopicType($value)
1388
 * @method string getShortTopic()
1389
 * @method $this withShortTopic($value)
1390
 */
1391
class CreateRule extends Rpc
1392
{
1393
}
1394
1395
/**
1396
 * @method string getIotInstanceId()
1397
 * @method $this withIotInstanceId($value)
1398
 * @method string getProductKey()
1399
 * @method $this withProductKey($value)
1400
 * @method string getTopicShortName()
1401
 * @method $this withTopicShortName($value)
1402
 * @method string getOperation()
1403
 * @method $this withOperation($value)
1404
 * @method string getDesc()
1405
 * @method $this withDesc($value)
1406
 */
1407
class CreateProductTopic extends Rpc
1408
{
1409
}
1410
1411
/**
1412
 * @method string getApplyId()
1413
 * @method $this withApplyId($value)
1414
 * @method string getIotInstanceId()
1415
 * @method $this withIotInstanceId($value)
1416
 * @method string getProductKey()
1417
 * @method $this withProductKey($value)
1418
 */
1419
class QueryBatchRegisterDeviceStatus extends Rpc
1420
{
1421
}
1422
1423
/**
1424
 * @method string getIotId()
1425
 * @method $this withIotId($value)
1426
 * @method string getIotInstanceId()
1427
 * @method $this withIotInstanceId($value)
1428
 * @method string getDeviceName()
1429
 * @method $this withDeviceName($value)
1430
 * @method string getProductKey()
1431
 * @method $this withProductKey($value)
1432
 */
1433
class GetGatewayBySubDevice extends Rpc
1434
{
1435
}
1436
1437
/**
1438
 * @method string getIotId()
1439
 * @method $this withIotId($value)
1440
 * @method string getIotInstanceId()
1441
 * @method $this withIotInstanceId($value)
1442
 * @method string getDeviceName()
1443
 * @method $this withDeviceName($value)
1444
 * @method string getProductKey()
1445
 * @method $this withProductKey($value)
1446
 */
1447
class RemoveThingTopo extends Rpc
1448
{
1449
}
1450
1451
/**
1452
 * @method string getGwProductKey()
1453
 * @method $this withGwProductKey($value)
1454
 * @method string getGwDeviceName()
1455
 * @method $this withGwDeviceName($value)
1456
 * @method string getIotInstanceId()
1457
 * @method $this withIotInstanceId($value)
1458
 * @method string getGwIotId()
1459
 * @method $this withGwIotId($value)
1460
 * @method string getDeviceListStr()
1461
 * @method $this withDeviceListStr($value)
1462
 */
1463
class NotifyAddThingTopo extends Rpc
1464
{
1465
}
1466
1467
/**
1468
 * @method string getIotId()
1469
 * @method $this withIotId($value)
1470
 * @method string getPageNo()
1471
 * @method $this withPageNo($value)
1472
 * @method string getIotInstanceId()
1473
 * @method $this withIotInstanceId($value)
1474
 * @method string getPageSize()
1475
 * @method $this withPageSize($value)
1476
 * @method string getDeviceName()
1477
 * @method $this withDeviceName($value)
1478
 * @method string getProductKey()
1479
 * @method $this withProductKey($value)
1480
 */
1481
class GetThingTopo extends Rpc
1482
{
1483
}
1484
1485
/**
1486
 * @method string getIotId()
1487
 * @method $this withIotId($value)
1488
 * @method string getIotInstanceId()
1489
 * @method $this withIotInstanceId($value)
1490
 * @method string getDeviceName()
1491
 * @method $this withDeviceName($value)
1492
 * @method string getProductKey()
1493
 * @method $this withProductKey($value)
1494
 */
1495
class QueryDevicePropertyStatus extends Rpc
1496
{
1497
}
1498
1499
/**
1500
 * @method string getAsc()
1501
 * @method $this withAsc($value)
1502
 * @method string getIdentifier()
1503
 * @method $this withIdentifier($value)
1504
 * @method string getIotId()
1505
 * @method $this withIotId($value)
1506
 * @method string getIotInstanceId()
1507
 * @method $this withIotInstanceId($value)
1508
 * @method string getPageSize()
1509
 * @method $this withPageSize($value)
1510
 * @method string getEndTime()
1511
 * @method $this withEndTime($value)
1512
 * @method string getDeviceName()
1513
 * @method $this withDeviceName($value)
1514
 * @method string getStartTime()
1515
 * @method $this withStartTime($value)
1516
 * @method string getProductKey()
1517
 * @method $this withProductKey($value)
1518
 */
1519
class QueryDevicePropertyData extends Rpc
1520
{
1521
}
1522
1523
/**
1524
 * @method string getApplyId()
1525
 * @method $this withApplyId($value)
1526
 * @method string getIotInstanceId()
1527
 * @method $this withIotInstanceId($value)
1528
 * @method string getProductKey()
1529
 * @method $this withProductKey($value)
1530
 */
1531
class BatchRegisterDeviceWithApplyId extends Rpc
1532
{
1533
}
1534
1535
/**
1536
 * @method string getIotInstanceId()
1537
 * @method $this withIotInstanceId($value)
1538
 * @method string getCount()
1539
 * @method $this withCount($value)
1540
 * @method string getProductKey()
1541
 * @method $this withProductKey($value)
1542
 */
1543
class BatchRegisterDevice extends Rpc
1544
{
1545
}
1546
1547
/**
1548
 * @method string getIotInstanceId()
1549
 * @method $this withIotInstanceId($value)
1550
 * @method array getDeviceName()
1551
 * @method string getProductKey()
1552
 * @method $this withProductKey($value)
1553
 */
1554
class BatchCheckDeviceNames extends Rpc
1555
{
1556
1557
    /**
1558
     * @param array $deviceName
1559
     *
1560
     * @return $this
1561
     */
1562
    public function withDeviceName(array $deviceName)
1563
    {
1564
        $this->data['DeviceName'] = $deviceName;
1565
        foreach ($deviceName as $i => $iValue) {
1566
            $this->options['query']['DeviceName.' . ($i + 1)] = $iValue;
1567
        }
1568
1569
        return $this;
1570
    }
1571
}
1572
1573
/**
1574
 * @method string getIotInstanceId()
1575
 * @method $this withIotInstanceId($value)
1576
 * @method string getProductName()
1577
 * @method $this withProductName($value)
1578
 * @method string getDescription()
1579
 * @method $this withDescription($value)
1580
 * @method string getProductKey()
1581
 * @method $this withProductKey($value)
1582
 */
1583
class UpdateProduct extends Rpc
1584
{
1585
}
1586
1587
/**
1588
 * @method string getIotId()
1589
 * @method $this withIotId($value)
1590
 * @method string getIotInstanceId()
1591
 * @method $this withIotInstanceId($value)
1592
 * @method string getDeviceName()
1593
 * @method $this withDeviceName($value)
1594
 * @method string getProductKey()
1595
 * @method $this withProductKey($value)
1596
 * @method string getItems()
1597
 * @method $this withItems($value)
1598
 */
1599
class SetDeviceProperty extends Rpc
1600
{
1601
}
1602
1603
/**
1604
 * @method string getPinCode()
1605
 * @method $this withPinCode($value)
1606
 * @method string getIotInstanceId()
1607
 * @method $this withIotInstanceId($value)
1608
 * @method string getNickname()
1609
 * @method $this withNickname($value)
1610
 * @method string getDeviceName()
1611
 * @method $this withDeviceName($value)
1612
 * @method string getProductKey()
1613
 * @method $this withProductKey($value)
1614
 * @method string getDevEui()
1615
 * @method $this withDevEui($value)
1616
 */
1617
class RegisterDevice extends Rpc
1618
{
1619
}
1620
1621
/**
1622
 * @method string getIotInstanceId()
1623
 * @method $this withIotInstanceId($value)
1624
 * @method string getPageSize()
1625
 * @method $this withPageSize($value)
1626
 * @method string getCurrentPage()
1627
 * @method $this withCurrentPage($value)
1628
 * @method string getAliyunCommodityCode()
1629
 * @method $this withAliyunCommodityCode($value)
1630
 */
1631
class QueryProductList extends Rpc
1632
{
1633
}
1634
1635
/**
1636
 * @method string getIotInstanceId()
1637
 * @method $this withIotInstanceId($value)
1638
 * @method string getProductKey()
1639
 * @method $this withProductKey($value)
1640
 */
1641
class QueryProduct extends Rpc
1642
{
1643
}
1644
1645
/**
1646
 * @method string getIotInstanceId()
1647
 * @method $this withIotInstanceId($value)
1648
 * @method string getProductKey()
1649
 * @method $this withProductKey($value)
1650
 */
1651
class QueryDeviceStatistics extends Rpc
1652
{
1653
}
1654
1655
/**
1656
 * @method string getAsc()
1657
 * @method $this withAsc($value)
1658
 * @method string getIdentifier()
1659
 * @method $this withIdentifier($value)
1660
 * @method string getIotId()
1661
 * @method $this withIotId($value)
1662
 * @method string getIotInstanceId()
1663
 * @method $this withIotInstanceId($value)
1664
 * @method string getPageSize()
1665
 * @method $this withPageSize($value)
1666
 * @method string getEndTime()
1667
 * @method $this withEndTime($value)
1668
 * @method string getDeviceName()
1669
 * @method $this withDeviceName($value)
1670
 * @method string getStartTime()
1671
 * @method $this withStartTime($value)
1672
 * @method string getProductKey()
1673
 * @method $this withProductKey($value)
1674
 */
1675
class QueryDeviceServiceData extends Rpc
1676
{
1677
}
1678
1679
/**
1680
 * @method string getAsc()
1681
 * @method $this withAsc($value)
1682
 * @method string getIdentifier()
1683
 * @method $this withIdentifier($value)
1684
 * @method string getIotId()
1685
 * @method $this withIotId($value)
1686
 * @method string getIotInstanceId()
1687
 * @method $this withIotInstanceId($value)
1688
 * @method string getPageSize()
1689
 * @method $this withPageSize($value)
1690
 * @method string getEndTime()
1691
 * @method $this withEndTime($value)
1692
 * @method string getEventType()
1693
 * @method $this withEventType($value)
1694
 * @method string getDeviceName()
1695
 * @method $this withDeviceName($value)
1696
 * @method string getStartTime()
1697
 * @method $this withStartTime($value)
1698
 * @method string getProductKey()
1699
 * @method $this withProductKey($value)
1700
 */
1701
class QueryDeviceEventData extends Rpc
1702
{
1703
}
1704
1705
/**
1706
 * @method string getIotId()
1707
 * @method $this withIotId($value)
1708
 * @method string getIotInstanceId()
1709
 * @method $this withIotInstanceId($value)
1710
 * @method string getDeviceName()
1711
 * @method $this withDeviceName($value)
1712
 * @method string getProductKey()
1713
 * @method $this withProductKey($value)
1714
 */
1715
class QueryDeviceDetail extends Rpc
1716
{
1717
}
1718
1719
/**
1720
 * @method string getArgs()
1721
 * @method $this withArgs($value)
1722
 * @method string getIdentifier()
1723
 * @method $this withIdentifier($value)
1724
 * @method string getIotId()
1725
 * @method $this withIotId($value)
1726
 * @method string getIotInstanceId()
1727
 * @method $this withIotInstanceId($value)
1728
 * @method string getDeviceName()
1729
 * @method $this withDeviceName($value)
1730
 * @method string getProductKey()
1731
 * @method $this withProductKey($value)
1732
 */
1733
class InvokeThingService extends Rpc
1734
{
1735
}
1736
1737
/**
1738
 * @method string getIotId()
1739
 * @method $this withIotId($value)
1740
 * @method string getIotInstanceId()
1741
 * @method $this withIotInstanceId($value)
1742
 * @method string getDeviceName()
1743
 * @method $this withDeviceName($value)
1744
 * @method string getProductKey()
1745
 * @method $this withProductKey($value)
1746
 */
1747
class GetDeviceStatus extends Rpc
1748
{
1749
}
1750
1751
/**
1752
 * @method string getIotId()
1753
 * @method $this withIotId($value)
1754
 * @method string getIotInstanceId()
1755
 * @method $this withIotInstanceId($value)
1756
 * @method string getDeviceName()
1757
 * @method $this withDeviceName($value)
1758
 * @method string getProductKey()
1759
 * @method $this withProductKey($value)
1760
 */
1761
class EnableThing extends Rpc
1762
{
1763
}
1764
1765
/**
1766
 * @method string getIotId()
1767
 * @method $this withIotId($value)
1768
 * @method string getIotInstanceId()
1769
 * @method $this withIotInstanceId($value)
1770
 * @method string getDeviceName()
1771
 * @method $this withDeviceName($value)
1772
 * @method string getProductKey()
1773
 * @method $this withProductKey($value)
1774
 */
1775
class DisableThing extends Rpc
1776
{
1777
}
1778
1779
/**
1780
 * @method string getIotInstanceId()
1781
 * @method $this withIotInstanceId($value)
1782
 * @method string getProductKey()
1783
 * @method $this withProductKey($value)
1784
 */
1785
class DeleteProduct extends Rpc
1786
{
1787
}
1788
1789
/**
1790
 * @method string getIotId()
1791
 * @method $this withIotId($value)
1792
 * @method string getIotInstanceId()
1793
 * @method $this withIotInstanceId($value)
1794
 * @method string getDeviceName()
1795
 * @method $this withDeviceName($value)
1796
 * @method string getProductKey()
1797
 * @method $this withProductKey($value)
1798
 */
1799
class DeleteDevice extends Rpc
1800
{
1801
}
1802
1803
/**
1804
 * @method string getDataFormat()
1805
 * @method $this withDataFormat($value)
1806
 * @method string getNodeType()
1807
 * @method $this withNodeType($value)
1808
 * @method string getId2()
1809
 * @method $this withId2($value)
1810
 * @method string getIotInstanceId()
1811
 * @method $this withIotInstanceId($value)
1812
 * @method string getNetType()
1813
 * @method $this withNetType($value)
1814
 * @method string getProductName()
1815
 * @method $this withProductName($value)
1816
 * @method string getDescription()
1817
 * @method $this withDescription($value)
1818
 * @method string getProtocolType()
1819
 * @method $this withProtocolType($value)
1820
 * @method string getAliyunCommodityCode()
1821
 * @method $this withAliyunCommodityCode($value)
1822
 * @method string getJoinPermissionId()
1823
 * @method $this withJoinPermissionId($value)
1824
 * @method string getCategoryId()
1825
 * @method $this withCategoryId($value)
1826
 */
1827
class CreateProduct extends Rpc
1828
{
1829
}
1830