Package ai.shipeasy.admin.model
Class UpdateFeatureRequestRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateFeatureRequestRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateFeatureRequestRequest
extends Object
Content + triage update for a `feature_request` item (`PATCH /api/admin/ops/{handle}` when the item is a feature request).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic UpdateFeatureRequestRequestCreate an instance of UpdateFeatureRequestRequest given an JSON stringUpdated description.Link (or, when `null`, unlink) a GitHub pull request to this request.Get notifyGet priorityGet statusgetTitle()New feature-request title (no leading/trailing whitespace).Updated use case.githubPrNumber(Integer githubPrNumber) inthashCode()notify(OpsItemNotifyOrNull notify) priority(OpsItemPriorityOrNull priority) voidsetDescription(String description) voidsetGithubPrNumber(Integer githubPrNumber) voidsetNotify(OpsItemNotifyOrNull notify) voidsetPriority(OpsItemPriorityOrNull priority) voidsetStatus(OpsItemStatus status) voidvoidsetUseCase(String useCase) status(OpsItemStatus status) toJson()Convert an instance of UpdateFeatureRequestRequest 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_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_USE_CASE
- 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
-
UpdateFeatureRequestRequest
public UpdateFeatureRequestRequest()
-
-
Method Details
-
title
-
getTitle
New feature-request title (no leading/trailing whitespace).- Returns:
- title
-
setTitle
-
description
-
getDescription
Updated description.- Returns:
- description
-
setDescription
-
useCase
-
getUseCase
Updated use case.- Returns:
- useCase
-
setUseCase
-
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 request. 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 UpdateFeatureRequestRequest
-
fromJson
Create an instance of UpdateFeatureRequestRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateFeatureRequestRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateFeatureRequestRequest
-
toJson
Convert an instance of UpdateFeatureRequestRequest to an JSON string- Returns:
- JSON string
-