Class IpPrefix
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.types.inet.rev210107.IpPrefix
- 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 IpPrefix
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-inet-types
typedef ip-prefix {
type union {
type ipv4-prefix;
type ipv6-prefix;
}
}
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a copy from Source Object.IpPrefix(Ipv4Prefix _ipv4Prefix) IpPrefix(Ipv6Prefix _ipv6Prefix) -
Method Summary
-
Field Details
-
PATTERN_CONSTANTS
-
-
Constructor Details
-
IpPrefix
-
IpPrefix
-
IpPrefix
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.
-
getIpv4Prefix
-
getIpv6Prefix
-
hashCode
public int hashCode() -
equals
-
toString
-