Record Class StDBAuditSearchParameters
java.lang.Object
java.lang.Record
com.io7m.stonesignal.server.database.StDBAuditSearchParameters
- Record Components:
type- The event typetimeStart- The starting timecount- The number of events to return
public record StDBAuditSearchParameters(Optional<String> type, OffsetDateTime timeStart, int count)
extends Record
The search parameters for audit events.
-
Constructor Summary
ConstructorsConstructorDescriptionStDBAuditSearchParameters(Optional<String> type, OffsetDateTime timeStart, int count) The search parameters for audit events. -
Method Summary
Modifier and TypeMethodDescriptionintcount()Returns the value of thecountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thetimeStartrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
StDBAuditSearchParameters
The search parameters for audit events.- Parameters:
type- The event typetimeStart- The starting timecount- The number of events to return
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
type
-
timeStart
-
count
-