Class PaginatedSnippets

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

@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 PaginatedSnippets extends Object
A paginated list of snippets.
  • Constructor Details

    • PaginatedSnippets

      public PaginatedSnippets()
  • Method Details

    • size

      public PaginatedSnippets 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 PaginatedSnippets values(Set<Snippet> values)
    • getValues

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

      public void setValues(Set<Snippet> values)
    • addValuesItem

      public PaginatedSnippets addValuesItem(Snippet valuesItem)
    • removeValuesItem

      public PaginatedSnippets removeValuesItem(Snippet valuesItem)
    • pagelen

      public PaginatedSnippets 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 PaginatedSnippets 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)
    • page

      public PaginatedSnippets 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)
    • previous

      public PaginatedSnippets 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)
    • 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