C# Class SageOneApi.Requests.AssetRequest

Inheritance: RequestBase, IAssetRequest
Datei anzeigen Open project: Pietervdw/sageone-api-wrapper

Public Methods

Method Description
AssetRequest ( IRestClient client, string apiKey, int companyId ) : System
Delete ( int id ) : bool
Get ( int id ) : Asset
Get ( string filter = "", int skip ) : PagingResponse
Save ( Asset asset ) : Asset

Method Details

AssetRequest() public method

public AssetRequest ( IRestClient client, string apiKey, int companyId ) : System
client IRestClient
apiKey string
companyId int
return System

Delete() public method

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

Get() public method

public Get ( int id ) : Asset
id int
return SageOneApi.Models.Asset

Get() public method

public Get ( string filter = "", int skip ) : PagingResponse
filter string
skip int
return PagingResponse

Save() public method

public Save ( Asset asset ) : Asset
asset SageOneApi.Models.Asset
return SageOneApi.Models.Asset