Class PageBeanProject

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

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class PageBeanProject extends Object
PageBeanProject
  • 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<Project> values
      The list of items.
  • Constructor Details

    • PageBeanProject

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

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

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using PageBeanProject(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.
    • PageBeanProject

      protected PageBeanProject()
  • Method Details

    • builder

      public static PageBeanProject.PageBeanProjectBuilder 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<Project> values()
      The list of items.
    • isLast

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

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

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

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

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

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

      public PageBeanProject values(List<Project> 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