Interface AvgMinMaxInstantStatsPrecision1
- All Superinterfaces:
AvgMinMaxStatsPrecision1,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
@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 stats
This 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;
}
-
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.Decimal64Return instant, ornullif it is not present.Class<? extends AvgMinMaxInstantStatsPrecision1>default @NonNull org.opendaylight.yangtools.yang.common.Decimal64Return 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, requireMinMethods 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 AvgMinMaxInstantStatsPrecision1> implementedInterface()- Specified by:
implementedInterfacein interfaceAvgMinMaxStatsPrecision1- 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
-