Class PaginatedMilestones

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

@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 PaginatedMilestones extends Object
A paginated list of issue tracker milestones.
  • Constructor Details

    • PaginatedMilestones

      public PaginatedMilestones()
  • Method Details

    • values

      public PaginatedMilestones values(Set<Milestone> values)
    • getValues

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

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

      public PaginatedMilestones addValuesItem(Milestone valuesItem)
    • removeValuesItem

      public PaginatedMilestones removeValuesItem(Milestone valuesItem)
    • size

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

      public PaginatedMilestones 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 PaginatedMilestones 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)
    • next

      public PaginatedMilestones 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)
    • pagelen

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