Class UsersResource.ThreadsResource.ListRequest
Lists the threads in the user's mailbox.
public class UsersResource.ThreadsResource.ListRequest : GmailBaseServiceRequest<ListThreadsResponse>
- Inheritance
-
UsersResource.ThreadsResource.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 threads from SPAM
and TRASH
in the results.
public virtual bool? IncludeSpamTrash { get; set; }
Property Value
- bool?
LabelIds
Only return threads with labels that match all of the specified label IDs.
public virtual Repeatable<string> LabelIds { get; set; }
Property Value
- Repeatable<string>
MaxResults
Maximum number of threads 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 threads matching the specified query. Supports the same query format as the
Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread"
. Parameter
cannot be used when accessing the api using the gmail.metadata scope.
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()