UsersThreadsResourceApi class

Constructors

UsersThreadsResourceApi(ApiRequester client)

Properties

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

Methods

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, {List<String> metadataHeaders, String format, String $fields}) Future<Thread>
Gets the specified thread. [...]
list(String userId, {List<String> labelIds, String q, String pageToken, bool includeSpamTrash, int maxResults, 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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns 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. [...]

Operators

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