RunStepDetailsMessageCreationObject class abstract

Inheritance

Constructors

RunStepDetailsMessageCreationObject.new({required String type, @JsonKey(name: 'message_creation') required RunStepDetailsMessageCreation messageCreation})
const
factory
RunStepDetailsMessageCreationObject.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$RunStepDetailsMessageCreationObjectImplCopyWith<_$RunStepDetailsMessageCreationObjectImpl>
Create a copy of RunStepDetails with the given fields replaced by the non-null parameter values.
no setter
hashCode int
The hash code for this object.
no setterinherited
messageCreation RunStepDetailsMessageCreation
Details of the message creation by the run step.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Always message_creation.
no setter

Methods

map<TResult extends Object?>({required TResult messageCreation(RunStepDetailsMessageCreationObject value), required TResult toolCalls(RunStepDetailsToolCallsObject value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? messageCreation(RunStepDetailsMessageCreationObject value)?, TResult? toolCalls(RunStepDetailsToolCallsObject value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult messageCreation(RunStepDetailsMessageCreationObject value)?, TResult toolCalls(RunStepDetailsToolCallsObject value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult messageCreation(String type, RunStepDetailsMessageCreation messageCreation)?, TResult toolCalls(String type, List<RunStepDetailsToolCalls> 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 RunStepDetails to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult messageCreation(String type, RunStepDetailsMessageCreation messageCreation), required TResult toolCalls(String type, List<RunStepDetailsToolCalls> toolCalls)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? messageCreation(String type, RunStepDetailsMessageCreation messageCreation)?, TResult? toolCalls(String type, List<RunStepDetailsToolCalls> toolCalls)?}) → TResult?
inherited

Operators

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