Record Class St1DataDeviceGetByID
java.lang.Object
java.lang.Record
com.io7m.stonesignal.protocol.data.v1.St1DataDeviceGetByID
-
Constructor Summary
ConstructorsConstructorDescriptionSt1DataDeviceGetByID(UUID deviceId) Creates an instance of aSt1DataDeviceGetByIDrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondeviceId()Returns the value of thedeviceIdrecord 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
-
St1DataDeviceGetByID
Creates an instance of aSt1DataDeviceGetByIDrecord class.- Parameters:
deviceId- the value for thedeviceIdrecord 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). -
deviceId
Returns the value of thedeviceIdrecord component.- Returns:
- the value of the
deviceIdrecord component
-