Class GetAllGadgetsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetAllGadgetsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetAllGadgetsOperationSpec
extends Object
GetAllGadgetsSpec
Specification for the GetAllGadgets operation.
Get gadgets
-
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
ConstructorsModifierConstructorDescriptionprotectedGetAllGadgetsOperationSpec(Long dashboardId, List<String> moduleKey, List<String> uri, List<Long> gadgetId) Constructs a validated instance ofGetAllGadgetsOperationSpec.Constructs a validated instance ofGetAllGadgetsOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull LongThe ID of the dashboard.dashboardId(@NotNull Long dashboardId) The ID of the dashboard.booleangadgetId()The list of gadgets IDs.The list of gadgets IDs.inthashCode()The list of gadgets module keys.The list of gadgets module keys.toString()uri()The list of gadgets URIs.The list of gadgets URIs.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
-
GetAllGadgetsOperationSpec
Constructs a validated instance ofGetAllGadgetsOperationSpec.- Parameters:
spec- the specification to process
-
GetAllGadgetsOperationSpec
@Internal public GetAllGadgetsOperationSpec(Long dashboardId, List<String> moduleKey, List<String> uri, List<Long> gadgetId) Constructs a validated instance ofGetAllGadgetsOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
dashboardId- The ID of the dashboard.moduleKey- The list of gadgets module keys. To include multiple module keys, separate module keys with ampersand:moduleKey=key:one&moduleKey=key:two.uri- The list of gadgets URIs. To include multiple URIs, separate URIs with ampersand:uri=/rest/example/uri/1&uri=/rest/example/uri/2.gadgetId- The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand:gadgetId=10000&gadgetId=10001.
-
GetAllGadgetsOperationSpec
protected GetAllGadgetsOperationSpec()
-
-
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. -
moduleKey
The list of gadgets module keys. To include multiple module keys, separate module keys with ampersand:moduleKey=key:one&moduleKey=key:two. -
uri
The list of gadgets URIs. To include multiple URIs, separate URIs with ampersand:uri=/rest/example/uri/1&uri=/rest/example/uri/2. -
gadgetId
The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand:gadgetId=10000&gadgetId=10001. -
dashboardId
The ID of the dashboard.- Returns:
this.
-
moduleKey
The list of gadgets module keys. To include multiple module keys, separate module keys with ampersand:moduleKey=key:one&moduleKey=key:two.- Returns:
this.
-
uri
The list of gadgets URIs. To include multiple URIs, separate URIs with ampersand:uri=/rest/example/uri/1&uri=/rest/example/uri/2.- Returns:
this.
-
gadgetId
The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand:gadgetId=10000&gadgetId=10001.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-