Klasse GetAllGadgetsOperationSpec

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

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

Specification for the GetAllGadgets operation.

Get gadgets

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetAllGadgetsOperationSpec

      @Internal public GetAllGadgetsOperationSpec(Consumer<GetAllGadgetsOperationSpec> spec)
      Constructs a validated instance of GetAllGadgetsOperationSpec.
      Parameter:
      spec - the specification to process
    • GetAllGadgetsOperationSpec

      @Internal public GetAllGadgetsOperationSpec(Long dashboardId, List<String> moduleKey, List<String> uri, List<Long> gadgetId)
      Constructs a validated instance of GetAllGadgetsOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameter:
      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&amp;moduleKey=key:two.
      uri - The list of gadgets URIs. To include multiple URIs, separate URIs with ampersand: uri=/rest/example/uri/1&amp;uri=/rest/example/uri/2.
      gadgetId - The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand: gadgetId=10000&amp;gadgetId=10001.
    • GetAllGadgetsOperationSpec

      protected GetAllGadgetsOperationSpec()
  • 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 Long dashboardId()
      The ID of the dashboard.
    • moduleKey

      @Nullable public @Nullable List<String> moduleKey()
      The list of gadgets module keys. To include multiple module keys, separate module keys with ampersand: moduleKey=key:one&amp;moduleKey=key:two.
    • uri

      @Nullable public @Nullable List<String> uri()
      The list of gadgets URIs. To include multiple URIs, separate URIs with ampersand: uri=/rest/example/uri/1&amp;uri=/rest/example/uri/2.
    • gadgetId

      @Nullable public @Nullable List<Long> gadgetId()
      The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand: gadgetId=10000&amp;gadgetId=10001.
    • dashboardId

      public GetAllGadgetsOperationSpec dashboardId(@NotNull @NotNull Long dashboardId)
      The ID of the dashboard.
      Gibt zurück:
      this.
    • moduleKey

      public GetAllGadgetsOperationSpec moduleKey(@Nullable @Nullable List<String> moduleKey)
      The list of gadgets module keys. To include multiple module keys, separate module keys with ampersand: moduleKey=key:one&amp;moduleKey=key:two.
      Gibt zurück:
      this.
    • uri

      public GetAllGadgetsOperationSpec uri(@Nullable @Nullable List<String> uri)
      The list of gadgets URIs. To include multiple URIs, separate URIs with ampersand: uri=/rest/example/uri/1&amp;uri=/rest/example/uri/2.
      Gibt zurück:
      this.
    • gadgetId

      public GetAllGadgetsOperationSpec gadgetId(@Nullable @Nullable List<Long> gadgetId)
      The list of gadgets IDs. To include multiple IDs, separate IDs with ampersand: gadgetId=10000&amp;gadgetId=10001.
      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