Milestone

com.worxbend.codeberg4s.issues.Milestone
final case class Milestone

A milestone: a named, optionally dated bucket that issues and pull requests are grouped into.

Owned by this group per docs/LEDGER.md and consumed by pull requests, which embed the identical model.

The two counts are the reason a milestone is worth reading at all — a caller renders progress from them — and Forgejo maintains them itself, so they are Long rather than Option[Long]: an absent count is reported as 0, which is the same answer the instance gives for an empty milestone.

Value parameters

closedIssueCount

how many issues in the milestone have been closed

dueOn

the deadline the milestone was given, absent when it has none. Forgejo's due_on, sent as null when unset

id

the instance-wide identifier, and the only way to address a milestone

openIssueCount

how many issues in the milestone are still open

state

open, or closed together with when; see LifecycleState for why closed_at is not a separate field

title

the milestone's name, verbatim. A plain String rather than MilestoneTitle — see MilestoneTitle for why

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product