Record Class SeenResponse
java.lang.Object
java.lang.Record
com.zenith.feature.api.vcapi.model.SeenResponse
-
Constructor Summary
ConstructorsConstructorDescriptionSeenResponse(OffsetDateTime firstSeen, OffsetDateTime lastSeen) Creates an instance of aSeenResponserecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirstSeenrecord component.final inthashCode()Returns a hash code value for this object.lastSeen()Returns the value of thelastSeenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SeenResponse
Creates an instance of aSeenResponserecord class.- Parameters:
firstSeen- the value for thefirstSeenrecord componentlastSeen- the value for thelastSeenrecord 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). -
firstSeen
Returns the value of thefirstSeenrecord component.- Returns:
- the value of the
firstSeenrecord component
-
lastSeen
Returns the value of thelastSeenrecord component.- Returns:
- the value of the
lastSeenrecord component
-