UsersThreadsResourceApi class


UsersThreadsResourceApi(ApiRequester client)


hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited


delete(String userId, String id, {String $fields}) Future
Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead. [...]
get(String userId, String id, {String format, List<String> metadataHeaders, 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. This applies to all messages in the thread. [...]
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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(dynamic other) bool
The equality operator. [...]