C# Class Foretagsplatsen.Api2.Resources.AgencyCompanyResource

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

Public Methods

Method Description
AgencyCompanyResource ( ApiClient client, Agency agency ) : System.Collections.Generic
AgencyCompanyResource ( ApiClient client, string agencyShortName ) : System.Collections.Generic
Create ( CompanyInfo company ) : CompanyInfo
Delete ( CompanyInfo company ) : void
Delete ( string companyId ) : void
Get ( string companyId ) : CompanyInfo
List ( ) : List
Update ( CompanyInfo company ) : CompanyInfo

Private Methods

Method Description
GetUrl ( ) : string
GetUrl ( CompanyInfo companyInfo ) : string
GetUrl ( string companyId ) : string

Method Details

AgencyCompanyResource() public method

public AgencyCompanyResource ( ApiClient client, Agency agency ) : System.Collections.Generic
client ApiClient
agency Foretagsplatsen.Api2.Entities.Agency
return System.Collections.Generic

AgencyCompanyResource() public method

public AgencyCompanyResource ( ApiClient client, string agencyShortName ) : System.Collections.Generic
client ApiClient
agencyShortName string
return System.Collections.Generic

Create() public method

public Create ( CompanyInfo company ) : CompanyInfo
company Foretagsplatsen.Api2.Entities.Company.CompanyInfo
return Foretagsplatsen.Api2.Entities.Company.CompanyInfo

Delete() public method

public Delete ( CompanyInfo company ) : void
company Foretagsplatsen.Api2.Entities.Company.CompanyInfo
return void

Delete() public method

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

Get() public method

public Get ( string companyId ) : CompanyInfo
companyId string
return Foretagsplatsen.Api2.Entities.Company.CompanyInfo

List() public method

public List ( ) : List
return List

Update() public method

public Update ( CompanyInfo company ) : CompanyInfo
company Foretagsplatsen.Api2.Entities.Company.CompanyInfo
return Foretagsplatsen.Api2.Entities.Company.CompanyInfo