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
All Known Subinterfaces:
GetMeterFeaturesOutput, MeterFeatures, MeterFeaturesReply, MeterFeaturesUpdated, MultipartReplyMeterFeatures

@Generated("mdsal-binding-generator") public interface MeterFeatures extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module opendaylight-meter-types

 grouping meter-features {
   leaf max_meter {
     type yang:counter32;
   }
   leaf-list meter-band-supported {
     type identityref {
       base meter-band;
     }
   }
   leaf-list meter-capabilities-supported {
     type identityref {
       base meter-capability;
     }
   }
   leaf max_bands {
     type uint8;
   }
   leaf max_color {
     type uint8;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opendaylight.yangtools.yang.common.Uint8
    Return maxBands, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return maxColor, or null if it is not present.
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return maxMeter, or null if it is not present.
    @Nullable Set<MeterBand>
    Return meterBandSupported, or null if it is not present.
    @Nullable Set<MeterCapability>
    Return meterCapabilitiesSupported, or null if it is not present.
    Class<? extends MeterFeatures>
     
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return maxBands, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return maxColor, guaranteed to be non-null.
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
    Return maxMeter, guaranteed to be non-null.
    default @NonNull Set<MeterBand>
    Return meterBandSupported, guaranteed to be non-null.
    default @NonNull Set<MeterCapability>
    Return meterCapabilitiesSupported, guaranteed to be non-null.
  • 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 MeterFeatures> implementedInterface()
      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
    • getMaxMeter

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 getMaxMeter()
      Return maxMeter, or null if it is not present.
      Returns:
      Counter32 maxMeter, or null if it is not present.
    • requireMaxMeter

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32 requireMaxMeter()
      Return maxMeter, guaranteed to be non-null.
      Returns:
      Counter32 maxMeter, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if maxMeter is not present
    • getMeterBandSupported

      @Nullable Set<MeterBand> getMeterBandSupported()
      Return meterBandSupported, or null if it is not present.
      Returns:
      Set<MeterBand> meterBandSupported, or null if it is not present.
    • requireMeterBandSupported

      default @NonNull Set<MeterBand> requireMeterBandSupported()
      Return meterBandSupported, guaranteed to be non-null.
      Returns:
      Set<MeterBand> meterBandSupported, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if meterBandSupported is not present
    • getMeterCapabilitiesSupported

      @Nullable Set<MeterCapability> getMeterCapabilitiesSupported()
      Return meterCapabilitiesSupported, or null if it is not present.
      Returns:
      Set<MeterCapability> meterCapabilitiesSupported, or null if it is not present.
    • requireMeterCapabilitiesSupported

      default @NonNull Set<MeterCapability> requireMeterCapabilitiesSupported()
      Return meterCapabilitiesSupported, guaranteed to be non-null.
      Returns:
      Set<MeterCapability> meterCapabilitiesSupported, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if meterCapabilitiesSupported is not present
    • getMaxBands

      org.opendaylight.yangtools.yang.common.Uint8 getMaxBands()
      Return maxBands, or null if it is not present.
      Returns:
      Uint8 maxBands, or null if it is not present.
    • requireMaxBands

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireMaxBands()
      Return maxBands, guaranteed to be non-null.
      Returns:
      Uint8 maxBands, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if maxBands is not present
    • getMaxColor

      org.opendaylight.yangtools.yang.common.Uint8 getMaxColor()
      Return maxColor, or null if it is not present.
      Returns:
      Uint8 maxColor, or null if it is not present.
    • requireMaxColor

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireMaxColor()
      Return maxColor, guaranteed to be non-null.
      Returns:
      Uint8 maxColor, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if maxColor is not present