Class GetAuditRecordsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a validated instance ofGetAuditRecordsOperationSpec.Constructs a validated instance ofGetAuditRecordsOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringfilter()The strings to match with audit field content, space separated.The strings to match with audit field content, space separated.@Nullable Stringfrom()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.inthashCode()@Nullable Integerlimit()The maximum number of results to return.The maximum number of results to return.@Nullable Integeroffset()The number of records to skip before returning the first result.The number of records to skip before returning the first result.@Nullable Stringto()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()voidvalidate()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. Iftois providedfrommust be beforetoor no audit records are returned.to- The date and time on or before which returned audit results must have been created. Iffromis providedtomust be afterfromor 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. Iftois providedfrommust be beforetoor no audit records are returned. -
to
The date and time on or before which returned audit results must have been created. Iffromis providedtomust be afterfromor 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. Iftois providedfrommust be beforetoor no audit records are returned.- Returns:
this.
-
to
The date and time on or before which returned audit results must have been created. Iffromis providedtomust be afterfromor no audit records are returned.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-