UsersDraftsResourceApi class
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(Draft request, String userId, {String $fields, UploadOptions uploadOptions: commons.UploadOptions.Default, Media uploadMedia})
→ Future<Draft>
-
Creates a new draft with the
DRAFT
label. [...]
-
delete(String userId, String id, {String $fields})
→ Future
-
Immediately and permanently deletes the specified draft. Does not simply
trash it. [...]
-
get(String userId, String id, {String format, String $fields})
→ Future<Draft>
-
Gets the specified draft. [...]
-
list(String userId, {bool includeSpamTrash, String pageToken, int maxResults, String q, String $fields})
→ Future<ListDraftsResponse>
-
Lists the drafts in the user's mailbox. [...]
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
send(Draft request, String userId, {String $fields, UploadOptions uploadOptions: commons.UploadOptions.Default, Media uploadMedia})
→ Future<Message>
-
Sends the specified, existing draft to the recipients in the
To
, Cc
,
and Bcc
headers. [...]
-
toString()
→ String
-
Returns a string representation of this object.
inherited
-
update(Draft request, String userId, String id, {String $fields, UploadOptions uploadOptions: commons.UploadOptions.Default, Media uploadMedia})
→ Future<Draft>
-
Replaces a draft's content. [...]