Class PlatformComponentPropertiesConfig.Value
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.platform.rev210118.PlatformComponentPropertiesConfig.Value
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.TypeObject,org.opendaylight.yangtools.yang.binding.UnionTypeObject
- Enclosing interface:
- PlatformComponentPropertiesConfig
public static final class PlatformComponentPropertiesConfig.Value
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-platform
leaf value {
type union {
type string;
type boolean;
type int64;
type uint64;
type decimal64 {
fraction-digits 2;
}
}
}
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Value
-
Value
-
Value
-
Value
public Value(org.opendaylight.yangtools.yang.common.Uint64 _uint64) -
Value
public Value(org.opendaylight.yangtools.yang.common.Decimal64 _decimal64) -
Value
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.
-
getString
-
getBoolean
-
getInt64
-
getUint64
public org.opendaylight.yangtools.yang.common.Uint64 getUint64() -
getDecimal64
public org.opendaylight.yangtools.yang.common.Decimal64 getDecimal64() -
hashCode
public int hashCode() -
equals
-
toString
-