Skip to content

Commit e0174eb

Browse files
Merge pull request #29 from thingsboard/auto/update-ce-client
Update CE OpenAPI spec (from master)
2 parents 2010408 + 9077163 commit e0174eb

142 files changed

Lines changed: 5286 additions & 3439 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ce/docs/AiModelExportData.md

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@
9696
| Name | Type | Description | Notes |
9797
|------|------|-------------|-------|
9898
| arguments | Map<String, Argument> | | |
99-
| createRules | Map<String, AlarmRuleDefinition> | | |
100-
| clearRule | AlarmRuleDefinition | | [optional] |
99+
| createRules | Map<String, AlarmRule> | | |
100+
| clearRule | AlarmRule | | [optional] |
101101
| propagate | Boolean | | [optional] |
102102
| propagateToOwner | Boolean | | [optional] |
103103
| propagateToTenant | Boolean | | [optional] |
@@ -201,11 +201,11 @@
201201
| relationType | String | | [optional] |
202202
| direction | EntitySearchDirection | | [optional] |
203203

204-
#### AlarmRuleDefinition
204+
#### AlarmRule
205205
| Name | Type | Description | Notes |
206206
|------|------|-------------|-------|
207+
| condition | AlarmCondition | | |
207208
| alarmDetails | String | | [optional] |
208-
| condition | AlarmRuleCondition | | |
209209
| dashboardId | DashboardId | | [optional] |
210210

211211
#### RelationPathLevel
@@ -341,26 +341,26 @@
341341
#### EntitySearchDirection (enum)
342342
`FROM` | `TO`
343343

344-
#### AlarmRuleCondition
344+
#### AlarmCondition
345345
| Name | Type | Description | Notes |
346346
|------|------|-------------|-------|
347347
| expression | AlarmConditionExpression | | |
348-
| schedule | AlarmConditionValueAlarmRuleSchedule | | [optional] |
348+
| schedule | AlarmConditionValueAlarmSchedule | | [optional] |
349349
| type | String | | |
350350

351-
#### AlarmRuleDurationCondition *(extends AlarmRuleCondition, type=`DURATION`)*
351+
#### DurationAlarmCondition *(extends AlarmCondition, type=`DURATION`)*
352352
| Name | Type | Description | Notes |
353353
|------|------|-------------|-------|
354354
| unit | TimeUnit | | |
355355
| value | AlarmConditionValueLong | | |
356356

357-
#### AlarmRuleRepeatingCondition *(extends AlarmRuleCondition, type=`REPEATING`)*
357+
#### RepeatingAlarmCondition *(extends AlarmCondition, type=`REPEATING`)*
358358
| Name | Type | Description | Notes |
359359
|------|------|-------------|-------|
360360
| count | AlarmConditionValueInteger | | |
361361

362-
#### AlarmRuleSimpleCondition *(extends AlarmRuleCondition, type=`SIMPLE`)*
363-
*See AlarmRuleCondition for properties.*
362+
#### SimpleAlarmCondition *(extends AlarmCondition, type=`SIMPLE`)*
363+
*See AlarmCondition for properties.*
364364

365365
#### AggFunction (enum)
366366
`MIN` | `MAX` | `SUM` | `AVG` | `COUNT` | `COUNT_UNIQUE`
@@ -391,41 +391,41 @@
391391
#### SimpleAlarmConditionExpression *(extends AlarmConditionExpression, type=`SIMPLE`)*
392392
| Name | Type | Description | Notes |
393393
|------|------|-------------|-------|
394-
| filters | List<AlarmRuleConditionFilter> | | |
395-
| operation | ComplexOperation | | [optional] |
394+
| filters | List<AlarmConditionFilter> | | |
395+
| operation | AlarmRuleComplexOperation | | [optional] |
396396

397397
#### TbelAlarmConditionExpression *(extends AlarmConditionExpression, type=`TBEL`)*
398398
| Name | Type | Description | Notes |
399399
|------|------|-------------|-------|
400400
| expression | String | | |
401401

402-
#### AlarmConditionValueAlarmRuleSchedule
402+
#### AlarmConditionValueAlarmSchedule
403403
| Name | Type | Description | Notes |
404404
|------|------|-------------|-------|
405+
| staticValue | AlarmSchedule | | [optional] |
405406
| dynamicValueArgument | String | | [optional] |
406-
| staticValue | AlarmRuleSchedule | | [optional] |
407407

408-
#### AlarmRuleSchedule
408+
#### AlarmSchedule
409409
| Name | Type | Description | Notes |
410410
|------|------|-------------|-------|
411411
| type | String | | |
412412

413-
#### AlarmRuleAnyTimeSchedule *(extends AlarmRuleSchedule, type=`ANY_TIME`)*
414-
*See AlarmRuleSchedule for properties.*
413+
#### AnyTimeSchedule *(extends AlarmSchedule, type=`ANY_TIME`)*
414+
*See AlarmSchedule for properties.*
415415

416-
#### AlarmRuleCustomTimeSchedule *(extends AlarmRuleSchedule, type=`CUSTOM`)*
416+
#### CustomTimeSchedule *(extends AlarmSchedule, type=`CUSTOM`)*
417417
| Name | Type | Description | Notes |
418418
|------|------|-------------|-------|
419-
| items | List<AlarmRuleCustomTimeScheduleItem> | | [optional] |
420419
| timezone | String | | [optional] |
420+
| items | List<CustomTimeScheduleItem> | | [optional] |
421421

422-
#### AlarmRuleSpecificTimeSchedule *(extends AlarmRuleSchedule, type=`SPECIFIC_TIME`)*
422+
#### SpecificTimeSchedule *(extends AlarmSchedule, type=`SPECIFIC_TIME`)*
423423
| Name | Type | Description | Notes |
424424
|------|------|-------------|-------|
425+
| timezone | String | | [optional] |
425426
| daysOfWeek | Set<Integer> | | [optional] |
426-
| endsOn | Long | | [optional] |
427427
| startsOn | Long | | [optional] |
428-
| timezone | String | | [optional] |
428+
| endsOn | Long | | [optional] |
429429

430430
#### TimeUnit (enum)
431431
`NANOSECONDS` | `MICROSECONDS` | `MILLISECONDS` | `SECONDS` | `MINUTES` | `HOURS` | `DAYS`
@@ -442,17 +442,20 @@
442442
| staticValue | Integer | | [optional] |
443443
| dynamicValueArgument | String | | [optional] |
444444

445-
#### AlarmRuleConditionFilter
445+
#### AlarmConditionFilter
446446
| Name | Type | Description | Notes |
447447
|------|------|-------------|-------|
448448
| argument | String | | |
449-
| operation | ComplexOperation | | [optional] |
450-
| predicates | List<AlarmRuleKeyFilterPredicate> | | |
451449
| valueType | EntityKeyValueType | | |
450+
| operation | AlarmRuleComplexOperation | | [optional] |
451+
| predicates | List<AlarmRuleKeyFilterPredicate> | | |
452452

453-
#### ComplexOperation (enum)
453+
#### AlarmRuleComplexOperation (enum)
454454
`AND` | `OR`
455455

456+
#### EntityKeyValueType (enum)
457+
`STRING` | `NUMERIC` | `BOOLEAN` | `DATE_TIME`
458+
456459
#### AlarmRuleKeyFilterPredicate
457460
| Name | Type | Description | Notes |
458461
|------|------|-------------|-------|
@@ -461,46 +464,43 @@
461464
#### AlarmRuleBooleanFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`BOOLEAN`)*
462465
| Name | Type | Description | Notes |
463466
|------|------|-------------|-------|
464-
| operation | BooleanOperation | | |
467+
| operation | AlarmRuleBooleanOperation | | |
465468
| value | AlarmConditionValueBoolean | | |
466469

467470
#### AlarmRuleComplexFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`COMPLEX`)*
468471
| Name | Type | Description | Notes |
469472
|------|------|-------------|-------|
470-
| operation | ComplexOperation | | [optional] |
473+
| operation | AlarmRuleComplexOperation | | [optional] |
471474
| predicates | List<AlarmRuleKeyFilterPredicate> | | [optional] |
472475

473-
#### AlarmRuleNoDataFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`NO_DATA`)*
476+
#### NoDataFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`NO_DATA`)*
474477
| Name | Type | Description | Notes |
475478
|------|------|-------------|-------|
476-
| duration | AlarmConditionValueLong | | |
477479
| unit | TimeUnit | | |
480+
| duration | AlarmConditionValueLong | | |
478481

479482
#### AlarmRuleNumericFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`NUMERIC`)*
480483
| Name | Type | Description | Notes |
481484
|------|------|-------------|-------|
482-
| operation | NumericOperation | | |
485+
| operation | AlarmRuleNumericOperation | | |
483486
| value | AlarmConditionValueDouble | | |
484487

485488
#### AlarmRuleStringFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`STRING`)*
486489
| Name | Type | Description | Notes |
487490
|------|------|-------------|-------|
488-
| ignoreCase | Boolean | | [optional] |
489-
| operation | StringOperation | | |
491+
| operation | AlarmRuleStringOperation | | |
490492
| value | AlarmConditionValueString | | |
493+
| ignoreCase | Boolean | | [optional] |
491494

492-
#### EntityKeyValueType (enum)
493-
`STRING` | `NUMERIC` | `BOOLEAN` | `DATE_TIME`
494-
495-
#### AlarmRuleCustomTimeScheduleItem
495+
#### CustomTimeScheduleItem
496496
| Name | Type | Description | Notes |
497497
|------|------|-------------|-------|
498-
| dayOfWeek | Integer | | [optional] |
499498
| enabled | Boolean | | [optional] |
500-
| endsOn | Long | | [optional] |
499+
| dayOfWeek | Integer | | [optional] |
501500
| startsOn | Long | | [optional] |
501+
| endsOn | Long | | [optional] |
502502

503-
#### StringOperation (enum)
503+
#### AlarmRuleStringOperation (enum)
504504
`EQUAL` | `NOT_EQUAL` | `STARTS_WITH` | `ENDS_WITH` | `CONTAINS` | `NOT_CONTAINS` | `IN` | `NOT_IN`
505505

506506
#### AlarmConditionValueString
@@ -509,7 +509,7 @@
509509
| staticValue | String | | [optional] |
510510
| dynamicValueArgument | String | | [optional] |
511511

512-
#### NumericOperation (enum)
512+
#### AlarmRuleNumericOperation (enum)
513513
`EQUAL` | `NOT_EQUAL` | `GREATER` | `LESS` | `GREATER_OR_EQUAL` | `LESS_OR_EQUAL`
514514

515515
#### AlarmConditionValueDouble
@@ -518,7 +518,7 @@
518518
| staticValue | Double | | [optional] |
519519
| dynamicValueArgument | String | | [optional] |
520520

521-
#### BooleanOperation (enum)
521+
#### AlarmRuleBooleanOperation (enum)
522522
`EQUAL` | `NOT_EQUAL`
523523

524524
#### AlarmConditionValueBoolean

0 commit comments

Comments
 (0)