C# Class HighriseApi.Requests.CompanyRequest

Inheritance: RequestBase, ICompanyRequest
显示文件 Open project: scottschluer/highrise-api

Public Methods

Method 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 method

public CompanyRequest ( IRestClient client ) : System
client IRestClient
return System

Create() public method

public Create ( Company company ) : Company
company HighriseApi.Models.Company
return HighriseApi.Models.Company

Delete() public method

public Delete ( int id ) : bool
id int
return bool

Get() public method

public Get ( int id ) : Company
id int
return HighriseApi.Models.Company

Get() public method

public Get ( int offset = null ) : IEnumerable
offset int
return IEnumerable

Search() public method

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

Search() public method

public Search ( string name, int offset = null ) : IEnumerable
name string
offset int
return IEnumerable

Update() public method

public Update ( Company company ) : Company
company HighriseApi.Models.Company
return HighriseApi.Models.Company