Interface MeterMod
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,OfHeader
- All Known Subinterfaces:
MeterModInput
@Generated("mdsal-binding-generator") public interface MeterMod extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader
This class represents the following YANG schema fragment defined in module openflow-protocol
grouping meter-mod { uses ofHeader; leaf command { type oft:meter-mod-command; } leaf flags { type oft:meter-flags; } leaf meter-id { type oft:meter-id; } list bands { uses meter-band-header; } }
The schema path to identify an instance is openflow-protocol/meter-mod
-
-
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 @Nullable List<Bands>
getBands()
Return bands, ornull
if it is not present.MeterModCommand
getCommand()
Return command, ornull
if it is not present.MeterFlags
getFlags()
Return flags, ornull
if it is not present.MeterId
getMeterId()
Return meterId, ornull
if it is not present.Class<? extends MeterMod>
implementedInterface()
default @NonNull List<Bands>
nonnullBands()
Return bands, or an empty list if it is not present.-
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.OfHeader
getVersion, getXid
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends MeterMod> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceOfHeader
-
getCommand
MeterModCommand getCommand()
Return command, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MeterModCommand
command, ornull
if it is not present.
-
getFlags
MeterFlags getFlags()
Return flags, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MeterFlags
flags, ornull
if it is not present.
-
getMeterId
MeterId getMeterId()
Return meterId, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.MeterId
meterId, ornull
if it is not present.
-
getBands
@Nullable List<Bands> getBands()
Return bands, ornull
if it is not present.- Returns:
java.util.List
bands, ornull
if it is not present.
-
-