UsersThreadsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(String userId, String id, {String? $fields})
→ Future<void>
-
Immediately and permanently deletes the specified thread.
-
get(String userId, String id, {String? format, String? $fields})
→ Future<Thread>
-
Gets the specified thread.
-
list(String userId, {bool? includeSpamTrash, List<String>? labelIds, int? maxResults, String? pageToken, String? q, String? $fields})
→ Future<ListThreadsResponse>
-
Lists the threads in the user's mailbox.
-
modify(ModifyThreadRequest request, String userId, String id, {String? $fields})
→ Future<Thread>
-
Modifies the labels applied to the thread.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
trash(String userId, String id, {String? $fields})
→ Future<Thread>
-
Moves the specified thread to the trash.
-
untrash(String userId, String id, {String? $fields})
→ Future<Thread>
-
Removes the specified thread from the trash.