Class SetDefaultValuesOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.SetDefaultValuesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetDefaultValuesOperationSpec
extends Object
SetDefaultValuesSpec
Specification for the SetDefaultValues operation.
Set custom field contexts default values
-
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
SetDefaultValuesOperationSpec
(String fieldId, CustomFieldContextDefaultValueUpdate customFieldContextDefaultValueUpdate) Constructs a validated instance ofSetDefaultValuesOperationSpec
.Constructs a validated instance ofSetDefaultValuesOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull CustomFieldContextDefaultValueUpdate
customFieldContextDefaultValueUpdate
(@NotNull CustomFieldContextDefaultValueUpdate customFieldContextDefaultValueUpdate) boolean
@NotNull String
fieldId()
The ID of the custom field.The ID of the custom field.int
hashCode()
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
-
SetDefaultValuesOperationSpec
Constructs a validated instance ofSetDefaultValuesOperationSpec
.- Parameters:
spec
- the specification to process
-
SetDefaultValuesOperationSpec
@Internal public SetDefaultValuesOperationSpec(String fieldId, CustomFieldContextDefaultValueUpdate customFieldContextDefaultValueUpdate) Constructs a validated instance ofSetDefaultValuesOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
fieldId
- The ID of the custom field.customFieldContextDefaultValueUpdate
-
-
SetDefaultValuesOperationSpec
protected SetDefaultValuesOperationSpec()
-
-
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. -
customFieldContextDefaultValueUpdate
@NotNull public @NotNull CustomFieldContextDefaultValueUpdate customFieldContextDefaultValueUpdate() -
fieldId
The ID of the custom field.- Returns:
this
.
-
customFieldContextDefaultValueUpdate
public SetDefaultValuesOperationSpec customFieldContextDefaultValueUpdate(@NotNull @NotNull CustomFieldContextDefaultValueUpdate customFieldContextDefaultValueUpdate) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-