redfish-codegen 0.3.1

An unopinionated translation of the Redfish specification into Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
// Generated by redfish-codegen. Do not modify.

use redfish_macros::IntoRedfishMessage;

/// This registry defines messages related to electrical measurements and power distribution equipment.
#[derive(Clone, Debug, IntoRedfishMessage)]
#[message(crate::models::message::v1_1_2::Message)]
pub enum Power {
    /// This message shall be used to indicate that a voltage reading violates a lower caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
    #[message(message = "Voltage '%1' reading of %2 volts is below the %3 lower caution threshold.")]
    #[message(id = "Power.1.0.0.VoltageBelowLowerCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageBelowLowerCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a current reading, previously below the fatal threshold, no longer violates the lower fatal threshold.  However, the current violates at least one lower threshold and is not within the normal operating range.
    #[message(message = "Current '%1' reading of %2 amperes is now above the %3 lower fatal threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.CurrentAboveLowerFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentAboveLowerFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading, previously above the critical threshold, no longer violates the upper critical threshold.  However, the frequency violates at least one upper threshold and is not within the normal operating range.
    #[message(message = "Frequency '%1' reading of %2 hertz is now below the %3 upper critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.FrequencyBelowUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyBelowUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz units.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading, previously above the critical threshold, no longer violates the upper critical threshold.  However, the voltage violates at least one upper threshold and is not within the normal operating range.
    #[message(message = "Voltage '%1' reading of %2 volts is now below the %3 upper critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.VoltageBelowUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageBelowUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that the value of the `PowerState` property of an `Outlet` resource changed to `On`.
    #[message(message = "Outlet '%1' powered on.")]
    #[message(id = "Power.1.0.0.OutletPoweredOn")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    OutletPoweredOn(
        /// This argument shall contain a string that identifies or describes the `Outlet` resource.
        String,
    ),
    /// This message shall be used to indicate that a current reading violates an internal warning level.  This message shall be used for current-related properties or `Sensor` resources that implement boolean trip points for a caution limit, such as from hardware mechanisms with no threshold value.  The current-related properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Current '%1' reading of %2 amperes exceeds the warning level.")]
    #[message(id = "Power.1.0.0.CurrentWarning")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentWarning(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading no longer violates an internal critical level, but still exceeds an internal warning level.  This message shall be used for frequency properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The frequency properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Frequency '%1' reading of %2 hertz no longer exceeds the critcal level.")]
    #[message(id = "Power.1.0.0.FrequencyNoLongerCritical")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyNoLongerCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz.
        f64,
    ),
    /// This message shall be used to indicate that a power supply was repaired, replaced, or otherwise returned to normal operation.
    #[message(message = "Power supply '%1' was restored.")]
    #[message(id = "Power.1.0.0.PowerSupplyRestored")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    PowerSupplyRestored(
        /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
        String,
    ),
    /// This message shall be used to indicate that a power supply has a warning condition, but continues to supply output power.
    #[message(message = "Power supply '%1' has a warning condition.")]
    #[message(id = "Power.1.0.0.PowerSupplyWarning")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the power supply hardware and replace any faulty component.")]
    PowerSupplyWarning(
        /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
        String,
    ),
    /// This message shall be used to indicate that a voltage reading, previously below the fatal threshold, no longer violates the lower fatal threshold.  However, the voltage violates at least one lower threshold and is not within the normal operating range.
    #[message(message = "Voltage '%1' reading of %2 volts is now above the %3 lower fatal threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.VoltageAboveLowerFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageAboveLowerFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate a power supply predicted a future failure condition, but the power supply remains functional.
    #[message(message = "Power supply '%1' has a predicted failure condition.")]
    #[message(id = "Power.1.0.0.PowerSupplyPredictiveFailure")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the power supply hardware and replace any faulty component.")]
    PowerSupplyPredictiveFailure(
        /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
        String,
    ),
    /// This message shall be used to indicate that a power reading no longer violates an internal critical level, but still exceeds an internal warning level.  This message shall be used for power properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The power properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Power '%1' reading of %2 watts no longer exceeds the critcal level.")]
    #[message(id = "Power.1.0.0.PowerNoLongerCritical")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerNoLongerCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
    ),
    /// This message shall be used to indicate that a circuit breaker tripped due to an over-current condition or an electrical fault.
    #[message(message = "Breaker '%1' has tripped.")]
    #[message(id = "Power.1.0.0.BreakerTripped")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the circuit and connected devices, and disconnect or replace any faulty devices.")]
    BreakerTripped(
        /// This argument shall contain a string that identifies or describes the `Circuit` resource or the location of the electrical fault.
        String,
    ),
    /// This message shall be used to indicate that a current reading, previously below the lower critical threshold, no longer violates the lower critical threshold.  However, the current violates at least one lower threshold and is not within the normal operating range.
    #[message(message = "Current '%1' reading of %2 amperes is now above the %3 lower critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.CurrentAboveLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentAboveLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a current reading violates a lower caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
    #[message(message = "Current '%1' reading of %2 amperes is below the %3 lower caution threshold.")]
    #[message(id = "Power.1.0.0.CurrentBelowLowerCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentBelowLowerCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a current reading violates an upper fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
    #[message(message = "Current '%1' reading of %2 amperes is above the %3 upper fatal threshold.")]
    #[message(id = "Power.1.0.0.CurrentAboveUpperFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentAboveUpperFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading violates a lower critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
    #[message(message = "Power '%1' reading of %2 watts is below the %3 lower critical threshold.")]
    #[message(id = "Power.1.0.0.PowerBelowLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerBelowLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power supply group has returned to a normal operating state.
    #[message(message = "Power supply group '%1' is operating normally.")]
    #[message(id = "Power.1.0.0.PowerSupplyGroupNormal")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    PowerSupplyGroupNormal(
        /// This argument shall contain a string that identifies or describes the group of `PowerSupply` resources.
        String,
    ),
    /// This message shall be used to indicate that a frequency reading violates a lower caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
    #[message(message = "Frequency '%1' reading of %2 hertz is below the %3 lower critical threshold.")]
    #[message(id = "Power.1.0.0.FrequencyBelowLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyBelowLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz units.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a current reading, previously above the critical threshold, no longer violates the upper critical threshold.  However, the current violates at least one upper threshold and is not within the normal operating range.
    #[message(message = "Current '%1' reading of %2 amperes is now below the %3 upper critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.CurrentBelowUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentBelowUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that the value of the `PowerState` property of a `Circuit` resource changed to `Off`.
    #[message(message = "Circuit '%1' powered off.")]
    #[message(id = "Power.1.0.0.CircuitPoweredOff")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    CircuitPoweredOff(
        /// This argument shall contain a string that identifies or describes the `Circuit` resource.
        String,
    ),
    /// This message shall be used to indicate that the value of the `PowerState` property of a `Circuit` resource changed to `On`.
    #[message(message = "Circuit '%1' powered on.")]
    #[message(id = "Power.1.0.0.CircuitPoweredOn")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    CircuitPoweredOn(
        /// This argument shall contain a string that identifies or describes the `Circuit` resource.
        String,
    ),
    /// This message shall be used to indicate that a power reading violates an internal warning level.  This message shall be used for power properties or `Sensor` resources that implement boolean trip points for a warning limit, such as from hardware mechanisms with no threshold value.  The power properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Power '%1' reading of %2 watts exceeds the warning level.")]
    #[message(id = "Power.1.0.0.PowerWarning")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerWarning(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
    ),
    /// This message shall be used to indicate that an electrical power input was repaired, reconnected, or otherwise returned to normal operation.
    #[message(message = "Line input power at '%1' was restored.")]
    #[message(id = "Power.1.0.0.LineInputPowerRestored")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    LineInputPowerRestored(
        /// This argument shall contain a string that identifies or describes a `PowerSupply`, `Circuit`, `PowerDistribution`, or `Chassis` resource.
        String,
    ),
    /// This message shall be used to indicate that a current reading has returned to its normal operating range.
    #[message(message = "Current '%1' reading of %2 amperes is within normal operating range.")]
    #[message(id = "Power.1.0.0.CurrentNormal")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    CurrentNormal(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in ampere units.
        f64,
    ),
    /// This message shall be used to indicate that a current reading violates an internal critical level.  This message shall be used for current-related properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The current-related properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Current '%1' reading of %2 amperes exceeds the critical level.")]
    #[message(id = "Power.1.0.0.CurrentCritical")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading violates an lower caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
    #[message(message = "Frequency '%1' reading of %2 hertz is below the %3 lower caution threshold.")]
    #[message(id = "Power.1.0.0.FrequencyBelowLowerCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyBelowLowerCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz units.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading, previously above the fatal threshold, no longer violates the upper fatal threshold.  However, the voltage violates at least one upper threshold and is not within the normal operating range.
    #[message(message = "Voltage '%1' reading of %2 volts is now below the %3 upper fatal threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.VoltageBelowUpperFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageBelowUpperFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading violates  an internal warning level.  This message shall be used for voltage properties or `Sensor` resources that implement boolean trip points for a caution limit, such as from hardware mechanisms with no threshold value.  The voltage properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Voltage '%1' reading of %2 volts exceeds the warning level.")]
    #[message(id = "Power.1.0.0.VoltageWarning")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageWarning(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
    ),
    /// This message shall be used to indicate that a power reading, previously above the fatal threshold, no longer violates the upper fatal threshold.  However, the power violates at least one upper threshold and is not within the normal operating range.
    #[message(message = "Power '%1' reading of %2 watts is now below the %3 upper fatal threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.PowerBelowUpperFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerBelowUpperFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power supply was inserted or installed
    #[message(message = "Power supply '%1' was inserted.")]
    #[message(id = "Power.1.0.0.PowerSupplyInserted")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    PowerSupplyInserted(
        /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
        String,
    ),
    /// This message shall be used to indicate that a voltage reading violates an upper fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
    #[message(message = "Voltage '%1' reading of %2 volts is above the %3 upper fatal threshold.")]
    #[message(id = "Power.1.0.0.VoltageAboveUpperFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageAboveUpperFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a current reading violates an upper critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
    #[message(message = "Current '%1' reading of %2 amperes is above the %3 upper critical threshold.")]
    #[message(id = "Power.1.0.0.CurrentAboveUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentAboveUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading, previously above the critical threshold, no longer violates the upper critical threshold.  However, the power violates at least one upper threshold and is not within the normal operating range.
    #[message(message = "Power '%1' reading of %2 watts is now below the %3 upper critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.PowerBelowUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerBelowUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading, previously below the lower critical threshold, no longer violates the lower critical threshold.  However, the frequency violates at least one lower threshold and is not within the normal operating range.
    #[message(message = "Frequency '%1' reading of %2 hertz is now above the %3 lower critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.FrequencyAboveLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyAboveLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading violates an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
    #[message(message = "Voltage '%1' reading of %2 volts is above the %3 upper caution threshold.")]
    #[message(id = "Power.1.0.0.VoltageAboveUpperCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageAboveUpperCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power supply has failed.
    #[message(message = "Power supply '%1' has failed.")]
    #[message(id = "Power.1.0.0.PowerSupplyFailed")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the power supply hardware and replace any faulty component.")]
    PowerSupplyFailed(
        /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
        String,
    ),
    /// This message shall be used to indicate that a power reading violates an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
    #[message(message = "Power '%1' reading of %2 watts is above the %3 upper caution threshold.")]
    #[message(id = "Power.1.0.0.PowerAboveUpperCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerAboveUpperCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a fault was detected within a circuit breaker.  The power state of the circuit may not be known.
    #[message(message = "Fault detected in breaker '%1'.")]
    #[message(id = "Power.1.0.0.BreakerFault")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the breaker hardware and replace any faulty components.")]
    BreakerFault(
        /// This argument shall contain a string that identifies or describes the `Circuit` resource or the location of the circuit breaker.
        String,
    ),
    /// This message shall be used to indicate that a current reading violates a lower critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
    #[message(message = "Current '%1' reading of %2 amperes is below the %3 lower critical threshold.")]
    #[message(id = "Power.1.0.0.CurrentBelowLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentBelowLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power supply group is operating in a critical state.
    #[message(message = "Power supply group '%1' is in a critical state.")]
    #[message(id = "Power.1.0.0.PowerSupplyGroupCritical")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "None.")]
    PowerSupplyGroupCritical(
        /// This argument shall contain a string that identifies or describes the group of `PowerSupply` resources.
        String,
    ),
    /// This message shall be used to indicate that a voltage reading, previously below the lower critical threshold, no longer violates the lower critical threshold.  However, the voltage violates at least one lower threshold and is not within the normal operating range.
    #[message(message = "Voltage '%1' reading of %2 volts is now above the %3 lower critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.VoltageAboveLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageAboveLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading, previously below the fatal threshold, no longer violates the lower fatal threshold.  However, the power violates at least one lower threshold and is not within the normal operating range.
    #[message(message = "Power '%1' reading of %2 watts is now above the %3 lower fatal threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.PowerAboveLowerFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerAboveLowerFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading, previously below the lower critical threshold, no longer violates the lower critical threshold.  However, the power violates at least one lower threshold and is not within the normal operating range.
    #[message(message = "Power '%1' reading of %2 watts is now above the %3 lower critical threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.PowerAboveLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerAboveLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading has returned to its normal operating range.
    #[message(message = "Power '%1' reading of %2 watts is within normal operating range.")]
    #[message(id = "Power.1.0.0.PowerNormal")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    PowerNormal(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
    ),
    /// This message shall be used to indicate that a power reading violates an upper fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperFatal` property.
    #[message(message = "Power '%1' reading of %2 watts is above the %3 upper fatal threshold.")]
    #[message(id = "Power.1.0.0.PowerAboveUpperFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerAboveUpperFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading violates an internal warning level.  This message shall be used for frequency properties or `Sensor` resources that implement boolean trip points for a warning limit, such as from hardware mechanisms with no threshold value.  The frequency properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Frequency '%1' reading of %2 hertz exceeds the warning level.")]
    #[message(id = "Power.1.0.0.FrequencyWarning")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyWarning(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz.
        f64,
    ),
    /// This message shall be used to indicate that a current reading violates a lower fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
    #[message(message = "Current '%1' reading of %2 amperes is below the %3 lower fatal threshold.")]
    #[message(id = "Power.1.0.0.CurrentBelowLowerFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentBelowLowerFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading has returned to its normal operating range.
    #[message(message = "Voltage '%1' reading of %2 volts is within normal operating range.")]
    #[message(id = "Power.1.0.0.VoltageNormal")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    VoltageNormal(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading violates an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
    #[message(message = "Frequency '%1' reading of %2 hertz is above the %3 upper critical threshold.")]
    #[message(id = "Power.1.0.0.FrequencyAboveUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyAboveUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz units.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading violates an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
    #[message(message = "Frequency '%1' reading of %2 hertz is above the %3 upper caution threshold.")]
    #[message(id = "Power.1.0.0.FrequencyAboveUpperCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyAboveUpperCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz units.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading violates an internal critical level.  This message shall be used for power properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The power properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Power '%1' reading of %2 watts exceeds the critical level.")]
    #[message(id = "Power.1.0.0.PowerCritical")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading has returned to its normal operating range.
    #[message(message = "Frequency '%1' reading of %2 hertz is within normal operating range.")]
    #[message(id = "Power.1.0.0.FrequencyNormal")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    FrequencyNormal(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz units.
        f64,
    ),
    /// This message shall be used to indicate that the value of the `PowerState` property of a `Outlet` resource changed to `Off`.
    #[message(message = "Outlet '%1' powered off.")]
    #[message(id = "Power.1.0.0.OutletPoweredOff")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    OutletPoweredOff(
        /// This argument shall contain a string that identifies or describes the `Outlet` resource.
        String,
    ),
    /// This message shall be used to indicate that a circuit breaker reset.  The power state may depend on any policy applicable to the circuit or resource.
    #[message(message = "Breaker '%1' reset.")]
    #[message(id = "Power.1.0.0.BreakerReset")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    BreakerReset(
        /// This argument shall contain a string that identifies or describes the `Circuit` resource or the location of the circuit breaker.
        String,
    ),
    /// This message shall be used to indicate that a power supply was removed.
    #[message(message = "Power supply '%1' was removed.")]
    #[message(id = "Power.1.0.0.PowerSupplyRemoved")]
    #[message(severity = "crate::models::resource::Health::OK")]
    #[message(resolution = "None.")]
    PowerSupplyRemoved(
        /// This argument shall contain a string that identifies or describes the `PowerSupply` resource.
        String,
    ),
    /// This message shall be used to indicate that a voltage reading violates an upper critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
    #[message(message = "Voltage '%1' reading of %2 volts is above the %3 upper critical threshold.")]
    #[message(id = "Power.1.0.0.VoltageAboveUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageAboveUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading violates a lower caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties.
    #[message(message = "Power '%1' reading of %2 watts is below the %3 lower caution threshold.")]
    #[message(id = "Power.1.0.0.PowerBelowLowerCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerBelowLowerCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCaution` or `LowerCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading violates an upper critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties.
    #[message(message = "Power '%1' reading of %2 watts is above the %3 upper critical threshold.")]
    #[message(id = "Power.1.0.0.PowerAboveUpperCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerAboveUpperCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCritical` or `UpperCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading no longer violates an internal critical level, but still violates an internal warning level.  This message shall be used for voltage properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The voltage properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Voltage '%1' reading of %2 volts no longer exceeds the critcal level.")]
    #[message(id = "Power.1.0.0.VoltageNoLongerCritical")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageNoLongerCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
    ),
    /// This message shall be used to indicate that a current reading no longer violates an internal critical level, but still exceeds an internal warning level.  This message shall be used for current-related properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The current-related properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Current '%1' reading of %2 amperes no longer exceeds the critcal level.")]
    #[message(id = "Power.1.0.0.CurrentNoLongerCritical")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentNoLongerCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading violates a lower fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
    #[message(message = "Voltage '%1' reading of %2 volts is below the %3 lower fatal threshold.")]
    #[message(id = "Power.1.0.0.VoltageBelowLowerFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageBelowLowerFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading violates a lower critical threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties.
    #[message(message = "Voltage '%1' reading of %2 volts is below the %3 lower critical threshold.")]
    #[message(id = "Power.1.0.0.VoltageBelowLowerCriticalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageBelowLowerCriticalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerCritical` or `LowerCriticalUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a frequency reading violates an internal critical level.  This message shall be used for frequency properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The frequency properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Frequency '%1' reading of %2 hertz exceeds the critical level.")]
    #[message(id = "Power.1.0.0.FrequencyCritical")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    FrequencyCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the frequency reading.
        String,
        /// This argument shall contain the frequency in hertz.
        f64,
    ),
    /// This message shall be used to indicate that a voltage reading violates an internal critical level.  This message shall be used for voltage properties or `Sensor` resources that implement boolean trip points for a critical limit, such as from hardware mechanisms with no threshold value.  The voltage properties or `Sensor` resources may contain readable thresholds that coexist with this unspecified trip point.
    #[message(message = "Voltage '%1' reading of %2 volts exceeds the critical level.")]
    #[message(id = "Power.1.0.0.VoltageCritical")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    VoltageCritical(
        /// This argument shall contain a string that identifies or describes the location or physical context of the voltage reading.
        String,
        /// This argument shall contain the voltage in volts.
        f64,
    ),
    /// This message shall be used to indicate that a loss of power was detected at an electrical input.
    #[message(message = "Loss of input power at '%1'.")]
    #[message(id = "Power.1.0.0.LossOfInputPower")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the electrical power input and connections.")]
    LossOfInputPower(
        /// This argument shall contain a string that identifies or describes a `PowerSupply`, `Circuit`, `PowerDistribution`, or `Chassis` resource.
        String,
    ),
    /// This message shall be used to indicate that a current reading, previously above the fatal threshold, no longer violates the upper fatal threshold.  However, the current violates at least one upper threshold and is not within the normal operating range.
    #[message(message = "Current '%1' reading of %2 amperes is now below the %3 upper fatal threshold but remains outside of normal range.")]
    #[message(id = "Power.1.0.0.CurrentBelowUpperFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentBelowUpperFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power supply group is operating with a warning status or in a non-redundant state due to a fault or a change in configuration.
    #[message(message = "Power supply group '%1' is in a warning state.")]
    #[message(id = "Power.1.0.0.PowerSupplyGroupWarning")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "None.")]
    PowerSupplyGroupWarning(
        /// This argument shall contain a string that identifies or describes the group of `PowerSupply` resources.
        String,
    ),
    /// This message shall be used to indicate that a current reading violates an upper caution threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is above the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties.
    #[message(message = "Current '%1' reading of %2 amperes is above the %3 upper caution threshold.")]
    #[message(id = "Power.1.0.0.CurrentAboveUpperCautionThreshold")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    CurrentAboveUpperCautionThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the current reading.
        String,
        /// This argument shall contain the current in amperes.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `UpperCaution` or `UpperCautionUser` properties of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power reading violates a lower fatal threshold.  If the reading originates from a `Sensor` resource, the message shall indicate that the value of the `Reading` property is below the value of the `Reading` property within the `LowerFatal` property.
    #[message(message = "Power '%1' reading of %2 watts is below the %3 lower fatal threshold.")]
    #[message(id = "Power.1.0.0.PowerBelowLowerFatalThreshold")]
    #[message(severity = "crate::models::resource::Health::Critical")]
    #[message(resolution = "Check the condition of the resource listed in OriginOfCondition.")]
    PowerBelowLowerFatalThreshold(
        /// This argument shall contain a string that identifies or describes the location or physical context of the power reading.
        String,
        /// This argument shall contain the power in watts.
        f64,
        /// This argument shall contain the value of the `Reading` property within the `LowerFatal` property of the `Sensor` resource.
        f64,
    ),
    /// This message shall be used to indicate that a power fault was detected at an electrical input.  The equipment may not be able to produce output power.
    #[message(message = "Line input power fault at '%1'.")]
    #[message(id = "Power.1.0.0.LineInputPowerFault")]
    #[message(severity = "crate::models::resource::Health::Warning")]
    #[message(resolution = "Check the electrical power input and connections.")]
    LineInputPowerFault(
        /// This argument shall contain a string that identifies or describes a `PowerSupply`, `Circuit`, `PowerDistribution`, or `Chassis` resource.
        String,
    ),
}