Interface AvgMinMaxInstantStatsPrecision1Celsius
- 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,MinMaxTime,StatIntervalState
- All Known Subinterfaces:
Temperature
@Generated("mdsal-binding-generator")
public interface AvgMinMaxInstantStatsPrecision1Celsius
extends org.opendaylight.yangtools.yang.binding.DataObject, StatIntervalState, MinMaxTime
Common grouping for recording temperature values in Celsius with 1 decimal
precision. Values include the instantaneous, average, minimum, and maximum
statistics
This class represents the following YANG schema fragment defined in module openconfig-platform-types
grouping avg-min-max-instant-stats-precision1-celsius {
leaf instant {
type decimal64 {
fraction-digits 1;
}
units celsius;
}
leaf avg {
type decimal64 {
fraction-digits 1;
}
units celsius;
}
leaf min {
type decimal64 {
fraction-digits 1;
}
units celsius;
}
leaf max {
type decimal64 {
fraction-digits 1;
}
units celsius;
}
uses oc-types:stat-interval-state;
uses oc-types:min-max-time;
}
-
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 TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Decimal64getAvg()Return avg, ornullif it is not present.org.opendaylight.yangtools.yang.common.Decimal64Return instant, ornullif it is not present.org.opendaylight.yangtools.yang.common.Decimal64getMax()Return max, ornullif it is not present.org.opendaylight.yangtools.yang.common.Decimal64getMin()Return min, ornullif it is not present.Class<? extends AvgMinMaxInstantStatsPrecision1Celsius>default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return avg, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return instant, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return max, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return min, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev190416.MinMaxTime
getMaxTime, getMinTime, requireMaxTime, requireMinTimeMethods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev190416.StatIntervalState
getInterval, requireInterval
-
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 AvgMinMaxInstantStatsPrecision1Celsius> 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- Specified by:
implementedInterfacein interfaceMinMaxTime- Specified by:
implementedInterfacein interfaceStatIntervalState
-
getInstant
org.opendaylight.yangtools.yang.common.Decimal64 getInstant()Return instant, ornullif it is not present.The instantaneous value of the statistic.- Returns:
Decimal64instant, ornullif it is not present.
-
requireInstant
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireInstant()Return instant, guaranteed to be non-null.The instantaneous value of the statistic.- Returns:
Decimal64instant, guaranteed to be non-null.- Throws:
NoSuchElementException- if instant is not present
-
getAvg
org.opendaylight.yangtools.yang.common.Decimal64 getAvg()Return avg, ornullif it is not present.The arithmetic mean value of the statistic over the sampling period.- Returns:
Decimal64avg, ornullif it is not present.
-
requireAvg
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireAvg()Return avg, guaranteed to be non-null.The arithmetic mean value of the statistic over the sampling period.- Returns:
Decimal64avg, guaranteed to be non-null.- Throws:
NoSuchElementException- if avg is not present
-
getMin
org.opendaylight.yangtools.yang.common.Decimal64 getMin()Return min, ornullif it is not present.The minimum value of the statistic over the sampling period- Returns:
Decimal64min, ornullif it is not present.
-
requireMin
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireMin()Return min, guaranteed to be non-null.The minimum value of the statistic over the sampling period- Returns:
Decimal64min, guaranteed to be non-null.- Throws:
NoSuchElementException- if min is not present
-
getMax
org.opendaylight.yangtools.yang.common.Decimal64 getMax()Return max, ornullif it is not present.The maximum value of the statistic over the sampling period- Returns:
Decimal64max, ornullif it is not present.
-
requireMax
default @NonNull org.opendaylight.yangtools.yang.common.Decimal64 requireMax()Return max, guaranteed to be non-null.The maximum value of the statistic over the sampling period- Returns:
Decimal64max, guaranteed to be non-null.- Throws:
NoSuchElementException- if max is not present
-