@Deprecated public interface SensorData extends ChildOf<Component>, Augmentable<SensorData>
This class represents the following YANG schema fragment defined in module ietf-hardware-state
container sensor-data { when "derived-from-or-self(../class, \"ianahw:sensor\")" { } if-feature hardware-sensor; status deprecated; leaf value { type hw:sensor-value; status deprecated; } leaf value-type { type hw:sensor-value-type; status deprecated; } leaf value-scale { type hw:sensor-value-scale; status deprecated; } leaf value-precision { type hw:sensor-value-precision; status deprecated; } leaf oper-status { type hw:sensor-status; status deprecated; } leaf units-display { type string; status deprecated; } leaf value-timestamp { type yang:date-and-time; status deprecated; } leaf value-update-rate { type uint32; units milliseconds; status deprecated; } }The schema path to identify an instance is ietf-hardware-state/hardware/component/sensor-data
To create instances of this class use SensorDataBuilder
.
SensorDataBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable SensorStatus |
getOperStatus()
Deprecated.
|
@Nullable String |
getUnitsDisplay()
Deprecated.
|
@Nullable SensorValue |
getValue()
Deprecated.
|
@Nullable SensorValuePrecision |
getValuePrecision()
Deprecated.
|
@Nullable SensorValueScale |
getValueScale()
Deprecated.
|
@Nullable DateAndTime |
getValueTimestamp()
Deprecated.
|
@Nullable SensorValueType |
getValueType()
Deprecated.
|
@Nullable Long |
getValueUpdateRate()
Deprecated.
|
getImplementedInterface
augmentation
@Deprecated @Nullable SensorValue getValue()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.SensorValue
value
, or null
if not present@Deprecated @Nullable SensorValueType getValueType()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.SensorValueType
valueType
, or null
if not present@Deprecated @Nullable SensorValueScale getValueScale()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.SensorValueScale
valueScale
, or null
if not present@Deprecated @Nullable SensorValuePrecision getValuePrecision()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.SensorValuePrecision
valuePrecision
, or null
if not present@Deprecated @Nullable SensorStatus getOperStatus()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.hardware.rev180313.SensorStatus
operStatus
, or null
if not present@Deprecated @Nullable String getUnitsDisplay()
java.lang.String
unitsDisplay
, or null
if not present@Deprecated @Nullable DateAndTime getValueTimestamp()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime
valueTimestamp
, or null
if not present@Deprecated @Nullable Long getValueUpdateRate()
java.lang.Long
valueUpdateRate
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.