Class AddGadgetOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.AddGadgetOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class AddGadgetOperationSpec
extends Object
AddGadgetSpec
Specification for the AddGadget operation.
Add gadget to 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
AddGadgetOperationSpec
(Long dashboardId, DashboardGadgetSettings dashboardGadgetSettings) Constructs a validated instance ofAddGadgetOperationSpec
.Constructs a validated instance ofAddGadgetOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull DashboardGadgetSettings
dashboardGadgetSettings
(@NotNull DashboardGadgetSettings dashboardGadgetSettings) @NotNull Long
The ID of the dashboard.dashboardId
(@NotNull Long dashboardId) The ID of the dashboard.boolean
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
-
AddGadgetOperationSpec
Constructs a validated instance ofAddGadgetOperationSpec
.- Parameters:
spec
- the specification to process
-
AddGadgetOperationSpec
@Internal public AddGadgetOperationSpec(Long dashboardId, DashboardGadgetSettings dashboardGadgetSettings) Constructs a validated instance ofAddGadgetOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
dashboardId
- The ID of the dashboard.dashboardGadgetSettings
-
-
AddGadgetOperationSpec
protected AddGadgetOperationSpec()
-
-
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. -
dashboardGadgetSettings
-
dashboardId
The ID of the dashboard.- Returns:
this
.
-
dashboardGadgetSettings
public AddGadgetOperationSpec dashboardGadgetSettings(@NotNull @NotNull DashboardGadgetSettings dashboardGadgetSettings) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-