Class GetContextsForFieldDeprecatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetContextsForFieldDeprecatedOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetContextsForFieldDeprecatedOperationSpec
extends Object
GetContextsForFieldDeprecatedSpec
Specification for the GetContextsForFieldDeprecated operation.
Get contexts for a field
-
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
GetContextsForFieldDeprecatedOperationSpec
(String fieldId, Long startAt, Integer maxResults) Constructs a validated instance ofGetContextsForFieldDeprecatedOperationSpec
.GetContextsForFieldDeprecatedOperationSpec
(Consumer<GetContextsForFieldDeprecatedOperationSpec> spec) Constructs a validated instance ofGetContextsForFieldDeprecatedOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@NotNull String
fieldId()
The ID of the field to return contexts for.The ID of the field to return contexts for.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
-
GetContextsForFieldDeprecatedOperationSpec
@Internal public GetContextsForFieldDeprecatedOperationSpec(Consumer<GetContextsForFieldDeprecatedOperationSpec> spec) Constructs a validated instance ofGetContextsForFieldDeprecatedOperationSpec
.- Parameters:
spec
- the specification to process
-
GetContextsForFieldDeprecatedOperationSpec
@Internal public GetContextsForFieldDeprecatedOperationSpec(String fieldId, Long startAt, Integer maxResults) Constructs a validated instance ofGetContextsForFieldDeprecatedOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldId
- The ID of the field to return contexts for.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.
-
GetContextsForFieldDeprecatedOperationSpec
protected GetContextsForFieldDeprecatedOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetContextsForFieldDeprecatedOperationSpec.GetContextsForFieldDeprecatedOperationSpecBuilder builder() -
fieldId
The ID of the field to return contexts for. -
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. -
fieldId
The ID of the field to return contexts for.- Returns:
this
.
-
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
public GetContextsForFieldDeprecatedOperationSpec maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-