UsersLabelsResourceApi class

Constructors

UsersLabelsResourceApi(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

create(Label request, String userId, {String $fields}) Future<Label>
Creates a new label. [...]
delete(String userId, String id, {String $fields}) Future
Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to. [...]
get(String userId, String id, {String $fields}) Future<Label>
Gets the specified label. [...]
list(String userId, {String $fields}) Future<ListLabelsResponse>
Lists all labels in the user's mailbox. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(Label request, String userId, String id, {String $fields}) Future<Label>
Updates the specified label. This method supports patch semantics. [...]
toString() String
Returns a string representation of this object.
inherited
update(Label request, String userId, String id, {String $fields}) Future<Label>
Updates the specified label. [...]

Operators

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