C# Class HighriseApi.Requests.CompanyRequest

Inheritance: RequestBase, ICompanyRequest
Afficher le fichier Open project: scottschluer/highrise-api

Méthodes publiques

Méthode Description
CompanyRequest ( IRestClient client ) : System
Create ( Company company ) : Company
Delete ( int id ) : bool
Get ( int id ) : Company
Get ( int offset = null ) : IEnumerable
Search ( string>.IDictionary values, int offset = null ) : IEnumerable
Search ( string name, int offset = null ) : IEnumerable
Update ( Company company ) : Company

Method Details

CompanyRequest() public méthode

public CompanyRequest ( IRestClient client ) : System
client IRestClient
Résultat System

Create() public méthode

public Create ( Company company ) : Company
company HighriseApi.Models.Company
Résultat HighriseApi.Models.Company

Delete() public méthode

public Delete ( int id ) : bool
id int
Résultat bool

Get() public méthode

public Get ( int id ) : Company
id int
Résultat HighriseApi.Models.Company

Get() public méthode

public Get ( int offset = null ) : IEnumerable
offset int
Résultat IEnumerable

Search() public méthode

public Search ( string>.IDictionary values, int offset = null ) : IEnumerable
values string>.IDictionary
offset int
Résultat IEnumerable

Search() public méthode

public Search ( string name, int offset = null ) : IEnumerable
name string
offset int
Résultat IEnumerable

Update() public méthode

public Update ( Company company ) : Company
company HighriseApi.Models.Company
Résultat HighriseApi.Models.Company