Record Class IdAuditSearchParameters
java.lang.Object
java.lang.Record
com.io7m.idstore.model.IdAuditSearchParameters
- Record Components:
timeRange- Only events created within this time range are returnedowner- Only include events with this ownertype- Only include events with this typelimit- The limit on the number of returned events
-
Constructor Summary
ConstructorsConstructorDescriptionIdAuditSearchParameters(IdTimeRange timeRange, Optional<String> owner, Optional<String> type, int limit) The immutable parameters required to list events. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdAuditSearchParametersdefaults()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intlimit()Returns the value of thelimitrecord component.owner()Returns the value of theownerrecord component.Returns the value of thetimeRangerecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
IdAuditSearchParameters
public IdAuditSearchParameters(IdTimeRange timeRange, Optional<String> owner, Optional<String> type, int limit) The immutable parameters required to list events.- Parameters:
timeRange- Only events created within this time range are returnedowner- Only include events with this ownertype- Only include events with this typelimit- The limit on the number of returned events
-
-
Method Details
-
defaults
- Returns:
- Sensible default values
-
limit
-
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. -
timeRange
-
owner
-
type
-