Skip to content

Commit 2010408

Browse files
Update PE OpenAPI spec (from master) (#28)
2 parents 936e38b + 2ac0601 commit 2010408

100 files changed

Lines changed: 4721 additions & 2762 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.

pe/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
| propagateToOwnerHierarchy | Boolean | | [optional] |
@@ -202,11 +202,11 @@
202202
| relationType | String | | [optional] |
203203
| direction | EntitySearchDirection | | [optional] |
204204

205-
#### AlarmRuleDefinition
205+
#### AlarmRule
206206
| Name | Type | Description | Notes |
207207
|------|------|-------------|-------|
208+
| condition | AlarmCondition | | |
208209
| alarmDetails | String | | [optional] |
209-
| condition | AlarmRuleCondition | | |
210210
| dashboardId | DashboardId | | [optional] |
211211

212212
#### RelationPathLevel
@@ -342,26 +342,26 @@
342342
#### EntitySearchDirection (enum)
343343
`FROM` | `TO`
344344

345-
#### AlarmRuleCondition
345+
#### AlarmCondition
346346
| Name | Type | Description | Notes |
347347
|------|------|-------------|-------|
348348
| expression | AlarmConditionExpression | | |
349-
| schedule | AlarmConditionValueAlarmRuleSchedule | | [optional] |
349+
| schedule | AlarmConditionValueAlarmSchedule | | [optional] |
350350
| type | String | | |
351351

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

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

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

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

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

403-
#### AlarmConditionValueAlarmRuleSchedule
403+
#### AlarmConditionValueAlarmSchedule
404404
| Name | Type | Description | Notes |
405405
|------|------|-------------|-------|
406+
| staticValue | AlarmSchedule | | [optional] |
406407
| dynamicValueArgument | String | | [optional] |
407-
| staticValue | AlarmRuleSchedule | | [optional] |
408408

409-
#### AlarmRuleSchedule
409+
#### AlarmSchedule
410410
| Name | Type | Description | Notes |
411411
|------|------|-------------|-------|
412412
| type | String | | |
413413

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

417-
#### AlarmRuleCustomTimeSchedule *(extends AlarmRuleSchedule, type=`CUSTOM`)*
417+
#### CustomTimeSchedule *(extends AlarmSchedule, type=`CUSTOM`)*
418418
| Name | Type | Description | Notes |
419419
|------|------|-------------|-------|
420-
| items | List<AlarmRuleCustomTimeScheduleItem> | | [optional] |
421420
| timezone | String | | [optional] |
421+
| items | List<CustomTimeScheduleItem> | | [optional] |
422422

423-
#### AlarmRuleSpecificTimeSchedule *(extends AlarmRuleSchedule, type=`SPECIFIC_TIME`)*
423+
#### SpecificTimeSchedule *(extends AlarmSchedule, type=`SPECIFIC_TIME`)*
424424
| Name | Type | Description | Notes |
425425
|------|------|-------------|-------|
426+
| timezone | String | | [optional] |
426427
| daysOfWeek | Set<Integer> | | [optional] |
427-
| endsOn | Long | | [optional] |
428428
| startsOn | Long | | [optional] |
429-
| timezone | String | | [optional] |
429+
| endsOn | Long | | [optional] |
430430

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

446-
#### AlarmRuleConditionFilter
446+
#### AlarmConditionFilter
447447
| Name | Type | Description | Notes |
448448
|------|------|-------------|-------|
449449
| argument | String | | |
450-
| operation | ComplexOperation | | [optional] |
451-
| predicates | List<AlarmRuleKeyFilterPredicate> | | |
452450
| valueType | EntityKeyValueType | | |
451+
| operation | AlarmRuleComplexOperation | | [optional] |
452+
| predicates | List<AlarmRuleKeyFilterPredicate> | | |
453453

454-
#### ComplexOperation (enum)
454+
#### AlarmRuleComplexOperation (enum)
455455
`AND` | `OR`
456456

457+
#### EntityKeyValueType (enum)
458+
`STRING` | `NUMERIC` | `BOOLEAN` | `DATE_TIME`
459+
457460
#### AlarmRuleKeyFilterPredicate
458461
| Name | Type | Description | Notes |
459462
|------|------|-------------|-------|
@@ -462,46 +465,43 @@
462465
#### AlarmRuleBooleanFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`BOOLEAN`)*
463466
| Name | Type | Description | Notes |
464467
|------|------|-------------|-------|
465-
| operation | BooleanOperation | | |
468+
| operation | AlarmRuleBooleanOperation | | |
466469
| value | AlarmConditionValueBoolean | | |
467470

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

474-
#### AlarmRuleNoDataFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`NO_DATA`)*
477+
#### NoDataFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`NO_DATA`)*
475478
| Name | Type | Description | Notes |
476479
|------|------|-------------|-------|
477-
| duration | AlarmConditionValueLong | | |
478480
| unit | TimeUnit | | |
481+
| duration | AlarmConditionValueLong | | |
479482

480483
#### AlarmRuleNumericFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`NUMERIC`)*
481484
| Name | Type | Description | Notes |
482485
|------|------|-------------|-------|
483-
| operation | NumericOperation | | |
486+
| operation | AlarmRuleNumericOperation | | |
484487
| value | AlarmConditionValueDouble | | |
485488

486489
#### AlarmRuleStringFilterPredicate *(extends AlarmRuleKeyFilterPredicate, type=`STRING`)*
487490
| Name | Type | Description | Notes |
488491
|------|------|-------------|-------|
489-
| ignoreCase | Boolean | | [optional] |
490-
| operation | StringOperation | | |
492+
| operation | AlarmRuleStringOperation | | |
491493
| value | AlarmConditionValueString | | |
494+
| ignoreCase | Boolean | | [optional] |
492495

493-
#### EntityKeyValueType (enum)
494-
`STRING` | `NUMERIC` | `BOOLEAN` | `DATE_TIME`
495-
496-
#### AlarmRuleCustomTimeScheduleItem
496+
#### CustomTimeScheduleItem
497497
| Name | Type | Description | Notes |
498498
|------|------|-------------|-------|
499-
| dayOfWeek | Integer | | [optional] |
500499
| enabled | Boolean | | [optional] |
501-
| endsOn | Long | | [optional] |
500+
| dayOfWeek | Integer | | [optional] |
502501
| startsOn | Long | | [optional] |
502+
| endsOn | Long | | [optional] |
503503

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

507507
#### AlarmConditionValueString
@@ -510,7 +510,7 @@
510510
| staticValue | String | | [optional] |
511511
| dynamicValueArgument | String | | [optional] |
512512

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

516516
#### AlarmConditionValueDouble
@@ -519,7 +519,7 @@
519519
| staticValue | Double | | [optional] |
520520
| dynamicValueArgument | String | | [optional] |
521521

522-
#### BooleanOperation (enum)
522+
#### AlarmRuleBooleanOperation (enum)
523523
`EQUAL` | `NOT_EQUAL`
524524

525525
#### AlarmConditionValueBoolean

0 commit comments

Comments
 (0)