Class PlatformComponentState.Type
java.lang.Object
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.platform.rev210118.PlatformComponentState.Type
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.TypeObject,org.opendaylight.yangtools.yang.binding.UnionTypeObject
- Enclosing interface:
- PlatformComponentState
public static final class PlatformComponentState.Type
extends Object
implements org.opendaylight.yangtools.yang.binding.UnionTypeObject, Serializable
This class represents the following YANG schema fragment defined in module openconfig-platform
leaf type {
type union {
type identityref {
base OPENCONFIG_HARDWARE_COMPONENT;
}
type identityref {
base OPENCONFIG_SOFTWARE_COMPONENT;
}
}
}
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionType(PlatformComponentState.Type source) Creates a copy from Source Object.Type(OPENCONFIGHARDWARECOMPONENT _oPENCONFIGHARDWARECOMPONENT) Type(OPENCONFIGSOFTWARECOMPONENT _oPENCONFIGSOFTWARECOMPONENT) -
Method Summary
-
Constructor Details
-
Type
-
Type
-
Type
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.
-
getOPENCONFIGHARDWARECOMPONENT
-
getOPENCONFIGSOFTWARECOMPONENT
-
hashCode
public int hashCode() -
equals
-
toString
-