Class UsersResource.DraftsResource.ListRequest
Lists the drafts in the user's mailbox.
public class UsersResource.DraftsResource.ListRequest : GmailBaseServiceRequest<ListDraftsResponse>
- Inheritance
-
UsersResource.DraftsResource.ListRequest
- Inherited Members
Constructors
ListRequest(IClientService, string)
Constructs a new List request.
public ListRequest(IClientService service, string userId)
Parameters
service
IClientServiceuserId
string
Properties
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
IncludeSpamTrash
Include drafts from SPAM
and TRASH
in the results.
public virtual bool? IncludeSpamTrash { get; set; }
Property Value
- bool?
MaxResults
Maximum number of drafts to return.
public virtual long? MaxResults { get; set; }
Property Value
- long?
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
PageToken
Page token to retrieve a specific page of results in the list.
public virtual string PageToken { get; set; }
Property Value
Q
Only return draft messages matching the specified query. Supports the same query format as
the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread"
.
public virtual string Q { get; set; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
UserId
The user's email address. The special value me
can be used to indicate the authenticated
user.
public virtual string UserId { get; }
Property Value
Methods
InitParameters()
Initializes List parameter list.
protected override void InitParameters()