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; } }
The schema path to identify an instance is opendaylight-meter-typesmeter-features
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint8
getMaxBands()
Return maxBands, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
getMaxColor()
Return maxColor, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
getMaxMeter()
Return maxMeter, ornull
if it is not present.@Nullable List<Class<? extends MeterBand>>
getMeterBandSupported()
Return meterBandSupported, ornull
if it is not present.@Nullable List<Class<? extends MeterCapability>>
getMeterCapabilitiesSupported()
Return meterCapabilitiesSupported, ornull
if it is not present.Class<? extends MeterFeatures>
implementedInterface()
default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireMaxBands()
Return maxBands, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint8
requireMaxColor()
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
requireMaxMeter()
Return maxMeter, guaranteed to be non-null.default @NonNull List<Class<? extends MeterBand>>
requireMeterBandSupported()
Return meterBandSupported, guaranteed to be non-null.default @NonNull List<Class<? extends MeterCapability>>
requireMeterCapabilitiesSupported()
Return meterCapabilitiesSupported, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends MeterFeatures> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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, ornull
if it is not present.- Returns:
Counter32
maxMeter, ornull
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 List<Class<? extends MeterBand>> getMeterBandSupported()
Return meterBandSupported, ornull
if it is not present.- Returns:
List<Class<? extends MeterBand>>
meterBandSupported, ornull
if it is not present.
-
requireMeterBandSupported
default @NonNull List<Class<? extends MeterBand>> requireMeterBandSupported()
Return meterBandSupported, guaranteed to be non-null.- Returns:
List<Class<? extends MeterBand>>
meterBandSupported, guaranteed to be non-null.- Throws:
NoSuchElementException
- if meterBandSupported is not present
-
getMeterCapabilitiesSupported
@Nullable List<Class<? extends MeterCapability>> getMeterCapabilitiesSupported()
Return meterCapabilitiesSupported, ornull
if it is not present.- Returns:
List<Class<? extends MeterCapability>>
meterCapabilitiesSupported, ornull
if it is not present.
-
requireMeterCapabilitiesSupported
default @NonNull List<Class<? extends MeterCapability>> requireMeterCapabilitiesSupported()
Return meterCapabilitiesSupported, guaranteed to be non-null.- Returns:
List<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, ornull
if it is not present.- Returns:
Uint8
maxBands, ornull
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, ornull
if it is not present.- Returns:
Uint8
maxColor, ornull
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
-
-