Class EditPullRequestOption
java.lang.Object
build.cursed.genapi.forgejo.model.EditPullRequestOption
@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 EditPullRequestOption
extends Object
EditPullRequestOption options when modify pull request
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssigneesItem(String assigneesItem) addLabelsItem(Long labelsItem) allowMaintainerEdit(Boolean allowMaintainerEdit) dueDate(OffsetDateTime dueDate) booleanstatic EditPullRequestOptionCreate an instance of EditPullRequestOption given an JSON stringGet allowMaintainerEditGet assigneeGet assigneesgetBase()Get basegetBody()Get bodyGet dueDateGet labelsGet milestonegetState()Get stategetTitle()Get titleGet unsetDueDateinthashCode()voidsetAllowMaintainerEdit(Boolean allowMaintainerEdit) voidsetAssignee(String assignee) voidsetAssignees(List<String> assignees) voidvoidvoidsetDueDate(OffsetDateTime dueDate) voidvoidsetMilestone(Long milestone) voidvoidvoidsetUnsetDueDate(Boolean unsetDueDate) toJson()Convert an instance of EditPullRequestOption to an JSON stringtoString()unsetDueDate(Boolean unsetDueDate) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ALLOW_MAINTAINER_EDIT
- See Also:
-
SERIALIZED_NAME_ASSIGNEE
- See Also:
-
SERIALIZED_NAME_ASSIGNEES
- See Also:
-
SERIALIZED_NAME_BASE
- See Also:
-
SERIALIZED_NAME_BODY
- See Also:
-
SERIALIZED_NAME_DUE_DATE
- See Also:
-
SERIALIZED_NAME_LABELS
- See Also:
-
SERIALIZED_NAME_MILESTONE
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_UNSET_DUE_DATE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
EditPullRequestOption
public EditPullRequestOption()
-
-
Method Details
-
allowMaintainerEdit
-
getAllowMaintainerEdit
Get allowMaintainerEdit- Returns:
- allowMaintainerEdit
-
setAllowMaintainerEdit
-
assignee
-
getAssignee
Get assignee- Returns:
- assignee
-
setAssignee
-
assignees
-
addAssigneesItem
-
getAssignees
Get assignees- Returns:
- assignees
-
setAssignees
-
base
-
getBase
Get base- Returns:
- base
-
setBase
-
body
-
getBody
Get body- Returns:
- body
-
setBody
-
dueDate
-
getDueDate
Get dueDate- Returns:
- dueDate
-
setDueDate
-
labels
-
addLabelsItem
-
getLabels
Get labels- Returns:
- labels
-
setLabels
-
milestone
-
getMilestone
Get milestone- Returns:
- milestone
-
setMilestone
-
state
-
getState
Get state- Returns:
- state
-
setState
-
title
-
getTitle
Get title- Returns:
- title
-
setTitle
-
unsetDueDate
-
getUnsetDueDate
Get unsetDueDate- Returns:
- unsetDueDate
-
setUnsetDueDate
-
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 EditPullRequestOption
-
fromJson
Create an instance of EditPullRequestOption given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of EditPullRequestOption
- Throws:
IOException- if the JSON string is invalid with respect to EditPullRequestOption
-
toJson
Convert an instance of EditPullRequestOption to an JSON string- Returns:
- JSON string
-