Class FindUsersByQueryOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.FindUsersByQueryOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class FindUsersByQueryOperationSpec
extends Object
FindUsersByQuerySpec
Specification for the FindUsersByQuery operation.
Find users by query
-
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
ConstructorsModifierConstructorDescriptionprotectedFindUsersByQueryOperationSpec(String query, Long startAt, Integer maxResults) Constructs a validated instance ofFindUsersByQueryOperationSpec.Constructs a validated instance ofFindUsersByQueryOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@NotNull Stringquery()The search query.The search query.@Nullable LongstartAt()The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).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
-
FindUsersByQueryOperationSpec
Constructs a validated instance ofFindUsersByQueryOperationSpec.- Parameters:
spec- the specification to process
-
FindUsersByQueryOperationSpec
Constructs a validated instance ofFindUsersByQueryOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
query- The search query.startAt- The index of the first item to return in a page of results (page offset).maxResults- The maximum number of items to return per page.
-
FindUsersByQueryOperationSpec
protected FindUsersByQueryOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
query
The search query. -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
query
The search query.- Returns:
this.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
The maximum number of items to return per page.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-