Class ListOpsItemsResponseInner

java.lang.Object
ai.shipeasy.admin.model.ListOpsItemsResponseInner

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.23.0") public class ListOpsItemsResponseInner extends Object
One queue item — any type.
  • Field Details

  • Constructor Details

    • ListOpsItemsResponseInner

      public ListOpsItemsResponseInner()
  • Method Details

    • id

      public ListOpsItemsResponseInner id(@Nonnull String id)
    • getId

      @Nonnull public String getId()
      Stable opaque item id.
      Returns:
      id
    • setId

      public void setId(@Nonnull String id)
    • number

      public ListOpsItemsResponseInner number(@Nullable BigDecimal number)
    • getNumber

      @Nullable public BigDecimal getNumber()
      Per-project item number (the `#7` handle), or `null` if unnumbered.
      Returns:
      number
    • setNumber

      public void setNumber(@Nullable BigDecimal number)
    • type

    • getType

      @Nonnull public ListOpsItemsResponseInner.TypeEnum getType()
      Queue item type. `bug` and `feature_request` are user-fileable; `error`, `alert`, and `measure_plan` tickets are auto-filed by the platform (a tracked production error, a metric-threshold alert, and an assistant-proposed measurement plan respectively).
      Returns:
      type
    • setType

      public void setType(@Nonnull ListOpsItemsResponseInner.TypeEnum type)
    • title

      public ListOpsItemsResponseInner title(@Nonnull String title)
    • getTitle

      @Nonnull public String getTitle()
      One-line item title.
      Returns:
      title
    • setTitle

      public void setTitle(@Nonnull String title)
    • status

      public ListOpsItemsResponseInner status(@Nonnull OpsItemStatus status)
    • getStatus

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

      public void setStatus(@Nonnull OpsItemStatus status)
    • priority

      public ListOpsItemsResponseInner priority(@Nullable OpsItemPriority priority)
    • getPriority

      @Nullable public OpsItemPriority getPriority()
      Triage priority, or `null` if not yet set.
      Returns:
      priority
    • setPriority

      public void setPriority(@Nullable OpsItemPriority priority)
    • sourceRef

      public ListOpsItemsResponseInner sourceRef(@Nullable String sourceRef)
    • getSourceRef

      @Nullable public String getSourceRef()
      Source reference for auto-filed tickets (e.g. an error fingerprint).
      Returns:
      sourceRef
    • setSourceRef

      public void setSourceRef(@Nullable String sourceRef)
    • createdAt

      public ListOpsItemsResponseInner createdAt(@Nonnull String createdAt)
    • getCreatedAt

      @Nonnull public String getCreatedAt()
      ISO-8601 creation timestamp.
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt(@Nonnull String createdAt)
    • putAdditionalProperty

      public ListOpsItemsResponseInner putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the ListOpsItemsResponseInner instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 ListOpsItemsResponseInner
    • fromJson

      public static ListOpsItemsResponseInner fromJson(String jsonString) throws IOException
      Create an instance of ListOpsItemsResponseInner given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of ListOpsItemsResponseInner
      Throws:
      IOException - if the JSON string is invalid with respect to ListOpsItemsResponseInner
    • toJson

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