Class Milestone
java.lang.Object
build.cursed.genapi.forgejo.model.Milestone
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-09-28T10:48:29.723777+02:00[Europe/Stockholm]",
comments="Generator version: 7.21.0")
public class Milestone
extends Object
Milestone milestone is a collection of issues on one repository
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclosedAt(OffsetDateTime closedAt) closedIssues(Long closedIssues) createdAt(OffsetDateTime createdAt) description(String description) dueOn(OffsetDateTime dueOn) booleanstatic MilestoneCreate an instance of Milestone given an JSON stringGet closedAtGet closedIssuesGet createdAtGet descriptiongetDueOn()Get dueOngetId()Get idGet openIssuesgetState()StateType issue state typegetTitle()Get titleGet updatedAtinthashCode()openIssues(Long openIssues) voidsetClosedAt(OffsetDateTime closedAt) voidsetClosedIssues(Long closedIssues) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDescription(String description) voidsetDueOn(OffsetDateTime dueOn) voidvoidsetOpenIssues(Long openIssues) voidvoidvoidsetUpdatedAt(OffsetDateTime updatedAt) toJson()Convert an instance of Milestone to an JSON stringtoString()updatedAt(OffsetDateTime updatedAt) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CLOSED_AT
- See Also:
-
SERIALIZED_NAME_CLOSED_ISSUES
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_DUE_ON
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OPEN_ISSUES
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_UPDATED_AT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Milestone
public Milestone()
-
-
Method Details
-
closedAt
-
getClosedAt
Get closedAt- Returns:
- closedAt
-
setClosedAt
-
closedIssues
-
getClosedIssues
Get closedIssues- Returns:
- closedIssues
-
setClosedIssues
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
description
-
getDescription
Get description- Returns:
- description
-
setDescription
-
dueOn
-
getDueOn
Get dueOn- Returns:
- dueOn
-
setDueOn
-
id
-
getId
Get id- Returns:
- id
-
setId
-
openIssues
-
getOpenIssues
Get openIssues- Returns:
- openIssues
-
setOpenIssues
-
state
-
getState
StateType issue state type- Returns:
- state
-
setState
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
updatedAt
-
getUpdatedAt
Get updatedAt- Returns:
- updatedAt
-
setUpdatedAt
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to Milestone
-
fromJson
Create an instance of Milestone given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of Milestone
- Throws:
IOException- if the JSON string is invalid with respect to Milestone
-
toJson
Convert an instance of Milestone to an JSON string- Returns:
- JSON string
-