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.
Completed
Pull Request — master (#107)
by Yong
07:54
created

QueryDeviceTaskListByJob   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 16
c 0
b 0
f 0
rs 10

1 Method

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