Record Class IdA1AuditSearchParameters
java.lang.Object
java.lang.Record
com.io7m.idstore.protocol.admin.cb.IdA1AuditSearchParameters
- Record Components:
fieldTimeRange- The range of time to include.fieldOwner- All records contain this owner, if specified.fieldType- All records contain this type, if specified.fieldLimit- The limit on the number of results.
- All Implemented Interfaces:
com.io7m.cedarbridge.runtime.api.CBSerializableType
public record IdA1AuditSearchParameters(IdA1TimeRange fieldTimeRange, com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> fieldOwner, com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> fieldType, com.io7m.cedarbridge.runtime.api.CBIntegerUnsigned16 fieldLimit)
extends Record
implements com.io7m.cedarbridge.runtime.api.CBSerializableType
Search parameters for audit records.
-
Constructor Summary
ConstructorsConstructorDescriptionIdA1AuditSearchParameters(IdA1TimeRange fieldTimeRange, com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> fieldOwner, com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> fieldType, com.io7m.cedarbridge.runtime.api.CBIntegerUnsigned16 fieldLimit) Creates an instance of aIdA1AuditSearchParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic IdA1AuditSearchParametersdeserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) Deserialize a value of type IdA1AuditSearchParameters.final booleanIndicates whether some other object is "equal to" this one.com.io7m.cedarbridge.runtime.api.CBIntegerUnsigned16Returns the value of thefieldLimitrecord component.com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> Returns the value of thefieldOwnerrecord component.Returns the value of thefieldTimeRangerecord component.com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> Returns the value of thefieldTyperecord component.final inthashCode()Returns a hash code value for this object.static voidserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, IdA1AuditSearchParameters $x) Serialize a value of type IdA1AuditSearchParameters.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
IdA1AuditSearchParameters
public IdA1AuditSearchParameters(IdA1TimeRange fieldTimeRange, com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> fieldOwner, com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> fieldType, com.io7m.cedarbridge.runtime.api.CBIntegerUnsigned16 fieldLimit) Creates an instance of aIdA1AuditSearchParametersrecord class.- Parameters:
fieldTimeRange- the value for thefieldTimeRangerecord componentfieldOwner- the value for thefieldOwnerrecord componentfieldType- the value for thefieldTyperecord componentfieldLimit- the value for thefieldLimitrecord component
-
-
Method Details
-
serialize
public static void serialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context, IdA1AuditSearchParameters $x) throws IOException Serialize a value of type IdA1AuditSearchParameters.- Parameters:
$context- The serialization context.$x- The value to be serialized.- Throws:
IOException
-
deserialize
public static IdA1AuditSearchParameters deserialize(com.io7m.cedarbridge.runtime.api.CBSerializationContextType $context) throws IOException Deserialize a value of type IdA1AuditSearchParameters.- Parameters:
$context- The serialization context.- Returns:
- A value of type IdA1AuditSearchParameters.
- Throws:
IOException
-
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). -
fieldTimeRange
Returns the value of thefieldTimeRangerecord component.- Returns:
- the value of the
fieldTimeRangerecord component
-
fieldOwner
public com.io7m.cedarbridge.runtime.api.CBOptionType<com.io7m.cedarbridge.runtime.api.CBString> fieldOwner()Returns the value of thefieldOwnerrecord component.- Returns:
- the value of the
fieldOwnerrecord component
-
fieldType
-
fieldLimit
public com.io7m.cedarbridge.runtime.api.CBIntegerUnsigned16 fieldLimit()Returns the value of thefieldLimitrecord component.- Returns:
- the value of the
fieldLimitrecord component
-