Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.segment.routing.ext.rev200120
Interface OspfAdjFlags
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
IsisAdjFlags
,OspfAdjFlags
@Generated("mdsal-binding-generator") public interface OspfAdjFlags extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module bgp-segment-routing
grouping ospf-adj-flags { leaf backup { type boolean; } leaf set { type boolean; } }
The schema path to identify an instance is bgp-segment-routingospf-adj-flags
-
-
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 Boolean
getBackup()
Return backup, ornull
if it is not present.Boolean
getSet()
Return set, ornull
if it is not present.Class<? extends OspfAdjFlags>
implementedInterface()
default @NonNull Boolean
requireBackup()
Return backup, guaranteed to be non-null.default @NonNull Boolean
requireSet()
Return set, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends OspfAdjFlags> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getBackup
Boolean getBackup()
Return backup, ornull
if it is not present.- Returns:
Boolean
backup, ornull
if it is not present.
-
requireBackup
default @NonNull Boolean requireBackup()
Return backup, guaranteed to be non-null.- Returns:
Boolean
backup, guaranteed to be non-null.- Throws:
NoSuchElementException
- if backup is not present
-
getSet
Boolean getSet()
Return set, ornull
if it is not present.- Returns:
Boolean
set, ornull
if it is not present.
-
requireSet
default @NonNull Boolean requireSet()
Return set, guaranteed to be non-null.- Returns:
Boolean
set, guaranteed to be non-null.- Throws:
NoSuchElementException
- if set is not present
-
-