Class Peer.PeerDistinguisher
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.Peer.PeerDistinguisher
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
,org.opendaylight.yangtools.yang.binding.UnionTypeObject
- Enclosing interface:
- Peer
public static final class Peer.PeerDistinguisher
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module bmp-message
leaf peer-distinguisher { type union { type bgp-t:route-distinguisher; type binary { length 8; } } }
- See Also:
-
Constructor Summary
ConstructorDescriptionPeerDistinguisher
(byte[] _binary) PeerDistinguisher
(RouteDistinguisher _routeDistinguisher) Creates a copy from Source Object. -
Method Summary
-
Constructor Details
-
PeerDistinguisher
-
PeerDistinguisher
public PeerDistinguisher(byte[] _binary) -
PeerDistinguisher
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Details
-
stringValue
Return a String representing the value of this union.- Returns:
- String representation of this union's value.
-
getRouteDistinguisher
-
getBinary
public byte[] getBinary() -
hashCode
public int hashCode() -
equals
-
toString
-