Class DoneEvent

java.lang.Object
com.azure.core.util.ExpandableStringEnum<DoneEvent>
com.azure.ai.openai.assistants.models.DoneEvent
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class DoneEvent extends com.azure.core.util.ExpandableStringEnum<DoneEvent>
Terminal event indicating the successful end of a stream.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final DoneEvent
    Event sent when the stream is done.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static DoneEvent
    Creates or finds a DoneEvent from its string representation.
    Gets known DoneEvent values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • DONE

      public static final DoneEvent DONE
      Event sent when the stream is done.
  • Constructor Details

  • Method Details

    • fromString

      public static DoneEvent fromString(String name)
      Creates or finds a DoneEvent from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding DoneEvent.
    • values

      public static Collection<DoneEvent> values()
      Gets known DoneEvent values.
      Returns:
      known DoneEvent values.