Interface MeterFeatures
- 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
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionorg.opendaylight.yangtools.yang.common.Uint8
Return maxBands, ornull
if it is not present.org.opendaylight.yangtools.yang.common.Uint8
Return maxColor, ornull
if it is not present.org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Counter32
Return maxMeter, ornull
if it is not present.Return meterBandSupported, ornull
if it is not present.@Nullable Set<MeterCapability>
Return meterCapabilitiesSupported, ornull
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.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 QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends MeterFeatures> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
Return meterBandSupported, ornull
if it is not present.- Returns:
Set<MeterBand>
meterBandSupported, ornull
if it is not present.
-
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, ornull
if it is not present.- Returns:
Set<MeterCapability>
meterCapabilitiesSupported, ornull
if it is not present.
-
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, 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
-