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 Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends AvgMinMaxInstantStatsPrecision1> implementedInterface()
      Specified by:
      implementedInterface in interface AvgMinMaxStatsPrecision1
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      Specified by:
      implementedInterface in interface MinMaxTime
      Specified by:
      implementedInterface in interface StatIntervalState
    • getInstant

      org.opendaylight.yangtools.yang.common.Decimal64 getInstant()
      Return instant, or null if it is not present.
           
               The instantaneous value of the statistic.
           
       
      Returns:
      Decimal64 instant, or null if 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:
      Decimal64 instant, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if instant is not present