Class IpPrefixOrAddress
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.types.rev160517.IpPrefixOrAddress
-
- All Implemented Interfaces:
Serializable
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.TypeObject
public class IpPrefixOrAddress extends Object implements org.opendaylight.yangtools.yang.binding.TypeObject, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IpPrefixOrAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress)
IpPrefixOrAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix _ipPrefix)
IpPrefixOrAddress(IpPrefixOrAddress source)
Creates a copy from Source Object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress
getIpAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getIpPrefix()
int
hashCode()
String
stringValue()
Return a String representing the value of this union.String
toString()
-
-
-
Constructor Detail
-
IpPrefixOrAddress
public IpPrefixOrAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix _ipPrefix)
-
IpPrefixOrAddress
public IpPrefixOrAddress(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress _ipAddress)
-
IpPrefixOrAddress
public IpPrefixOrAddress(IpPrefixOrAddress source)
Creates a copy from Source Object.- Parameters:
source
- Source object
-
-
Method Detail
-
stringValue
public String stringValue()
Return a String representing the value of this union.- Returns:
- String representation of this union's value.
-
getIpPrefix
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getIpPrefix()
-
getIpAddress
public org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getIpAddress()
-
-