ListAssistantsResponse class

Response for listing assistants

Constructors

ListAssistantsResponse.new({String object = 'list', required List<Assistant> data, String? firstId, String? lastId, required bool hasMore})
const
ListAssistantsResponse.fromJson(Map<String, dynamic> json)
factory

Properties

data List<Assistant>
The list of assistants.
final
firstId String?
The identifier of the first assistant in the list.
final
hashCode int
The hash code for this object.
no setterinherited
hasMore bool
Whether there are more assistants available.
final
lastId String?
The identifier of the last assistant in the list.
final
object String
The object type, which is always "list".
final
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.
inherited

Operators

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