Package com.castlabs.sdk.claws

# Class Device

java.lang.Object
com.castlabs.sdk.claws.Device

All Implemented Interfaces:
  `Serializable`

public class Device extends Object implements Serializable
Represents a device.

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final String`
  `id`
  The unique identifier of the device.
  `final String`
  `name`
  The name of the device.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Device(String id, String name)`
  Constructs a new Device object.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `int`
  `hashCode()`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### id

    @NonNull public final String id
    The unique identifier of the device.

  - ### name

    @NonNull public final String name
    The name of the device.

- ## Constructor Details

  - ### Device

    public Device(@NonNull String id, @NonNull String name)
    Constructs a new Device object.
    Parameters:
      `id` - The unique identifier of the device.
      `name` - The name of the device.

- ## Method Details

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`