Class UpdateGadgetOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateGadgetOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateGadgetOperationSpec
extends Object
UpdateGadgetSpec
Specification for the UpdateGadget operation.
Update gadget on dashboard
-
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
UpdateGadgetOperationSpec
(Long dashboardId, Long gadgetId, DashboardGadgetUpdateRequest dashboardGadgetUpdateRequest) Constructs a validated instance ofUpdateGadgetOperationSpec
.Constructs a validated instance ofUpdateGadgetOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull DashboardGadgetUpdateRequest
dashboardGadgetUpdateRequest
(@NotNull DashboardGadgetUpdateRequest dashboardGadgetUpdateRequest) @NotNull Long
The ID of the dashboard.dashboardId
(@NotNull Long dashboardId) The ID of the dashboard.boolean
@NotNull Long
gadgetId()
The ID of the gadget.The ID of the gadget.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
-
UpdateGadgetOperationSpec
Constructs a validated instance ofUpdateGadgetOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateGadgetOperationSpec
@Internal public UpdateGadgetOperationSpec(Long dashboardId, Long gadgetId, DashboardGadgetUpdateRequest dashboardGadgetUpdateRequest) Constructs a validated instance ofUpdateGadgetOperationSpec
.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.dashboardGadgetUpdateRequest
-
-
UpdateGadgetOperationSpec
protected UpdateGadgetOperationSpec()
-
-
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. -
dashboardGadgetUpdateRequest
-
dashboardId
The ID of the dashboard.- Returns:
this
.
-
gadgetId
The ID of the gadget.- Returns:
this
.
-
dashboardGadgetUpdateRequest
public UpdateGadgetOperationSpec dashboardGadgetUpdateRequest(@NotNull @NotNull DashboardGadgetUpdateRequest dashboardGadgetUpdateRequest) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-