Klasse SetDashboardItemPropertyOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.SetDashboardItemPropertyOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class SetDashboardItemPropertyOperationSpec extends Object
SetDashboardItemPropertySpec

Specification for the SetDashboardItemProperty operation.

Set dashboard item property

  • Felddetails

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Konstruktordetails

    • SetDashboardItemPropertyOperationSpec

      @Internal public SetDashboardItemPropertyOperationSpec(Consumer<SetDashboardItemPropertyOperationSpec> spec)
      Constructs a validated instance of SetDashboardItemPropertyOperationSpec.
      Parameter:
      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.

      Parameter:
      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 -
    • SetDashboardItemPropertyOperationSpec

      protected SetDashboardItemPropertyOperationSpec()
  • Methodendetails

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Löst aus:
      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()
    • dashboardId

      public SetDashboardItemPropertyOperationSpec dashboardId(@NotNull @NotNull String dashboardId)
      The ID of the dashboard.
      Gibt zurück:
      this.
    • itemId

      public SetDashboardItemPropertyOperationSpec itemId(@NotNull @NotNull String itemId)
      The ID of the dashboard item.
      Gibt zurück:
      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.
      Gibt zurück:
      this.
    • body

      public SetDashboardItemPropertyOperationSpec body(@NotNull @NotNull Object body)
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object