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

  • Constructor Details

    • UpdateBugRequest

      public UpdateBugRequest()
  • Method Details

    • title

      public UpdateBugRequest title(@Nullable String title)
    • getTitle

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

      public void setTitle(@Nullable String title)
    • stepsToReproduce

      public UpdateBugRequest stepsToReproduce(@Nullable String stepsToReproduce)
    • getStepsToReproduce

      @Nullable public String getStepsToReproduce()
      Updated reproduction steps.
      Returns:
      stepsToReproduce
    • setStepsToReproduce

      public void setStepsToReproduce(@Nullable String stepsToReproduce)
    • actualResult

      public UpdateBugRequest actualResult(@Nullable String actualResult)
    • getActualResult

      @Nullable public String getActualResult()
      Updated actual result.
      Returns:
      actualResult
    • setActualResult

      public void setActualResult(@Nullable String actualResult)
    • expectedResult

      public UpdateBugRequest expectedResult(@Nullable String expectedResult)
    • getExpectedResult

      @Nullable public String getExpectedResult()
      Updated expected result.
      Returns:
      expectedResult
    • setExpectedResult

      public void setExpectedResult(@Nullable String expectedResult)
    • status

      public UpdateBugRequest status(@Nullable OpsItemStatus status)
    • getStatus

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

      public void setStatus(@Nullable OpsItemStatus status)
    • priority

      public UpdateBugRequest priority(@Nullable OpsItemPriorityOrNull priority)
    • getPriority

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

      public void setPriority(@Nullable OpsItemPriorityOrNull priority)
    • githubPrNumber

      public UpdateBugRequest githubPrNumber(@Nullable Integer githubPrNumber)
    • getGithubPrNumber

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

      public void setGithubPrNumber(@Nullable Integer githubPrNumber)
    • notify

      public UpdateBugRequest 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 UpdateBugRequest
    • fromJson

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

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