Class SetColumnsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.SetColumnsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetColumnsOperationSpec
extends Object
SetColumnsSpec
Specification for the SetColumns operation.
Set columns
-
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
SetColumnsOperationSpec
(Long id, List<String> requestBody) Constructs a validated instance ofSetColumnsOperationSpec
.Constructs a validated instance ofSetColumnsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the filter.The ID of the filter.The IDs of the fields to set as columns.requestBody
(@Nullable List<String> requestBody) The IDs of the fields to set as columns.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
-
SetColumnsOperationSpec
Constructs a validated instance ofSetColumnsOperationSpec
.- Parameters:
spec
- the specification to process
-
SetColumnsOperationSpec
Constructs a validated instance ofSetColumnsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the filter.requestBody
- The IDs of the fields to set as columns. In the form data, specify each field ascolumns=id
, whereid
is the *id* of a field (as seen in the response for [Get fields](#api-rest-api-<ver>-field-get)). For example,columns=summary
.
-
SetColumnsOperationSpec
protected SetColumnsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
id
The ID of the filter. -
requestBody
The IDs of the fields to set as columns. In the form data, specify each field ascolumns=id
, whereid
is the *id* of a field (as seen in the response for [Get fields](#api-rest-api-<ver>-field-get)). For example,columns=summary
. -
id
The ID of the filter.- Returns:
this
.
-
requestBody
The IDs of the fields to set as columns. In the form data, specify each field ascolumns=id
, whereid
is the *id* of a field (as seen in the response for [Get fields](#api-rest-api-<ver>-field-get)). For example,columns=summary
.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-