Interface ClearNeighborsRequest
-
- All Superinterfaces:
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 @NonNull org.opendaylight.yangtools.yang.common.QNameQNAMEYANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StringgetFamily()Return family, ornullif it is not present.BooleangetForce()Return force, ornullif it is not present.StringgetIfname()Return ifname, ornullif it is not present.StringgetIp()Return ip, ornullif it is not present.Class<? extends ClearNeighborsRequest>implementedInterface()default @NonNull StringrequireFamily()Return family, guaranteed to be non-null.default @NonNull BooleanrequireForce()Return force, guaranteed to be non-null.default @NonNull StringrequireIfname()Return ifname, guaranteed to be non-null.default @NonNull StringrequireIp()Return ip, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends ClearNeighborsRequest> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getForce
Boolean getForce()
Return force, ornullif it is not present.- Returns:
Booleanforce, ornullif it is not present.
-
requireForce
default @NonNull Boolean requireForce()
Return force, guaranteed to be non-null.- Returns:
Booleanforce, guaranteed to be non-null.- Throws:
NoSuchElementException- if force is not present
-
getFamily
String getFamily()
Return family, ornullif it is not present.- Returns:
Stringfamily, ornullif it is not present.
-
requireFamily
default @NonNull String requireFamily()
Return family, guaranteed to be non-null.- Returns:
Stringfamily, guaranteed to be non-null.- Throws:
NoSuchElementException- if family is not present
-
getIp
String getIp()
Return ip, ornullif it is not present.- Returns:
Stringip, ornullif it is not present.
-
requireIp
default @NonNull String requireIp()
Return ip, guaranteed to be non-null.- Returns:
Stringip, guaranteed to be non-null.- Throws:
NoSuchElementException- if ip is not present
-
getIfname
String getIfname()
Return ifname, ornullif it is not present.- Returns:
Stringifname, ornullif it is not present.
-
requireIfname
default @NonNull String requireIfname()
Return ifname, guaranteed to be non-null.- Returns:
Stringifname, guaranteed to be non-null.- Throws:
NoSuchElementException- if ifname is not present
-
-