AssistantFile class

Annotations
  • @JsonSerializable(includeIfNull: false)

Constructors

AssistantFile({required String id, String object = "assistant.file", required String createdAt, required String assistantId})
AssistantFile.fromJson(Map<String, dynamic> json)
factory

Properties

assistantId String
The assistant ID that the file is attached to.
getter/setter pair
createdAt String
The Unix timestamp (in seconds) for when the assistant file was created.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
The identifier, which can be referenced in API endpoints.
getter/setter pair
object String
The object type, which is always assistant.file.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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