Class AddGadgetOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAddGadgetOperationSpec(Long dashboardId, DashboardGadgetSettings dashboardGadgetSettings) Constructs a validated instance ofAddGadgetOperationSpec.Constructs a validated instance ofAddGadgetOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull DashboardGadgetSettingsdashboardGadgetSettings(@NotNull DashboardGadgetSettings dashboardGadgetSettings) @NotNull LongThe ID of the dashboard.dashboardId(@NotNull Long dashboardId) The ID of the dashboard.booleaninthashCode()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
-
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
-