public class BaseboardImpl extends AbstractOshiJsonObject implements Baseboard
| Constructor and Description |
|---|
BaseboardImpl(Baseboard baseboard)
Creates a new platform-specific baseboard object wrapping the provided
argument
|
| Modifier and Type | Method and Description |
|---|---|
String |
getManufacturer()
Get the baseboard manufacturer.
|
String |
getModel()
Get the baseboard model.
|
String |
getSerialNumber()
Get the baseboard serial number
|
String |
getVersion()
Get the baseboard version.
|
javax.json.JsonObject |
toJSON(Properties properties)
Returns this object as a
JsonObject. |
String |
toString() |
toCompactJSON, toCompactJSON, toJSON, toPrettyJSON, toPrettyJSONclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoCompactJSON, toCompactJSON, toJSON, toPrettyJSON, toPrettyJSONpublic BaseboardImpl(Baseboard baseboard)
baseboard - a platform-specific baseboard objectpublic String getManufacturer()
getManufacturer in interface Baseboardpublic String getModel()
public String getVersion()
getVersion in interface Baseboardpublic String getSerialNumber()
getSerialNumber in interface Baseboardpublic javax.json.JsonObject toJSON(Properties properties)
JsonObject. The provided
properties will be set on this object to configure the type of
information returned using this and future invocations of
OshiJsonObject.toJSON().toJSON in interface OshiJsonObjectproperties - Properties to configure returned resultsJsonObject for this class.public String toString()
toString in class AbstractOshiJsonObjectCopyright © 2010–2017 oshi. All rights reserved.