Class GetDefaultValuesOperationSpec

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

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

Specification for the GetDefaultValues operation.

Get custom field contexts default values

  • Field Details

    • VALIDATION_ENABLED

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

    • GetDefaultValuesOperationSpec

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

      @Internal public GetDefaultValuesOperationSpec(String fieldId, Set<Long> contextId, Long startAt, Integer maxResults)
      Constructs a validated instance of GetDefaultValuesOperationSpec.

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

      Parameters:
      fieldId - The ID of the custom field, for example customfield\\_10000.
      contextId - The IDs of the contexts.
      startAt - The index of the first item to return in a page of results (page offset).
      maxResults - The maximum number of items to return per page.
    • GetDefaultValuesOperationSpec

      protected GetDefaultValuesOperationSpec()
  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      NullPointerException
    • builder

    • fieldId

      @NotNull public @NotNull String fieldId()
      The ID of the custom field, for example customfield\\_10000.
    • contextId

      @Nullable public @Nullable Set<Long> contextId()
      The IDs of the contexts.
    • startAt

      @Nullable public @Nullable Long startAt()
      The index of the first item to return in a page of results (page offset).
    • maxResults

      @Nullable public @Nullable Integer maxResults()
      The maximum number of items to return per page.
    • fieldId

      public GetDefaultValuesOperationSpec fieldId(@NotNull @NotNull String fieldId)
      The ID of the custom field, for example customfield\\_10000.
      Returns:
      this.
    • contextId

      public GetDefaultValuesOperationSpec contextId(@Nullable @Nullable Set<Long> contextId)
      The IDs of the contexts.
      Returns:
      this.
    • startAt

      public GetDefaultValuesOperationSpec startAt(@Nullable @Nullable Long startAt)
      The index of the first item to return in a page of results (page offset).
      Returns:
      this.
    • maxResults

      public GetDefaultValuesOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of items to return per page.
      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