Class GetTrashedFieldsPaginatedOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetTrashedFieldsPaginatedOperationSpec

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

Specification for the GetTrashedFieldsPaginated operation.

Get fields in trash paginated

  • Field Details

    • VALIDATION_ENABLED

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

    • GetTrashedFieldsPaginatedOperationSpec

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

      @Internal public GetTrashedFieldsPaginatedOperationSpec(Long startAt, Integer maxResults, Set<String> id, String query, String expand, String orderBy)
      Constructs a validated instance of GetTrashedFieldsPaginatedOperationSpec.

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

      Parameters:
      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.
      id -
      query - String used to perform a case-insensitive partial match with field names or descriptions.
      expand -
      orderBy - [Order](#ordering) the results by a field: * name sorts by the field name * trashDate sorts by the date the field was moved to the trash * plannedDeletionDate sorts by the planned deletion date
    • GetTrashedFieldsPaginatedOperationSpec

      protected GetTrashedFieldsPaginatedOperationSpec()
  • Method Details

    • validate

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

    • 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.
    • id

      @Nullable public @Nullable Set<String> id()
    • query

      @Nullable public @Nullable String query()
      String used to perform a case-insensitive partial match with field names or descriptions.
    • expand

      @Nullable public @Nullable String expand()
    • orderBy

      @Nullable public @Nullable String orderBy()
      [Order](#ordering) the results by a field: * name sorts by the field name * trashDate sorts by the date the field was moved to the trash * plannedDeletionDate sorts by the planned deletion date
    • startAt

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

      public GetTrashedFieldsPaginatedOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of items to return per page.
      Returns:
      this.
    • id

      public GetTrashedFieldsPaginatedOperationSpec id(@Nullable @Nullable Set<String> id)
      Returns:
      this.
    • query

      public GetTrashedFieldsPaginatedOperationSpec query(@Nullable @Nullable String query)
      String used to perform a case-insensitive partial match with field names or descriptions.
      Returns:
      this.
    • expand

      public GetTrashedFieldsPaginatedOperationSpec expand(@Nullable @Nullable String expand)
      Returns:
      this.
    • orderBy

      public GetTrashedFieldsPaginatedOperationSpec orderBy(@Nullable @Nullable String orderBy)
      [Order](#ordering) the results by a field: * name sorts by the field name * trashDate sorts by the date the field was moved to the trash * plannedDeletionDate sorts by the planned deletion date
      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