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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn family, ornullif it is not present.getForce()Return force, ornullif it is not present.Return ifname, ornullif it is not present.getIp()Return ip, ornullif it is not present.Class<? extends ClearNeighborsRequest>default @NonNull StringReturn family, guaranteed to be non-null.default @NonNull BooleanReturn force, guaranteed to be non-null.default @NonNull StringReturn ifname, guaranteed to be non-null.default @NonNull StringReturn ip, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends ClearNeighborsRequest> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.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
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
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
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
Return ifname, guaranteed to be non-null.- Returns:
Stringifname, guaranteed to be non-null.- Throws:
NoSuchElementException- if ifname is not present
-