Class UsersResource.MessagesResource.TrashRequest
Moves the specified message to the trash.
public class UsersResource.MessagesResource.TrashRequest : GmailBaseServiceRequest<Message>
- Inheritance
-
UsersResource.MessagesResource.TrashRequest
- Inherited Members
Constructors
TrashRequest(IClientService, string, string)
Constructs a new Trash request.
public TrashRequest(IClientService service, string userId, string id)
Parameters
Properties
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
Id
The ID of the message to Trash.
public virtual string Id { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
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 Trash parameter list.
protected override void InitParameters()