Klasse SearchPrioritiesOperationSpec

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

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

Specification for the SearchPriorities operation.

Search priorities

  • Felddetails

    • VALIDATION_ENABLED

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

    • SearchPrioritiesOperationSpec

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

      @Internal public SearchPrioritiesOperationSpec(String startAt, String maxResults, List<String> id, List<String> projectId, String priorityName, Boolean onlyDefault)
      Constructs a validated instance of SearchPrioritiesOperationSpec.

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

      Parameter:
      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 - The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=2&amp;id=3.
      projectId - The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example, projectId=10010&amp;projectId=10111.
      priorityName - The name of priority to search for.
      onlyDefault - Whether only the default priority is returned.
    • SearchPrioritiesOperationSpec

      protected SearchPrioritiesOperationSpec()
  • Methodendetails

    • validate

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

    • startAt

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

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

      @Nullable public @Nullable List<String> id()
      The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=2&amp;id=3.
    • projectId

      @Nullable public @Nullable List<String> projectId()
      The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example, projectId=10010&amp;projectId=10111.
    • priorityName

      @Nullable public @Nullable String priorityName()
      The name of priority to search for.
    • onlyDefault

      @Nullable public @Nullable Boolean onlyDefault()
      Whether only the default priority is returned.
    • startAt

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

      public SearchPrioritiesOperationSpec maxResults(@Nullable @Nullable String maxResults)
      The maximum number of items to return per page.
      Gibt zurück:
      this.
    • id

      public SearchPrioritiesOperationSpec id(@Nullable @Nullable List<String> id)
      The list of priority IDs. To include multiple IDs, provide an ampersand-separated list. For example, id=2&amp;id=3.
      Gibt zurück:
      this.
    • projectId

      public SearchPrioritiesOperationSpec projectId(@Nullable @Nullable List<String> projectId)
      The list of projects IDs. To include multiple IDs, provide an ampersand-separated list. For example, projectId=10010&amp;projectId=10111.
      Gibt zurück:
      this.
    • priorityName

      public SearchPrioritiesOperationSpec priorityName(@Nullable @Nullable String priorityName)
      The name of priority to search for.
      Gibt zurück:
      this.
    • onlyDefault

      public SearchPrioritiesOperationSpec onlyDefault(@Nullable @Nullable Boolean onlyDefault)
      Whether only the default priority is returned.
      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