Interface PeerReference
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
ResetSessionInput
,RestartGracefullyInput
,RouteRefreshRequestInput
,RrMsgArgs
@Generated("mdsal-binding-generator")
public interface PeerReference
extends org.opendaylight.yangtools.binding.Grouping
This class represents the following YANG schema fragment defined in module bgp-peer-rpc
grouping peer-reference { leaf peer-ref { type peer-ref; ext:context-reference peer-context; } }
-
Method Summary
Modifier and TypeMethodDescriptionReturn peerRef, ornull
if it is not present.default @NonNull PeerRef
Return peerRef, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getPeerRef
Return peerRef, ornull
if it is not present.- Returns:
PeerRef
peerRef, ornull
if it is not present.
-
requirePeerRef
Return peerRef, guaranteed to be non-null.- Returns:
PeerRef
peerRef, guaranteed to be non-null.- Throws:
NoSuchElementException
- if peerRef is not present
-