Interface PlatformComponentTempAlarmState
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Temperature
@Generated("mdsal-binding-generator") public interface PlatformComponentTempAlarmState extends org.opendaylight.yangtools.yang.binding.DataObject
Temperature alarm data for platform componentsThis class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-component-temp-alarm-state { leaf alarm-status { type boolean; } leaf alarm-threshold { type uint32; } leaf alarm-severity { type identityref { base OPENCONFIG_ALARM_SEVERITY; } } }The schema path to identify an instance is openconfig-platformplatform-component-temp-alarm-state
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<? extends OPENCONFIGALARMSEVERITY>getAlarmSeverity()Return alarmSeverity, ornullif it is not present.BooleangetAlarmStatus()Return alarmStatus, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getAlarmThreshold()Return alarmThreshold, ornullif it is not present.Class<? extends PlatformComponentTempAlarmState>implementedInterface()default @NonNull Class<? extends OPENCONFIGALARMSEVERITY>requireAlarmSeverity()Return alarmSeverity, guaranteed to be non-null.default @NonNull BooleanrequireAlarmStatus()Return alarmStatus, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32requireAlarmThreshold()Return alarmThreshold, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PlatformComponentTempAlarmState> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAlarmStatus
Boolean getAlarmStatus()
Return alarmStatus, ornullif it is not present.A value of true indicates the alarm has been raised or asserted. The value should be false when the alarm is cleared.- Returns:
BooleanalarmStatus, ornullif it is not present.
-
requireAlarmStatus
default @NonNull Boolean requireAlarmStatus()
Return alarmStatus, guaranteed to be non-null.A value of true indicates the alarm has been raised or asserted. The value should be false when the alarm is cleared.- Returns:
BooleanalarmStatus, guaranteed to be non-null.- Throws:
NoSuchElementException- if alarmStatus is not present
-
getAlarmThreshold
org.opendaylight.yangtools.yang.common.Uint32 getAlarmThreshold()
Return alarmThreshold, ornullif it is not present.The threshold value that was crossed for this alarm.- Returns:
Uint32alarmThreshold, ornullif it is not present.
-
requireAlarmThreshold
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireAlarmThreshold()
Return alarmThreshold, guaranteed to be non-null.The threshold value that was crossed for this alarm.- Returns:
Uint32alarmThreshold, guaranteed to be non-null.- Throws:
NoSuchElementException- if alarmThreshold is not present
-
getAlarmSeverity
Class<? extends OPENCONFIGALARMSEVERITY> getAlarmSeverity()
Return alarmSeverity, ornullif it is not present.The severity of the current alarm.- Returns:
Class<? extends OPENCONFIGALARMSEVERITY>alarmSeverity, ornullif it is not present.
-
requireAlarmSeverity
default @NonNull Class<? extends OPENCONFIGALARMSEVERITY> requireAlarmSeverity()
Return alarmSeverity, guaranteed to be non-null.The severity of the current alarm.- Returns:
Class<? extends OPENCONFIGALARMSEVERITY>alarmSeverity, guaranteed to be non-null.- Throws:
NoSuchElementException- if alarmSeverity is not present
-
-