Class GetAllLabelsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetAllLabelsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetAllLabelsOperationSpec
extends Object
GetAllLabelsSpec
Specification for the GetAllLabels operation.
Get all labels
-
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
GetAllLabelsOperationSpec
(Long startAt, Integer maxResults) Constructs a validated instance ofGetAllLabelsOperationSpec
.Constructs a validated instance ofGetAllLabelsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@Nullable Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable Long
startAt()
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()
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
-
GetAllLabelsOperationSpec
Constructs a validated instance ofGetAllLabelsOperationSpec
.- Parameters:
spec
- the specification to process
-
GetAllLabelsOperationSpec
Constructs a validated instance ofGetAllLabelsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
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.
-
GetAllLabelsOperationSpec
protected GetAllLabelsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
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. -
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
-