Package ai.shipeasy.admin.model
Class UpdateBugRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateBugRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateBugRequest
extends Object
Content + triage update for a `bug` item (`PATCH /api/admin/ops/{handle}` when the item is a bug).
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactualResult(String actualResult) booleanexpectedResult(String expectedResult) static UpdateBugRequestCreate an instance of UpdateBugRequest given an JSON stringUpdated actual result.Updated expected result.Link (or, when `null`, unlink) a GitHub pull request to this bug.Get notifyGet priorityGet statusUpdated reproduction steps.getTitle()New bug title (no leading/trailing whitespace).githubPrNumber(Integer githubPrNumber) inthashCode()notify(OpsItemNotifyOrNull notify) priority(OpsItemPriorityOrNull priority) voidsetActualResult(String actualResult) voidsetExpectedResult(String expectedResult) voidsetGithubPrNumber(Integer githubPrNumber) voidsetNotify(OpsItemNotifyOrNull notify) voidsetPriority(OpsItemPriorityOrNull priority) voidsetStatus(OpsItemStatus status) voidsetStepsToReproduce(String stepsToReproduce) voidstatus(OpsItemStatus status) stepsToReproduce(String stepsToReproduce) toJson()Convert an instance of UpdateBugRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_STEPS_TO_REPRODUCE
- See Also:
-
SERIALIZED_NAME_ACTUAL_RESULT
- See Also:
-
SERIALIZED_NAME_EXPECTED_RESULT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_PRIORITY
- See Also:
-
SERIALIZED_NAME_GITHUB_PR_NUMBER
- See Also:
-
SERIALIZED_NAME_NOTIFY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateBugRequest
public UpdateBugRequest()
-
-
Method Details
-
title
-
getTitle
New bug title (no leading/trailing whitespace).- Returns:
- title
-
setTitle
-
stepsToReproduce
-
getStepsToReproduce
Updated reproduction steps.- Returns:
- stepsToReproduce
-
setStepsToReproduce
-
actualResult
-
getActualResult
Updated actual result.- Returns:
- actualResult
-
setActualResult
-
expectedResult
-
getExpectedResult
Updated expected result.- Returns:
- expectedResult
-
setExpectedResult
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
priority
-
getPriority
Get priority- Returns:
- priority
-
setPriority
-
githubPrNumber
-
getGithubPrNumber
Link (or, when `null`, unlink) a GitHub pull request to this bug. minimum: 1- Returns:
- githubPrNumber
-
setGithubPrNumber
-
notify
-
getNotify
Get notify- Returns:
- notify
-
setNotify
-
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 UpdateBugRequest
-
fromJson
Create an instance of UpdateBugRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateBugRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateBugRequest
-
toJson
Convert an instance of UpdateBugRequest to an JSON string- Returns:
- JSON string
-