Class BgpNextHopType
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.BgpNextHopType
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
,org.opendaylight.yangtools.yang.binding.UnionTypeObject
@Generated("mdsal-binding-generator")
public class BgpNextHopType
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-bgp-policy
typedef bgp-next-hop-type { type union { type inet:ip-address; type enumeration { enum SELF { } } } }
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
This class represents the following YANG schema fragment defined in module openconfig-bgp-policy -
Constructor Summary
ConstructorDescriptionBgpNextHopType
(BgpNextHopType source) Creates a copy from Source Object.BgpNextHopType
(BgpNextHopType.Enumeration _enumeration) BgpNextHopType
(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress) -
Method Summary
-
Constructor Details
-
BgpNextHopType
public BgpNextHopType(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress) -
BgpNextHopType
-
BgpNextHopType
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.
-
getIpAddress
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpAddress() -
getEnumeration
-
hashCode
public int hashCode() -
equals
-
toString
-