Class IpAddress
- java.lang.Object
-
- org.opendaylight.yang.gen.v1.http.openconfig.net.yang.types.inet.rev210107.IpAddress
-
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.TypeObject
@Generated("mdsal-binding-generator") public class IpAddress extends Object implements org.opendaylight.yangtools.yang.binding.TypeObject, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>PATTERN_CONSTANTS
-
Constructor Summary
Constructors Constructor Description IpAddress(IpAddress source)Creates a copy from Source Object.IpAddress(Ipv4Address _ipv4Address)IpAddress(Ipv6Address _ipv6Address)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Ipv4AddressgetIpv4Address()Ipv6AddressgetIpv6Address()inthashCode()StringstringValue()Return a String representing the value of this union.StringtoString()
-
-
-
Constructor Detail
-
IpAddress
public IpAddress(Ipv4Address _ipv4Address)
-
IpAddress
public IpAddress(Ipv6Address _ipv6Address)
-
IpAddress
public IpAddress(IpAddress 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.
-
getIpv4Address
public Ipv4Address getIpv4Address()
-
getIpv6Address
public Ipv6Address getIpv6Address()
-
-