Interface Detection
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Detection>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<SlowPeerConfig>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface Detection extends org.opendaylight.yangtools.yang.binding.ChildOf<SlowPeerConfig>, org.opendaylight.yangtools.yang.binding.Augmentable<Detection>
This class represents the following YANG schema fragment defined in module bgp
container detection { leaf enable { type boolean; default true; } leaf threshold { type uint16 { range 120..3600; } } }
The schema path to identify an instance is bgp/slow-peer-config/detectionTo create instances of this class use
DetectionBuilder
.- See Also:
DetectionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint16
getThreshold()
default java.lang.Class<Detection>
implementedInterface()
@Nullable java.lang.Boolean
isEnable()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<Detection> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
isEnable
@Nullable java.lang.Boolean isEnable()
- Returns:
java.lang.Boolean
enable
, ornull
if not present
-
getThreshold
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getThreshold()
- Returns:
org.opendaylight.yangtools.yang.common.Uint16
threshold
, ornull
if not present
-
-