Interface AvgMinMaxStatsPrecision1
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface AvgMinMaxStatsPrecision1 extends org.opendaylight.yangtools.yang.binding.DataObject
Common nodes for recording average, minimum, and maximum values for a These values all have fraction-digits set to 1.This class represents the following YANG schema fragment defined in module openconfig-types
grouping avg-min-max-stats-precision1 { leaf avg { type decimal64 { fraction-digits 1; } } leaf min { type decimal64 { fraction-digits 1; } } leaf max { type decimal64 { fraction-digits 1; } } }
The schema path to identify an instance is openconfig-typesavg-min-max-stats-precision1
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BigDecimal
getAvg()
Return avg, ornull
if it is not present.BigDecimal
getMax()
Return max, ornull
if it is not present.BigDecimal
getMin()
Return min, ornull
if it is not present.Class<? extends AvgMinMaxStatsPrecision1>
implementedInterface()
default @NonNull BigDecimal
requireAvg()
Return avg, guaranteed to be non-null.default @NonNull BigDecimal
requireMax()
Return max, guaranteed to be non-null.default @NonNull BigDecimal
requireMin()
Return min, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends AvgMinMaxStatsPrecision1> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getAvg
BigDecimal getAvg()
Return avg, ornull
if it is not present.The arithmetic mean value of the statistic over the sampling period.
- Returns:
BigDecimal
avg, ornull
if it is not present.
-
requireAvg
default @NonNull BigDecimal requireAvg()
Return avg, guaranteed to be non-null.The arithmetic mean value of the statistic over the sampling period.
- Returns:
BigDecimal
avg, guaranteed to be non-null.- Throws:
NoSuchElementException
- if avg is not present
-
getMin
BigDecimal getMin()
Return min, ornull
if it is not present.The minimum value of the statistic over the sampling period
- Returns:
BigDecimal
min, ornull
if it is not present.
-
requireMin
default @NonNull BigDecimal requireMin()
Return min, guaranteed to be non-null.The minimum value of the statistic over the sampling period
- Returns:
BigDecimal
min, guaranteed to be non-null.- Throws:
NoSuchElementException
- if min is not present
-
getMax
BigDecimal getMax()
Return max, ornull
if it is not present.The maximum value of the statitic over the sampling period
- Returns:
BigDecimal
max, ornull
if it is not present.
-
requireMax
default @NonNull BigDecimal requireMax()
Return max, guaranteed to be non-null.The maximum value of the statitic over the sampling period
- Returns:
BigDecimal
max, guaranteed to be non-null.- Throws:
NoSuchElementException
- if max is not present
-
-