Record Class St1DataDeviceLocationsGetResponse
java.lang.Object
java.lang.Record
com.io7m.stonesignal.protocol.data.v1.St1DataDeviceLocationsGetResponse
- All Implemented Interfaces:
St1DataMessageType
public record St1DataDeviceLocationsGetResponse(Map<UUID,St1DataLocation> locations)
extends Record
implements St1DataMessageType
The response to getting device locations.
-
Constructor Summary
ConstructorsConstructorDescriptionSt1DataDeviceLocationsGetResponse(Map<UUID, St1DataLocation> locations) Creates an instance of aSt1DataDeviceLocationsGetResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelocationsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
St1DataDeviceLocationsGetResponse
public St1DataDeviceLocationsGetResponse(@JsonPropertyDescription("The device locations by ID.") Map<UUID, St1DataLocation> locations) Creates an instance of aSt1DataDeviceLocationsGetResponserecord class.- Parameters:
locations- the value for thelocationsrecord 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). -
locations
@JsonPropertyDescription("The device locations by ID.") public Map<UUID,St1DataLocation> locations()Returns the value of thelocationsrecord component.- Returns:
- the value of the
locationsrecord component
-