Class PageBeanWorkflow

java.lang.Object
io.github.primelib.jira4j.restv2.model.PageBeanWorkflow

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class PageBeanWorkflow extends Object
PageBeanWorkflow
  • Field Details

    • isLast

      protected Boolean isLast
      Whether this is the last page.
    • maxResults

      protected Integer maxResults
      The maximum number of items that could be returned.
    • nextPage

      protected URI nextPage
      If there is another page of results, the URL of the next page.
    • self

      protected URI self
      The URL of the page.
    • startAt

      protected Long startAt
      The index of the first item returned.
    • total

      protected Long total
      The number of items returned.
    • values

      protected List<Workflow> values
      The list of items.
  • Constructor Details

    • PageBeanWorkflow

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

      @Internal public PageBeanWorkflow(Boolean isLast, Integer maxResults, URI nextPage, URI self, Long startAt, Long total, List<Workflow> values)
      Constructs a validated instance of PageBeanWorkflow.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using PageBeanWorkflow(Consumer) instead.

      Parameters:
      isLast - Whether this is the last page.
      maxResults - The maximum number of items that could be returned.
      nextPage - If there is another page of results, the URL of the next page.
      self - The URL of the page.
      startAt - The index of the first item returned.
      total - The number of items returned.
      values - The list of items.
    • PageBeanWorkflow

      protected PageBeanWorkflow()
  • Method Details

    • builder

    • isLast

      public Boolean isLast()
      Whether this is the last page.
    • maxResults

      public Integer maxResults()
      The maximum number of items that could be returned.
    • nextPage

      public URI nextPage()
      If there is another page of results, the URL of the next page.
    • self

      public URI self()
      The URL of the page.
    • startAt

      public Long startAt()
      The index of the first item returned.
    • total

      public Long total()
      The number of items returned.
    • values

      public List<Workflow> values()
      The list of items.
    • isLast

      public PageBeanWorkflow isLast(Boolean isLast)
      Whether this is the last page.
      Returns:
      this.
    • maxResults

      public PageBeanWorkflow maxResults(Integer maxResults)
      The maximum number of items that could be returned.
      Returns:
      this.
    • nextPage

      public PageBeanWorkflow nextPage(URI nextPage)
      If there is another page of results, the URL of the next page.
      Returns:
      this.
    • self

      public PageBeanWorkflow self(URI self)
      The URL of the page.
      Returns:
      this.
    • startAt

      public PageBeanWorkflow startAt(Long startAt)
      The index of the first item returned.
      Returns:
      this.
    • total

      public PageBeanWorkflow total(Long total)
      The number of items returned.
      Returns:
      this.
    • values

      public PageBeanWorkflow values(List<Workflow> values)
      The list of items.
      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