C# Класс Foretagsplatsen.Api.Resources.CompanyAgencyUserResource

Rest resource for agency users attached to a company https://web.foretagsplatsen.se/Api/Company/{businessIdentityCode}/AgencyUser/{username}/
Показать файл Открыть проект

Открытые методы

Метод Описание
Attach ( string username ) : void

Attach a detached agency user to a company

CompanyAgencyUserResource ( ApiClient apiClient, CompanyInfo company ) : System
Detach ( string username ) : void

Detach an attached agency user from a company

Get ( string username ) : UserInfo

Get an agency user that is attached to a company

List ( ) : List

Get a list of agency users attached to a company

Приватные методы

Метод Описание
GetCollectionUrl ( ) : string

Url for the companys' agency user collection resource

GetCompanyAgencyUserUrl ( string username ) : string

Url for the companys' agency user resource

Описание методов

Attach() публичный Метод

Attach a detached agency user to a company
public Attach ( string username ) : void
username string
Результат void

CompanyAgencyUserResource() публичный Метод

public CompanyAgencyUserResource ( ApiClient apiClient, CompanyInfo company ) : System
apiClient ApiClient
company Foretagsplatsen.Api.Entities.CompanyInfo
Результат System

Detach() публичный Метод

Detach an attached agency user from a company
public Detach ( string username ) : void
username string username to detach
Результат void

Get() публичный Метод

Get an agency user that is attached to a company
public Get ( string username ) : UserInfo
username string username of the agency user to get
Результат Foretagsplatsen.Api.Entities.UserInfo

List() публичный Метод

Get a list of agency users attached to a company
public List ( ) : List
Результат List