Interface Bandwidth
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
Bandwidth
,ReoptimizationBandwidth
@Generated("mdsal-binding-generator")
public interface Bandwidth
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module pcep-types
grouping bandwidth { leaf bandwidth { type netc:bandwidth; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn bandwidth, ornull
if it is not present.default @NonNull Bandwidth
Return bandwidth, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getBandwidth
Bandwidth getBandwidth()Return bandwidth, ornull
if it is not present.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.network.concepts.rev131125.Bandwidth
bandwidth, ornull
if it is not present.
-
requireBandwidth
Return bandwidth, guaranteed to be non-null.- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.network.concepts.rev131125.Bandwidth
bandwidth, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bandwidth is not present
-