Interface MeterFeatures

  • All Superinterfaces:
    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 Detail

      • QNAME

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

      • implementedInterface

        Class<? extends MeterFeatures> implementedInterface()
        Specified by:
        implementedInterface in interface 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<Class<? extends MeterBand>> getMeterBandSupported()
        Return meterBandSupported, or null if it is not present.
        Returns:
        Set<Class<? extends MeterBand>> meterBandSupported, or null if it is not present.
      • requireMeterBandSupported

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

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

        default @NonNull Set<Class<? extends MeterCapability>> requireMeterCapabilitiesSupported()
        Return meterCapabilitiesSupported, guaranteed to be non-null.
        Returns:
        Set<Class<? extends 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