C# Class Foretagsplatsen.Api2.Resources.AgencyResource

Show file Open project: foretagsplatsen/Foretagsplatsen-DotNet-API

Public Methods

Method Description
AgencyResource ( ApiClient client ) : System.Collections.Generic
Create ( Agency agency ) : Agency
Delete ( Agency agency ) : void
Delete ( string shortName ) : void
Get ( string shortName ) : Agency
List ( ) : List
Update ( Agency agency ) : Agency

Private Methods

Method Description
GetUrl ( ) : string
GetUrl ( Agency agency ) : string
GetUrl ( string shortName ) : string

Method Details

AgencyResource() public method

public AgencyResource ( ApiClient client ) : System.Collections.Generic
client ApiClient
return System.Collections.Generic

Create() public method

public Create ( Agency agency ) : Agency
agency Foretagsplatsen.Api2.Entities.Agency
return Foretagsplatsen.Api2.Entities.Agency

Delete() public method

public Delete ( Agency agency ) : void
agency Foretagsplatsen.Api2.Entities.Agency
return void

Delete() public method

public Delete ( string shortName ) : void
shortName string
return void

Get() public method

public Get ( string shortName ) : Agency
shortName string
return Foretagsplatsen.Api2.Entities.Agency

List() public method

public List ( ) : List
return List

Update() public method

public Update ( Agency agency ) : Agency
agency Foretagsplatsen.Api2.Entities.Agency
return Foretagsplatsen.Api2.Entities.Agency