Class TasklistsResource.InsertRequest
Creates a new task list and adds it to the authenticated user's task lists. A user can have up to 2000 lists at a time.
Inheritance
TasklistsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Tasks.v1
Assembly: Google.Apis.Tasks.v1.dll
Syntax
public class TasklistsResource.InsertRequest : TasksBaseServiceRequest<TaskList>, IClientServiceRequest<TaskList>, IClientServiceRequest
Constructors
InsertRequest(IClientService, TaskList)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, TaskList body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
TaskList | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()