RunStepDeltaStepDetailsToolCallsFileSearchObject class abstract

Inheritance

Constructors

RunStepDeltaStepDetailsToolCallsFileSearchObject({required int index, @JsonKey(includeIfNull: false) String? id, required String type, @JsonKey(name: 'file_search') required Map<String, dynamic> fileSearch})
const
factory
RunStepDeltaStepDetailsToolCallsFileSearchObject.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$RunStepDeltaStepDetailsToolCallsFileSearchObjectImplCopyWith<_$RunStepDeltaStepDetailsToolCallsFileSearchObjectImpl>
Create a copy of RunStepDeltaStepDetailsToolCalls with the given fields replaced by the non-null parameter values.
no setter
fileSearch Map<String, dynamic>
For now, this is always going to be an empty object.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the tool call object.
no setter
index int
The index of the tool call in the tool calls array.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type of tool call. This is always going to be file_search for this type of tool call.
no setter

Methods

map<TResult extends Object?>({required TResult codeInterpreter(RunStepDeltaStepDetailsToolCallsCodeObject value), required TResult fileSearch(RunStepDeltaStepDetailsToolCallsFileSearchObject value), required TResult function(RunStepDeltaStepDetailsToolCallsFunctionObject value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? codeInterpreter(RunStepDeltaStepDetailsToolCallsCodeObject value)?, TResult? fileSearch(RunStepDeltaStepDetailsToolCallsFileSearchObject value)?, TResult? function(RunStepDeltaStepDetailsToolCallsFunctionObject value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult codeInterpreter(RunStepDeltaStepDetailsToolCallsCodeObject value)?, TResult fileSearch(RunStepDeltaStepDetailsToolCallsFileSearchObject value)?, TResult function(RunStepDeltaStepDetailsToolCallsFunctionObject value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult codeInterpreter(int index, String? id, String type, RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? codeInterpreter)?, TResult fileSearch(int index, String? id, String type, Map<String, dynamic> fileSearch)?, TResult function(int index, String? id, String type, RunStepDeltaStepDetailsToolCallsFunction? function)?, 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 RunStepDeltaStepDetailsToolCalls to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult codeInterpreter(int index, String? id, String type, RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? codeInterpreter), required TResult fileSearch(int index, String? id, String type, Map<String, dynamic> fileSearch), required TResult function(int index, String? id, String type, RunStepDeltaStepDetailsToolCallsFunction? function)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? codeInterpreter(int index, String? id, String type, RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter? codeInterpreter)?, TResult? fileSearch(int index, String? id, String type, Map<String, dynamic> fileSearch)?, TResult? function(int index, String? id, String type, RunStepDeltaStepDetailsToolCallsFunction? function)?}) → TResult?
inherited

Operators

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