C# Class Toggl.Services.ClientService

Inheritance: IClientService
Mostra file Open project: johnbabb/C--Toggl-Api-Client Class Usage Examples

Public Methods

Method Description
Add ( Client obj ) : Client

https://github.com/toggl/toggl_api_docs/blob/master/chapters/clients.md#create-a-client

ClientService ( ) : System
ClientService ( IApiService srv ) : System
ClientService ( string apiKey ) : System
Delete ( int id ) : bool

https://www.toggl.com/public/api#del_clients

Edit ( Client obj ) : Client

https://www.toggl.com/public/api#put_clients

Get ( int id ) : Client
List ( ) : List

https://github.com/toggl/toggl_api_docs/blob/master/chapters/clients.md#get-clients-visible-to-user

Method Details

Add() public method

https://github.com/toggl/toggl_api_docs/blob/master/chapters/clients.md#create-a-client
public Add ( Client obj ) : Client
obj Client
return Client

ClientService() public method

public ClientService ( ) : System
return System

ClientService() public method

public ClientService ( IApiService srv ) : System
srv IApiService
return System

ClientService() public method

public ClientService ( string apiKey ) : System
apiKey string
return System

Delete() public method

https://www.toggl.com/public/api#del_clients
public Delete ( int id ) : bool
id int
return bool

Edit() public method

https://www.toggl.com/public/api#put_clients
public Edit ( Client obj ) : Client
obj Client
return Client

Get() public method

public Get ( int id ) : Client
id int
return Client

List() public method

https://github.com/toggl/toggl_api_docs/blob/master/chapters/clients.md#get-clients-visible-to-user
public List ( ) : List
return List