Interface BwSamples
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Bandwidth1
,Bandwidth2
,BandwidthUsage
@Generated("mdsal-binding-generator") public interface BwSamples extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module odl-pcep-auto-bandwidth
grouping bw-samples { leaf-list bw-sample { type netc:bandwidth; ordered-by user; } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<Bandwidth>
getBwSample()
Return bwSample, ornull
if it is not present.Class<? extends BwSamples>
implementedInterface()
default @NonNull List<Bandwidth>
requireBwSample()
Return bwSample, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends BwSamples> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getBwSample
@Nullable List<Bandwidth> getBwSample()
Return bwSample, ornull
if it is not present.- Returns:
List<Bandwidth>
bwSample, ornull
if it is not present.
-
requireBwSample
default @NonNull List<Bandwidth> requireBwSample()
Return bwSample, guaranteed to be non-null.- Returns:
List<Bandwidth>
bwSample, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bwSample is not present
-
-