RealtimeResponseCancelEvent class
Client → server event to cancel an in-progress assistant Response.
The server will reply with response.done
with a status of cancelled
.
- Inheritance
-
- Object
- RealtimeEvent
- RealtimeResponseCancelEvent
Constructors
- RealtimeResponseCancelEvent.new({String? eventId, String? responseId})
-
RealtimeResponseCancelEvent.fromJson(Map<
String, dynamic> j) -
factory
Properties
- eventId → String?
-
Optional client-generated correlation ID.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- responseId → String?
-
ID of a specific response to cancel. If omitted, the server cancels the
default in-progress response for the conversation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited