Class LicenseConfig.LicenseData
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.license.rev200422.LicenseConfig.LicenseData
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.TypeObject,org.opendaylight.yangtools.yang.binding.UnionTypeObject
- Enclosing interface:
- LicenseConfig
public static final class LicenseConfig.LicenseData
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-license
leaf license-data {
type union {
type binary;
type string;
}
}
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLicenseData(byte[] _binary) LicenseData(String _string) LicenseData(LicenseConfig.LicenseData source) Creates a copy from Source Object. -
Method Summary
-
Constructor Details
-
LicenseData
public LicenseData(byte[] _binary) -
LicenseData
-
LicenseData
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.
-
getBinary
public byte[] getBinary() -
getString
-
hashCode
public int hashCode() -
equals
-
toString
-