Interface PlatformComponentTempState
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
State
@Generated("mdsal-binding-generator")
public interface PlatformComponentTempState
extends org.opendaylight.yangtools.yang.binding.DataObject
Temperature state data for device components
This class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-component-temp-state {
container temperature {
uses oc-platform-types:avg-min-max-instant-stats-precision1-celsius;
uses platform-component-temp-alarm-state;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn temperature, ornullif it is not present.Class<? extends PlatformComponentTempState>@NonNull TemperatureReturn temperature, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends PlatformComponentTempState> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getTemperature
Temperature getTemperature()Return temperature, ornullif it is not present.Temperature in degrees Celsius of the component. Values include the instantaneous, average, minimum, and maximum statistics. If avg/min/max statistics are not supported, the target is expected to just supply the instant value- Returns:
Temperaturetemperature, ornullif it is not present.
-
nonnullTemperature
@NonNull Temperature nonnullTemperature()Return temperature, or an empty instance if it is not present.- Returns:
Temperaturetemperature, or an empty instance if it is not present.
-