Package ai.shipeasy.admin.model
Class CreateFeatureRequestRequest
java.lang.Object
ai.shipeasy.admin.model.CreateFeatureRequestRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateFeatureRequestRequest
extends Object
Feature-request-kind fields for `POST /api/admin/ops` (sent with `type: feature_request`).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumDiscriminator — files a feature request. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanstatic CreateFeatureRequestRequestCreate an instance of CreateFeatureRequestRequest given an JSON stringArbitrary capture context, or `null`.What the feature is.Where this request's completion notification lands.URL of the page the request relates to, or `null`.Initial triage priority, or `null`.Email of the reporter, or `null`.getTitle()One-line feature-request title (no leading/trailing whitespace).getType()Discriminator — files a feature request.Why it's needed / the use case.Reporter's user-agent string, or `null`.inthashCode()notify(NotificationTarget notify) priority(OpsItemPriority priority) putContextItem(String key, Object contextItem) reporterEmail(String reporterEmail) voidsetContext(Map<String, Object> context) voidsetDescription(String description) voidsetNotify(NotificationTarget notify) voidsetPageUrl(URI pageUrl) voidsetPriority(OpsItemPriority priority) voidsetReporterEmail(String reporterEmail) voidvoidvoidsetUseCase(String useCase) voidsetUserAgent(String userAgent) toJson()Convert an instance of CreateFeatureRequestRequest 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_TYPE
- See Also:
-
SERIALIZED_NAME_TITLE
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_USE_CASE
- See Also:
-
SERIALIZED_NAME_PRIORITY
- See Also:
-
SERIALIZED_NAME_REPORTER_EMAIL
- See Also:
-
SERIALIZED_NAME_PAGE_URL
- See Also:
-
SERIALIZED_NAME_USER_AGENT
- See Also:
-
SERIALIZED_NAME_CONTEXT
- See Also:
-
SERIALIZED_NAME_NOTIFY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateFeatureRequestRequest
public CreateFeatureRequestRequest()
-
-
Method Details
-
type
-
getType
Discriminator — files a feature request.- Returns:
- type
-
setType
-
title
-
getTitle
One-line feature-request title (no leading/trailing whitespace).- Returns:
- title
-
setTitle
-
description
-
getDescription
What the feature is.- Returns:
- description
-
setDescription
-
useCase
-
getUseCase
Why it's needed / the use case.- Returns:
- useCase
-
setUseCase
-
priority
-
getPriority
Initial triage priority, or `null`.- Returns:
- priority
-
setPriority
-
reporterEmail
-
getReporterEmail
Email of the reporter, or `null`.- Returns:
- reporterEmail
-
setReporterEmail
-
pageUrl
-
getPageUrl
URL of the page the request relates to, or `null`.- Returns:
- pageUrl
-
setPageUrl
-
userAgent
-
getUserAgent
Reporter's user-agent string, or `null`.- Returns:
- userAgent
-
setUserAgent
-
context
-
putContextItem
-
getContext
Arbitrary capture context, or `null`.- Returns:
- context
-
setContext
-
notify
-
getNotify
Where this request's completion notification lands.- 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 CreateFeatureRequestRequest
-
fromJson
Create an instance of CreateFeatureRequestRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateFeatureRequestRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateFeatureRequestRequest
-
toJson
Convert an instance of CreateFeatureRequestRequest to an JSON string- Returns:
- JSON string
-