Klasse SearchOperationSpec

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

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

Specification for the Search operation.

Search statuses paginated

  • Felddetails

    • VALIDATION_ENABLED

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

    • SearchOperationSpec

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

      @Internal public SearchOperationSpec(String expand, String projectId, Long startAt, Integer maxResults, String searchString, String statusCategory)
      Constructs a validated instance of SearchOperationSpec.

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

      Parameter:
      expand - Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * usages Returns the project and issue types that use the status in their workflow. * workflowUsages Returns the workflows that use the status.
      projectId - The project the status is part of or null for global statuses.
      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.
      searchString - Term to match status names against or null to search for all statuses in the search scope.
      statusCategory - Category of the status to filter by. The supported values are: TODO, IN_PROGRESS, and DONE.
    • SearchOperationSpec

      protected SearchOperationSpec()
  • Methodendetails

    • validate

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

    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * usages Returns the project and issue types that use the status in their workflow. * workflowUsages Returns the workflows that use the status.
    • projectId

      @Nullable public @Nullable String projectId()
      The project the status is part of or null for global statuses.
    • 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.
    • searchString

      @Nullable public @Nullable String searchString()
      Term to match status names against or null to search for all statuses in the search scope.
    • statusCategory

      @Nullable public @Nullable String statusCategory()
      Category of the status to filter by. The supported values are: TODO, IN_PROGRESS, and DONE.
    • expand

      public SearchOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: * usages Returns the project and issue types that use the status in their workflow. * workflowUsages Returns the workflows that use the status.
      Gibt zurück:
      this.
    • projectId

      public SearchOperationSpec projectId(@Nullable @Nullable String projectId)
      The project the status is part of or null for global statuses.
      Gibt zurück:
      this.
    • startAt

      public SearchOperationSpec startAt(@Nullable @Nullable Long startAt)
      The index of the first item to return in a page of results (page offset).
      Gibt zurück:
      this.
    • maxResults

      public SearchOperationSpec maxResults(@Nullable @Nullable Integer maxResults)
      The maximum number of items to return per page.
      Gibt zurück:
      this.
    • searchString

      public SearchOperationSpec searchString(@Nullable @Nullable String searchString)
      Term to match status names against or null to search for all statuses in the search scope.
      Gibt zurück:
      this.
    • statusCategory

      public SearchOperationSpec statusCategory(@Nullable @Nullable String statusCategory)
      Category of the status to filter by. The supported values are: TODO, IN_PROGRESS, and DONE.
      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