C# Class BatchBook.Todo

显示文件 Open project: batchblue/batchbook-net

Public Methods

Method Description
Create ( string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : int
Create ( string apiKey, string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : int
Destroy ( int todoId ) : void
Destroy ( string apiKey, int todoId ) : void
Get ( int todoId ) : Todo
Get ( string apiKey, int todoId ) : Todo
List ( ) : BatchBook.Todo[]
List ( string apiKey ) : BatchBook.Todo[]
ListByAssignedTo ( string assignedTo ) : BatchBook.Todo[]
ListByAssignedTo ( string apiKey, string assignedTo ) : BatchBook.Todo[]
ListByCompany ( int companyId ) : BatchBook.Todo[]
ListByCompany ( string apiKey, int companyId ) : BatchBook.Todo[]
ListByPerson ( int personId ) : BatchBook.Todo[]
ListByPerson ( string apiKey, int personId ) : BatchBook.Todo[]
ListByUpdatedSince ( System.DateTime updatedSince ) : BatchBook.Todo[]
ListByUpdatedSince ( string apiKey, System.DateTime updatedSince ) : BatchBook.Todo[]
Update ( int todoId, string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : void
Update ( string apiKey, int todoId, string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : void

Private Methods

Method Description
BuildList ( XmlReader rdr ) : BatchBook.Todo[]
Todo ( XmlReader rdr ) : System

Method Details

Create() public static method

public static Create ( string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : int
title string
description string
dueDate System.DateTime
flagged bool
complete bool
assignedTo string
return int

Create() public static method

public static Create ( string apiKey, string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : int
apiKey string
title string
description string
dueDate System.DateTime
flagged bool
complete bool
assignedTo string
return int

Destroy() public static method

public static Destroy ( int todoId ) : void
todoId int
return void

Destroy() public static method

public static Destroy ( string apiKey, int todoId ) : void
apiKey string
todoId int
return void

Get() public static method

public static Get ( int todoId ) : Todo
todoId int
return Todo

Get() public static method

public static Get ( string apiKey, int todoId ) : Todo
apiKey string
todoId int
return Todo

List() public static method

public static List ( ) : BatchBook.Todo[]
return BatchBook.Todo[]

List() public static method

public static List ( string apiKey ) : BatchBook.Todo[]
apiKey string
return BatchBook.Todo[]

ListByAssignedTo() public static method

public static ListByAssignedTo ( string assignedTo ) : BatchBook.Todo[]
assignedTo string
return BatchBook.Todo[]

ListByAssignedTo() public static method

public static ListByAssignedTo ( string apiKey, string assignedTo ) : BatchBook.Todo[]
apiKey string
assignedTo string
return BatchBook.Todo[]

ListByCompany() public static method

public static ListByCompany ( int companyId ) : BatchBook.Todo[]
companyId int
return BatchBook.Todo[]

ListByCompany() public static method

public static ListByCompany ( string apiKey, int companyId ) : BatchBook.Todo[]
apiKey string
companyId int
return BatchBook.Todo[]

ListByPerson() public static method

public static ListByPerson ( int personId ) : BatchBook.Todo[]
personId int
return BatchBook.Todo[]

ListByPerson() public static method

public static ListByPerson ( string apiKey, int personId ) : BatchBook.Todo[]
apiKey string
personId int
return BatchBook.Todo[]

ListByUpdatedSince() public static method

public static ListByUpdatedSince ( System.DateTime updatedSince ) : BatchBook.Todo[]
updatedSince System.DateTime
return BatchBook.Todo[]

ListByUpdatedSince() public static method

public static ListByUpdatedSince ( string apiKey, System.DateTime updatedSince ) : BatchBook.Todo[]
apiKey string
updatedSince System.DateTime
return BatchBook.Todo[]

Update() public static method

public static Update ( int todoId, string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : void
todoId int
title string
description string
dueDate System.DateTime
flagged bool
complete bool
assignedTo string
return void

Update() public static method

public static Update ( string apiKey, int todoId, string title, string description, System.DateTime dueDate, bool flagged, bool complete, string assignedTo ) : void
apiKey string
todoId int
title string
description string
dueDate System.DateTime
flagged bool
complete bool
assignedTo string
return void