Class StreamUpdate
java.lang.Object
com.azure.ai.openai.assistants.models.StreamUpdate
- Direct Known Subclasses:
StreamMessageCreation
,StreamMessageUpdate
,StreamRequiredAction
,StreamRunCreation
,StreamRunStepUpdate
,StreamThreadCreation
,StreamThreadRunCreation
Parent class for all stream updates types.
-
Constructor Summary
ConstructorsConstructorDescriptionWe always want to know to whichAssistantStreamEvent
this StreamUpdate is associated, therefore we enforce any deriving class to supply it upon construction of a new instance. -
Method Summary
-
Constructor Details
-
StreamUpdate
We always want to know to whichAssistantStreamEvent
this StreamUpdate is associated, therefore we enforce any deriving class to supply it upon construction of a new instance.- Parameters:
kind
- The kind of stream update.
-
-
Method Details
-
getKind
Returns what kind of StreamUpdate this is. SeeAssistantStreamEvent
for possible values.- Returns:
- the kind of stream update.
-