Class PaginatedTreeentries

java.lang.Object
se.bjurr.bitbucketcloud.gen.model.PaginatedTreeentries

@Generated(value="org.openapitools.codegen.languages.JavaJAXRSSpecServerCodegen", date="2025-07-17T16:07:08.420911588+02:00[Europe/Stockholm]", comments="Generator version: 7.14.0") public class PaginatedTreeentries extends Object
A paginated list of commit_file and/or commit_directory objects.
  • Constructor Details

    • PaginatedTreeentries

      public PaginatedTreeentries()
  • Method Details

    • size

      public PaginatedTreeentries size(Integer size)
      Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute. minimum: 0
    • getSize

      @Min(0L) public @Min(0L) Integer getSize()
    • setSize

      public void setSize(Integer size)
    • values

      public PaginatedTreeentries values(Set<@Valid Treeentry> values)
    • getValues

      @Valid @Size(min=0) public @Valid @Size(min=0) Set<@Valid Treeentry> getValues()
    • setValues

      public void setValues(Set<@Valid Treeentry> values)
    • addValuesItem

      public PaginatedTreeentries addValuesItem(Treeentry valuesItem)
    • removeValuesItem

      public PaginatedTreeentries removeValuesItem(Treeentry valuesItem)
    • previous

      public PaginatedTreeentries previous(URI previous)
      Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
    • getPrevious

      public URI getPrevious()
    • setPrevious

      public void setPrevious(URI previous)
    • page

      public PaginatedTreeentries page(Integer page)
      Page number of the current results. This is an optional element that is not provided in all responses. minimum: 1
    • getPage

      @Min(1L) public @Min(1L) Integer getPage()
    • setPage

      public void setPage(Integer page)
    • pagelen

      public PaginatedTreeentries pagelen(Integer pagelen)
      Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values. minimum: 1
    • getPagelen

      @Min(1L) public @Min(1L) Integer getPagelen()
    • setPagelen

      public void setPagelen(Integer pagelen)
    • next

      public PaginatedTreeentries next(URI next)
      Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
    • getNext

      public URI getNext()
    • setNext

      public void setNext(URI next)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object