RunStepDetailsToolCallsFunctionObject class abstract

Inheritance

Constructors

RunStepDetailsToolCallsFunctionObject({required String id, required String type, required RunStepDetailsToolCallsFunction function})
const
factory
RunStepDetailsToolCallsFunctionObject.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$RunStepDetailsToolCallsFunctionObjectImplCopyWith<_$RunStepDetailsToolCallsFunctionObjectImpl>
Create a copy of RunStepDetailsToolCalls with the given fields replaced by the non-null parameter values.
no setter
function RunStepDetailsToolCallsFunction
The definition of the function that was called.
no setter
hashCode int
The hash code for this object.
no setterinherited
id String
The ID of the tool call object.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Always function.
no setter

Methods

map<TResult extends Object?>({required TResult codeInterpreter(RunStepDetailsToolCallsCodeObject value), required TResult fileSearch(RunStepDetailsToolCallsFileSearchObject value), required TResult function(RunStepDetailsToolCallsFunctionObject value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? codeInterpreter(RunStepDetailsToolCallsCodeObject value)?, TResult? fileSearch(RunStepDetailsToolCallsFileSearchObject value)?, TResult? function(RunStepDetailsToolCallsFunctionObject value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult codeInterpreter(RunStepDetailsToolCallsCodeObject value)?, TResult fileSearch(RunStepDetailsToolCallsFileSearchObject value)?, TResult function(RunStepDetailsToolCallsFunctionObject value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult codeInterpreter(String id, String type, RunStepDetailsToolCallsCodeObjectCodeInterpreter codeInterpreter)?, TResult fileSearch(String id, String type, RunStepDetailsToolCallsFileSearch fileSearch)?, TResult function(String id, String type, RunStepDetailsToolCallsFunction 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 RunStepDetailsToolCalls to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult codeInterpreter(String id, String type, RunStepDetailsToolCallsCodeObjectCodeInterpreter codeInterpreter), required TResult fileSearch(String id, String type, RunStepDetailsToolCallsFileSearch fileSearch), required TResult function(String id, String type, RunStepDetailsToolCallsFunction function)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? codeInterpreter(String id, String type, RunStepDetailsToolCallsCodeObjectCodeInterpreter codeInterpreter)?, TResult? fileSearch(String id, String type, RunStepDetailsToolCallsFileSearch fileSearch)?, TResult? function(String id, String type, RunStepDetailsToolCallsFunction function)?}) → TResult?
inherited

Operators

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