Record Class St1DataDeviceLocationHistoryGetResponse
java.lang.Object
java.lang.Record
com.io7m.stonesignal.protocol.data.v1.St1DataDeviceLocationHistoryGetResponse
- All Implemented Interfaces:
St1DataMessageType
public record St1DataDeviceLocationHistoryGetResponse(List<St1DataLocation> locations)
extends Record
implements St1DataMessageType
The response to getting device locations.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aSt1DataDeviceLocationHistoryGetResponserecord 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
-
St1DataDeviceLocationHistoryGetResponse
public St1DataDeviceLocationHistoryGetResponse(@JsonPropertyDescription("The device locations.") List<St1DataLocation> locations) Creates an instance of aSt1DataDeviceLocationHistoryGetResponserecord 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
Returns the value of thelocationsrecord component.- Returns:
- the value of the
locationsrecord component
-