Record Class MostRecentlyUpdatedResponse
java.lang.Object
java.lang.Record
de.chojo.universalis.rest.response.extra.stats.MostRecentlyUpdatedResponse
- Record Components:
items- items
- All Implemented Interfaces:
Iterable<WorldItemRecently>
public record MostRecentlyUpdatedResponse(List<WorldItemRecently> items)
extends Record
implements Iterable<WorldItemRecently>
Response for a
MostRecentlyUpdatedRequest-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aMostRecentlyUpdatedResponserecord 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.items()Returns the value of theitemsrecord component.iterator()final StringtoString()Returns a string representation of this record class.Methods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
MostRecentlyUpdatedResponse
Creates an instance of aMostRecentlyUpdatedResponserecord class.- Parameters:
items- the value for theitemsrecord component
-
-
Method Details
-
iterator
- Specified by:
iteratorin interfaceIterable<WorldItemRecently>
-
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). -
items
-