Interface AvgMinMaxInstantStatsPrecision1
-
- All Superinterfaces:
AvgMinMaxStatsPrecision1,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject,MinMaxTime,StatIntervalState
@Generated("mdsal-binding-generator") public interface AvgMinMaxInstantStatsPrecision1 extends org.opendaylight.yangtools.yang.binding.DataObject, AvgMinMaxStatsPrecision1
Common grouping for recording an instantaneous statistic value in addition to avg-min-max statsThis class represents the following YANG schema fragment defined in module openconfig-types
grouping avg-min-max-instant-stats-precision1 { leaf instant { type decimal64 { fraction-digits 1; } } uses avg-min-max-stats-precision1; }The schema path to identify an instance is openconfig-typesavg-min-max-instant-stats-precision1
-
-
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 BigDecimalgetInstant()Return instant, ornullif it is not present.Class<? extends AvgMinMaxInstantStatsPrecision1>implementedInterface()default @NonNull BigDecimalrequireInstant()Return instant, guaranteed to be non-null.-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev190416.AvgMinMaxStatsPrecision1
getAvg, getMax, getMin, requireAvg, requireMax, requireMin
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev190416.MinMaxTime
getMaxTime, getMinTime, requireMaxTime, requireMinTime
-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.openconfig.types.rev190416.StatIntervalState
getInterval, requireInterval
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends AvgMinMaxInstantStatsPrecision1> implementedInterface()
- Specified by:
implementedInterfacein interfaceAvgMinMaxStatsPrecision1- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject- Specified by:
implementedInterfacein interfaceMinMaxTime- Specified by:
implementedInterfacein interfaceStatIntervalState
-
getInstant
BigDecimal getInstant()
Return instant, ornullif it is not present.The instantaneous value of the statistic.- Returns:
BigDecimalinstant, ornullif it is not present.
-
requireInstant
default @NonNull BigDecimal requireInstant()
Return instant, guaranteed to be non-null.The instantaneous value of the statistic.- Returns:
BigDecimalinstant, guaranteed to be non-null.- Throws:
NoSuchElementException- if instant is not present
-
-