Class LocalStaticConfig.NextHop
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.local.routing.rev151009.LocalStaticConfig.NextHop
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
,org.opendaylight.yangtools.yang.binding.UnionTypeObject
- Enclosing interface:
- LocalStaticConfig
public static final class LocalStaticConfig.NextHop
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-local-routing
leaf-list next-hop { type union { type inet:ip-address; type local-defined-next-hop; type string; } }
- See Also:
-
Constructor Summary
ConstructorDescriptionNextHop
(LocalDefinedNextHop _localDefinedNextHop) NextHop
(LocalStaticConfig.NextHop source) Creates a copy from Source Object.NextHop
(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress) -
Method Summary
-
Constructor Details
-
NextHop
public NextHop(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress) -
NextHop
-
NextHop
-
NextHop
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() -
getLocalDefinedNextHop
-
getString
-
hashCode
public int hashCode() -
equals
-
toString
-