Interface ClearNeighborsRequest

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:
ClearNeighborsRequest

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

This class represents the following YANG schema fragment defined in module sonic-gnoi-yang

 grouping ClearNeighborsRequest {
   leaf force {
     type boolean;
   }
   leaf family {
     type string;
   }
   leaf ip {
     type string;
   }
   leaf ifname {
     type string;
   }
 }
 
  • 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
    Return family, or null if it is not present.
    Return force, or null if it is not present.
    Return ifname, or null if it is not present.
    Return ip, or null if it is not present.
     
    default @NonNull String
    Return family, guaranteed to be non-null.
    default @NonNull Boolean
    Return force, guaranteed to be non-null.
    default @NonNull String
    Return ifname, guaranteed to be non-null.
    default @NonNull String
    Return ip, guaranteed to be non-null.
  • 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 ClearNeighborsRequest> 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
    • getForce

      Boolean getForce()
      Return force, or null if it is not present.
      Returns:
      Boolean force, or null if it is not present.
    • requireForce

      default @NonNull Boolean requireForce()
      Return force, guaranteed to be non-null.
      Returns:
      Boolean force, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if force is not present
    • getFamily

      String getFamily()
      Return family, or null if it is not present.
      Returns:
      String family, or null if it is not present.
    • requireFamily

      default @NonNull String requireFamily()
      Return family, guaranteed to be non-null.
      Returns:
      String family, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if family is not present
    • getIp

      String getIp()
      Return ip, or null if it is not present.
      Returns:
      String ip, or null if it is not present.
    • requireIp

      default @NonNull String requireIp()
      Return ip, guaranteed to be non-null.
      Returns:
      String ip, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if ip is not present
    • getIfname

      String getIfname()
      Return ifname, or null if it is not present.
      Returns:
      String ifname, or null if it is not present.
    • requireIfname

      default @NonNull String requireIfname()
      Return ifname, guaranteed to be non-null.
      Returns:
      String ifname, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if ifname is not present