Class GetAuditRecordsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetAuditRecordsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetAuditRecordsOperationSpec
extends Object
GetAuditRecordsSpec
Specification for the GetAuditRecords operation.
Get audit records
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs a validated instance ofGetAuditRecordsOperationSpec
.Constructs a validated instance ofGetAuditRecordsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
filter()
The strings to match with audit field content, space separated.The strings to match with audit field content, space separated.@Nullable String
from()
The date and time on or after which returned audit records must have been created.The date and time on or after which returned audit records must have been created.int
hashCode()
@Nullable Integer
limit()
The maximum number of results to return.The maximum number of results to return.@Nullable Integer
offset()
The number of records to skip before returning the first result.The number of records to skip before returning the first result.@Nullable String
to()
The date and time on or before which returned audit results must have been created.The date and time on or before which returned audit results must have been created.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetAuditRecordsOperationSpec
Constructs a validated instance ofGetAuditRecordsOperationSpec
.- Parameters:
spec
- the specification to process
-
GetAuditRecordsOperationSpec
@Internal public GetAuditRecordsOperationSpec(Integer offset, Integer limit, String filter, String from, String to) Constructs a validated instance ofGetAuditRecordsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
offset
- The number of records to skip before returning the first result.limit
- The maximum number of results to return.filter
- The strings to match with audit field content, space separated.from
- The date and time on or after which returned audit records must have been created. Ifto
is providedfrom
must be beforeto
or no audit records are returned.to
- The date and time on or before which returned audit results must have been created. Iffrom
is providedto
must be afterfrom
or no audit records are returned.
-
GetAuditRecordsOperationSpec
protected GetAuditRecordsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
offset
The number of records to skip before returning the first result. -
limit
The maximum number of results to return. -
filter
The strings to match with audit field content, space separated. -
from
The date and time on or after which returned audit records must have been created. Ifto
is providedfrom
must be beforeto
or no audit records are returned. -
to
The date and time on or before which returned audit results must have been created. Iffrom
is providedto
must be afterfrom
or no audit records are returned. -
offset
The number of records to skip before returning the first result.- Returns:
this
.
-
limit
The maximum number of results to return.- Returns:
this
.
-
filter
The strings to match with audit field content, space separated.- Returns:
this
.
-
from
The date and time on or after which returned audit records must have been created. Ifto
is providedfrom
must be beforeto
or no audit records are returned.- Returns:
this
.
-
to
The date and time on or before which returned audit results must have been created. Iffrom
is providedto
must be afterfrom
or no audit records are returned.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-