Class SetDashboardItemPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SetDashboardItemPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SetDashboardItemPropertyOperationSpec
extends Object
SetDashboardItemPropertySpec
Specification for the SetDashboardItemProperty operation.
Set dashboard item property
-
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
ConstructorsModifierConstructorDescriptionprotectedSetDashboardItemPropertyOperationSpec(String dashboardId, String itemId, String propertyKey, Object body) Constructs a validated instance ofSetDashboardItemPropertyOperationSpec.Constructs a validated instance ofSetDashboardItemPropertyOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@NotNull Objectbody()The request containing the value of the dashboard item's property.The request containing the value of the dashboard item's property.builder()protected boolean@NotNull StringThe ID of the dashboard.dashboardId(@NotNull String dashboardId) The ID of the dashboard.booleaninthashCode()@NotNull StringitemId()The ID of the dashboard item.The ID of the dashboard item.@NotNull StringThe key of the dashboard item property.propertyKey(@NotNull String propertyKey) The key of the dashboard item property.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
-
SetDashboardItemPropertyOperationSpec
@Internal public SetDashboardItemPropertyOperationSpec(Consumer<SetDashboardItemPropertyOperationSpec> spec) Constructs a validated instance ofSetDashboardItemPropertyOperationSpec.- Parameters:
spec- the specification to process
-
SetDashboardItemPropertyOperationSpec
@Internal public SetDashboardItemPropertyOperationSpec(String dashboardId, String itemId, String propertyKey, Object body) Constructs a validated instance ofSetDashboardItemPropertyOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
dashboardId- The ID of the dashboard.itemId- The ID of the dashboard item.propertyKey- The key of the dashboard item property. The maximum length is 255 characters. For dashboard items with a spec URI and no complete module key, if the provided propertyKey is equal to "config", the request body's JSON must be an object with all keys and values as strings.body- The request containing the value of the dashboard item's property.
-
SetDashboardItemPropertyOperationSpec
protected SetDashboardItemPropertyOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static SetDashboardItemPropertyOperationSpec.SetDashboardItemPropertyOperationSpecBuilder builder() -
dashboardId
The ID of the dashboard. -
itemId
The ID of the dashboard item. -
propertyKey
The key of the dashboard item property. The maximum length is 255 characters. For dashboard items with a spec URI and no complete module key, if the provided propertyKey is equal to "config", the request body's JSON must be an object with all keys and values as strings. -
body
The request containing the value of the dashboard item's property. -
dashboardId
The ID of the dashboard.- Returns:
this.
-
itemId
The ID of the dashboard item.- Returns:
this.
-
propertyKey
The key of the dashboard item property. The maximum length is 255 characters. For dashboard items with a spec URI and no complete module key, if the provided propertyKey is equal to "config", the request body's JSON must be an object with all keys and values as strings.- Returns:
this.
-
body
The request containing the value of the dashboard item's property.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-