MessageDeltaContentTextAnnotationsFileCitationObject class abstract

Inheritance

Constructors

MessageDeltaContentTextAnnotationsFileCitationObject({required int index, required String type, @JsonKey(includeIfNull: false) String? text, @JsonKey(name: 'file_citation', includeIfNull: false) MessageDeltaContentTextAnnotationsFileCitation? fileCitation, @JsonKey(name: 'start_index', includeIfNull: false) int? startIndex, @JsonKey(name: 'end_index', includeIfNull: false) int? endIndex})
const
factory
MessageDeltaContentTextAnnotationsFileCitationObject.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$MessageDeltaContentTextAnnotationsFileCitationObjectImplCopyWith<_$MessageDeltaContentTextAnnotationsFileCitationObjectImpl>
Create a copy of MessageDeltaContentTextAnnotations with the given fields replaced by the non-null parameter values.
no setter
endIndex int?
The end index of the text in the message content that needs to be replaced.
no setter
fileCitation MessageDeltaContentTextAnnotationsFileCitation?
A citation within the message that points to a specific quote from a specific File associated with the assistant or the message.
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
The index of the annotation in the text content part.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startIndex int?
The start index of the text in the message content that needs to be replaced.
no setter
text String?
The text in the message content that needs to be replaced.
no setter
type String
Always file_citation.
no setter

Methods

map<TResult extends Object?>({required TResult fileCitation(MessageDeltaContentTextAnnotationsFileCitationObject value), required TResult filePath(MessageDeltaContentTextAnnotationsFilePathObject value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? fileCitation(MessageDeltaContentTextAnnotationsFileCitationObject value)?, TResult? filePath(MessageDeltaContentTextAnnotationsFilePathObject value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult fileCitation(MessageDeltaContentTextAnnotationsFileCitationObject value)?, TResult filePath(MessageDeltaContentTextAnnotationsFilePathObject value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult fileCitation(int index, String type, String? text, MessageDeltaContentTextAnnotationsFileCitation? fileCitation, int? startIndex, int? endIndex)?, TResult filePath(int index, String type, String? text, MessageDeltaContentTextAnnotationsFilePathObjectFilePath? filePath, int? startIndex, int? endIndex)?, 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 MessageDeltaContentTextAnnotations to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult fileCitation(int index, String type, String? text, MessageDeltaContentTextAnnotationsFileCitation? fileCitation, int? startIndex, int? endIndex), required TResult filePath(int index, String type, String? text, MessageDeltaContentTextAnnotationsFilePathObjectFilePath? filePath, int? startIndex, int? endIndex)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? fileCitation(int index, String type, String? text, MessageDeltaContentTextAnnotationsFileCitation? fileCitation, int? startIndex, int? endIndex)?, TResult? filePath(int index, String type, String? text, MessageDeltaContentTextAnnotationsFilePathObjectFilePath? filePath, int? startIndex, int? endIndex)?}) → TResult?
inherited

Operators

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