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 Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
SetDashboardItemPropertyOperationSpec
(String dashboardId, String itemId, String propertyKey, Object body) Constructs a validated instance ofSetDashboardItemPropertyOperationSpec
.Constructs a validated instance ofSetDashboardItemPropertyOperationSpec
. -
Method Summary
Modifier and TypeMethodDescription@NotNull Object
body()
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 String
The ID of the dashboard.dashboardId
(@NotNull String dashboardId) The ID of the dashboard.boolean
int
hashCode()
@NotNull String
itemId()
The ID of the dashboard item.The ID of the dashboard item.@NotNull String
The key of the dashboard item property.propertyKey
(@NotNull String propertyKey) The key of the dashboard item property.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
-
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
-