Record Class CAAuditSearchParameters
java.lang.Object
java.lang.Record
com.io7m.cardant.model.CAAuditSearchParameters
- Record Components:
owner- Limit events to the given ownertype- Limit events to the given typetimeRange- Limit events to the given time rangepageSize- The page size
- All Implemented Interfaces:
CASearchParametersType
public record CAAuditSearchParameters(Optional<CAUserID> owner, CAComparisonExactType<String> type, CATimeRange timeRange, long pageSize)
extends Record
implements CASearchParametersType
The search parameters for the audit log.
-
Constructor Summary
ConstructorsConstructorDescriptionCAAuditSearchParameters(Optional<CAUserID> owner, CAComparisonExactType<String> type, CATimeRange timeRange, long pageSize) The search parameters for the audit log. -
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.owner()Returns the value of theownerrecord component.longpageSize()Returns the value of thepageSizerecord 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
-
CAAuditSearchParameters
public CAAuditSearchParameters(Optional<CAUserID> owner, CAComparisonExactType<String> type, CATimeRange timeRange, long pageSize) The search parameters for the audit log.- Parameters:
owner- Limit events to the given ownertype- Limit events to the given typetimeRange- Limit events to the given time rangepageSize- The page size
-
-
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. -
owner
-
type
-
timeRange
-
pageSize
public long pageSize()Returns the value of thepageSizerecord component.- Specified by:
pageSizein interfaceCASearchParametersType- Returns:
- the value of the
pageSizerecord component
-