Class Win32Baseboard

java.lang.Object
io.github.eggy03.ferrumx.windows.entity.mainboard.Win32Baseboard

@ShallowImmutable public class Win32Baseboard extends Object
Immutable representation of a motherboard device on a Windows system.

Fields correspond to properties retrieved from the Win32_Baseboard WMI class.

Usage example

Win32Baseboard board = Win32Baseboard.builder()
    .manufacturer("ASUS")
    .serialNumber("ABC123456")
    .build();

// Create a modified copy
Win32Baseboard updated = board.toBuilder()
    .serialNumber("XYZ987654")
    .build();

Win32PortConnector contains details about ports on this mainboard.

Since:
3.0.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) @Nullable String
    Name of the organization responsible for producing the baseboard.
    (package private) @Nullable String
    Name by which the baseboard is known.
    (package private) @Nullable String
    Baseboard part number defined by the manufacturer.
    (package private) @Nullable String
    Manufacturer-allocated number used to identify the baseboard.
    (package private) @Nullable String
    Version of the baseboard.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull String
    Retrieves the entity in a JSON pretty-print formatted string

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • manufacturer

      @SerializedName("Manufacturer") @Nullable @Nullable String manufacturer
      Name of the organization responsible for producing the baseboard.
    • model

      @SerializedName("Model") @Nullable @Nullable String model
      Name by which the baseboard is known.
    • product

      @SerializedName("Product") @Nullable @Nullable String product
      Baseboard part number defined by the manufacturer.
    • serialNumber

      @SerializedName("SerialNumber") @Nullable @Nullable String serialNumber
      Manufacturer-allocated number used to identify the baseboard.
    • version

      @SerializedName("Version") @Nullable @Nullable String version
      Version of the baseboard.
  • Constructor Details

    • Win32Baseboard

      public Win32Baseboard()
  • Method Details

    • toString

      @NotNull public @NotNull String toString()
      Retrieves the entity in a JSON pretty-print formatted string
      Overrides:
      toString in class Object
      Returns:
      the String value of the object in JSON pretty-print format