Class GetOptionsForContextOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetOptionsForContextOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetOptionsForContextOperationSpec
extends Object
GetOptionsForContextSpec
Specification for the GetOptionsForContext operation.
Get custom field options (context)
-
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
GetOptionsForContextOperationSpec
(String fieldId, Long contextId, Long optionId, Boolean onlyOptions, Long startAt, Integer maxResults) Constructs a validated instance ofGetOptionsForContextOperationSpec
.Constructs a validated instance ofGetOptionsForContextOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull Long
The ID of the context.The ID of the context.boolean
@NotNull String
fieldId()
The ID of the custom field.The ID of the custom field.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 Boolean
Whether only options are returned.onlyOptions
(@Nullable Boolean onlyOptions) Whether only options are returned.@Nullable Long
optionId()
The ID of the option.The ID of the option.@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
-
GetOptionsForContextOperationSpec
@Internal public GetOptionsForContextOperationSpec(Consumer<GetOptionsForContextOperationSpec> spec) Constructs a validated instance ofGetOptionsForContextOperationSpec
.- Parameters:
spec
- the specification to process
-
GetOptionsForContextOperationSpec
@Internal public GetOptionsForContextOperationSpec(String fieldId, Long contextId, Long optionId, Boolean onlyOptions, Long startAt, Integer maxResults) Constructs a validated instance ofGetOptionsForContextOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldId
- The ID of the custom field.contextId
- The ID of the context.optionId
- The ID of the option.onlyOptions
- Whether only options are returned.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.
-
GetOptionsForContextOperationSpec
protected GetOptionsForContextOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
fieldId
The ID of the custom field. -
contextId
The ID of the context. -
optionId
The ID of the option. -
onlyOptions
Whether only options are returned. -
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 custom field.- Returns:
this
.
-
contextId
The ID of the context.- Returns:
this
.
-
optionId
The ID of the option.- Returns:
this
.
-
onlyOptions
Whether only options are returned.- 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
-