Record Class St1AdminDeviceGetByKey
java.lang.Object
java.lang.Record
com.io7m.stonesignal.protocol.admin.v1.St1AdminDeviceGetByKey
- All Implemented Interfaces:
St1AdminMessageType
public record St1AdminDeviceGetByKey(String deviceKey)
extends Record
implements St1AdminMessageType
Get a device by key.
-
Constructor Summary
ConstructorsConstructorDescriptionSt1AdminDeviceGetByKey(String deviceKey) Creates an instance of aSt1AdminDeviceGetByKeyrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeviceKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
St1AdminDeviceGetByKey
Creates an instance of aSt1AdminDeviceGetByKeyrecord class.- Parameters:
deviceKey- the value for thedeviceKeyrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
deviceKey
Returns the value of thedeviceKeyrecord component.- Returns:
- the value of the
deviceKeyrecord component
-