RunStepDeltaStepDetailsToolCallsObject class abstract

Inheritance

Constructors

RunStepDeltaStepDetailsToolCallsObject.new({required String type, @JsonKey(name: 'tool_calls', includeIfNull: false) List<RunStepDeltaStepDetailsToolCalls>? toolCalls})
const
factory
RunStepDeltaStepDetailsToolCallsObject.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$RunStepDeltaStepDetailsToolCallsObjectImplCopyWith<_$RunStepDeltaStepDetailsToolCallsObjectImpl>
Create a copy of RunStepDeltaDetails with the given fields replaced by the non-null parameter values.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toolCalls List<RunStepDeltaStepDetailsToolCalls>?
An array of tool calls the run step was involved in. These can be associated with one of three types of tools: code_interpreter, file_search, or function.
no setter
type String
Always tool_calls.
no setter

Methods

map<TResult extends Object?>({required TResult messageCreation(RunStepDeltaStepDetailsMessageCreationObject value), required TResult toolCalls(RunStepDeltaStepDetailsToolCallsObject value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? messageCreation(RunStepDeltaStepDetailsMessageCreationObject value)?, TResult? toolCalls(RunStepDeltaStepDetailsToolCallsObject value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult messageCreation(RunStepDeltaStepDetailsMessageCreationObject value)?, TResult toolCalls(RunStepDeltaStepDetailsToolCallsObject value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult messageCreation(String type, RunStepDeltaStepDetailsMessageCreation? messageCreation)?, TResult toolCalls(String type, List<RunStepDeltaStepDetailsToolCalls>? toolCalls)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this RunStepDeltaDetails to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult messageCreation(String type, RunStepDeltaStepDetailsMessageCreation? messageCreation), required TResult toolCalls(String type, List<RunStepDeltaStepDetailsToolCalls>? toolCalls)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? messageCreation(String type, RunStepDeltaStepDetailsMessageCreation? messageCreation)?, TResult? toolCalls(String type, List<RunStepDeltaStepDetailsToolCalls>? toolCalls)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited