Class SseEventToolCallProgressData

java.lang.Object
ai.reveng.model.SseEventToolCallProgressData

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SseEventToolCallProgressData extends Object
SseEventToolCallProgressData
  • Field Details

  • Constructor Details

    • SseEventToolCallProgressData

      public SseEventToolCallProgressData()
  • Method Details

    • data

      public SseEventToolCallProgressData data(@Nullable Object data)
    • getData

      @Nullable public Object getData()
      Get data
      Returns:
      data
    • setData

      public void setData(@Nullable Object data)
    • eventId

      public SseEventToolCallProgressData eventId(@Nonnull Long eventId)
    • getEventId

      @Nonnull public Long getEventId()
      Get eventId
      Returns:
      eventId
    • setEventId

      public void setEventId(@Nonnull Long eventId)
    • sourceRunId

      public SseEventToolCallProgressData sourceRunId(@Nullable String sourceRunId)
    • getSourceRunId

      @Nullable public String getSourceRunId()
      Get sourceRunId
      Returns:
      sourceRunId
    • setSourceRunId

      public void setSourceRunId(@Nullable String sourceRunId)
    • type

      public SseEventToolCallProgressData type(@Nonnull String type)
    • getType

      @Nonnull public String getType()
      Get type
      Returns:
      type
    • setType

      public void setType(@Nonnull String type)
    • 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 SseEventToolCallProgressData
    • fromJson

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

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