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

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean 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 of SetDashboardItemPropertyOperationSpec.
      Parameters:
      spec - the specification to process
    • SetDashboardItemPropertyOperationSpec

      @Internal public SetDashboardItemPropertyOperationSpec(String dashboardId, String itemId, String propertyKey, Object body)
      Constructs a validated instance of SetDashboardItemPropertyOperationSpec.

      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

    • dashboardId

      @NotNull public @NotNull String dashboardId()
      The ID of the dashboard.
    • itemId

      @NotNull public @NotNull String itemId()
      The ID of the dashboard item.
    • propertyKey

      @NotNull public @NotNull String 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

      @NotNull public @NotNull Object body()
      The request containing the value of the dashboard item's property.
    • dashboardId

      public SetDashboardItemPropertyOperationSpec dashboardId(@NotNull @NotNull String dashboardId)
      The ID of the dashboard.
      Returns:
      this.
    • itemId

      public SetDashboardItemPropertyOperationSpec itemId(@NotNull @NotNull String itemId)
      The ID of the dashboard item.
      Returns:
      this.
    • propertyKey

      public SetDashboardItemPropertyOperationSpec propertyKey(@NotNull @NotNull String 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

      public SetDashboardItemPropertyOperationSpec body(@NotNull @NotNull Object body)
      The request containing the value of the dashboard item's property.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object