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.
Passed
Pull Request — master (#104)
by Yong
05:37
created

CreateLoRaNodesTask::withDeviceInfo()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

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