Class GetDefaultValuesOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetDefaultValuesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetDefaultValuesOperationSpec
extends Object
GetDefaultValuesSpec
Specification for the GetDefaultValues operation.
Get custom field contexts default values
-
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
ConstructorsModifierConstructorDescriptionprotectedGetDefaultValuesOperationSpec(String fieldId, Set<Long> contextId, Long startAt, Integer maxResults) Constructs a validated instance ofGetDefaultValuesOperationSpec.Constructs a validated instance ofGetDefaultValuesOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanThe IDs of the contexts.The IDs of the contexts.boolean@NotNull StringfieldId()The ID of the custom field, for examplecustomfield\\_10000.The ID of the custom field, for examplecustomfield\\_10000.inthashCode()@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@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
-
GetDefaultValuesOperationSpec
Constructs a validated instance ofGetDefaultValuesOperationSpec.- Parameters:
spec- the specification to process
-
GetDefaultValuesOperationSpec
@Internal public GetDefaultValuesOperationSpec(String fieldId, Set<Long> contextId, Long startAt, Integer maxResults) Constructs a validated instance ofGetDefaultValuesOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldId- The ID of the custom field, for examplecustomfield\\_10000.contextId- The IDs of the contexts.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.
-
GetDefaultValuesOperationSpec
protected GetDefaultValuesOperationSpec()
-
-
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, for examplecustomfield\\_10000. -
contextId
The IDs of the contexts. -
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, for examplecustomfield\\_10000.- Returns:
this.
-
contextId
The IDs of the contexts.- 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
-