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).
  • Field Details

  • Constructor Details

    • UpdateFeatureRequestRequest

      public UpdateFeatureRequestRequest()
  • Method Details

    • title

      public UpdateFeatureRequestRequest title(@Nullable String title)
    • getTitle

      @Nullable public String getTitle()
      New feature-request title (no leading/trailing whitespace).
      Returns:
      title
    • setTitle

      public void setTitle(@Nullable String title)
    • description

      public UpdateFeatureRequestRequest description(@Nullable String description)
    • getDescription

      @Nullable public String getDescription()
      Updated description.
      Returns:
      description
    • setDescription

      public void setDescription(@Nullable String description)
    • useCase

      public UpdateFeatureRequestRequest useCase(@Nullable String useCase)
    • getUseCase

      @Nullable public String getUseCase()
      Updated use case.
      Returns:
      useCase
    • setUseCase

      public void setUseCase(@Nullable String useCase)
    • status

      public UpdateFeatureRequestRequest status(@Nullable OpsItemStatus status)
    • getStatus

      @Nullable public OpsItemStatus getStatus()
      Get status
      Returns:
      status
    • setStatus

      public void setStatus(@Nullable OpsItemStatus status)
    • priority

      public UpdateFeatureRequestRequest priority(@Nullable OpsItemPriorityOrNull priority)
    • getPriority

      @Nullable public OpsItemPriorityOrNull getPriority()
      Get priority
      Returns:
      priority
    • setPriority

      public void setPriority(@Nullable OpsItemPriorityOrNull priority)
    • githubPrNumber

      public UpdateFeatureRequestRequest githubPrNumber(@Nullable Integer githubPrNumber)
    • getGithubPrNumber

      @Nullable public Integer getGithubPrNumber()
      Link (or, when `null`, unlink) a GitHub pull request to this request. minimum: 1
      Returns:
      githubPrNumber
    • setGithubPrNumber

      public void setGithubPrNumber(@Nullable Integer githubPrNumber)
    • notify

      public UpdateFeatureRequestRequest notify(@Nullable OpsItemNotifyOrNull notify)
    • getNotify

      @Nullable public OpsItemNotifyOrNull getNotify()
      Get notify
      Returns:
      notify
    • setNotify

      public void setNotify(@Nullable OpsItemNotifyOrNull notify)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static UpdateFeatureRequestRequest fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of UpdateFeatureRequestRequest to an JSON string
      Returns:
      JSON string