All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
All Known Subinterfaces:
Monitor

@Generated("mdsal-binding-generator") public interface Routers extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module bmp-monitor

 grouping routers {
   list router {
     key router-id;
     leaf name {
       type string;
     }
     leaf description {
       type string;
     }
     leaf info {
       type string;
     }
     leaf router-id {
       type router-id;
     }
     leaf status {
       type status;
     }
     uses peers;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Map<RouterKey,Router>
    Return router, or null if it is not present.
    Class<? extends Routers>
     
    default @NonNull Map<RouterKey,Router>
    Return router, or an empty list if it is not present.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

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

      @Nullable Map<RouterKey,Router> getRouter()
      Return router, or null if it is not present.
      Returns:
      Map<RouterKey, Router> router, or null if it is not present.
    • nonnullRouter

      default @NonNull Map<RouterKey,Router> nonnullRouter()
      Return router, or an empty list if it is not present.
      Returns:
      Map<RouterKey, Router> router, or an empty list if it is not present.