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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends OspfAdjFlags> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getBackup

        Boolean getBackup()
        Return backup, or null if it is not present.
        Returns:
        Boolean backup, or null 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, or null if it is not present.
        Returns:
        Boolean set, or null 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