Class RemoveGadgetOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.RemoveGadgetOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class RemoveGadgetOperationSpec
extends Object
RemoveGadgetSpec
Specification for the RemoveGadget operation.
Remove gadget from dashboard
-
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
ConstructorsModifierConstructorDescriptionprotectedRemoveGadgetOperationSpec(Long dashboardId, Long gadgetId) Constructs a validated instance ofRemoveGadgetOperationSpec.Constructs a validated instance ofRemoveGadgetOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull LongThe ID of the dashboard.dashboardId(@NotNull Long dashboardId) The ID of the dashboard.boolean@NotNull LonggadgetId()The ID of the gadget.The ID of the gadget.inthashCode()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
-
RemoveGadgetOperationSpec
Constructs a validated instance ofRemoveGadgetOperationSpec.- Parameters:
spec- the specification to process
-
RemoveGadgetOperationSpec
Constructs a validated instance ofRemoveGadgetOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
dashboardId- The ID of the dashboard.gadgetId- The ID of the gadget.
-
RemoveGadgetOperationSpec
protected RemoveGadgetOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
dashboardId
The ID of the dashboard. -
gadgetId
The ID of the gadget. -
dashboardId
The ID of the dashboard.- Returns:
this.
-
gadgetId
The ID of the gadget.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-