Class VlanRoutedConfig.Vlan
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.vlan.rev190416.VlanRoutedConfig.Vlan
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.TypeObject,org.opendaylight.yangtools.yang.binding.UnionTypeObject
- Enclosing interface:
- VlanRoutedConfig
public static final class VlanRoutedConfig.Vlan
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-vlan
leaf vlan {
type union {
type uint16;
type string;
}
}
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionVlan(VlanRoutedConfig.Vlan source) Creates a copy from Source Object.Vlan(org.opendaylight.yangtools.yang.common.Uint16 _uint16) -
Method Summary
-
Constructor Details
-
Vlan
public Vlan(org.opendaylight.yangtools.yang.common.Uint16 _uint16) -
Vlan
-
Vlan
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.
-
getUint16
public org.opendaylight.yangtools.yang.common.Uint16 getUint16() -
getString
-
hashCode
public int hashCode() -
equals
-
toString
-