C# Класс Box.V2.Managers.BoxWebLinksManager

Allow create, update, get, delete weblink for folder.
Наследование: BoxResourceManager
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
BoxWebLinksManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth
CreateWebLinkAsync ( BoxWebLinkRequest createWebLinkRequest ) : Task

Creates a web link object within a given folder.

DeleteWebLinkAsync ( string webLinkId ) : Task

Deletes a web link and moves it to the trash.

GetWebLinkAsync ( string webLinkId ) : Task

Use to get information about the web link.

UpdateWebLinkAsync ( string webLinkId, BoxWebLinkRequest updateWebLinkRequest ) : Task

Updates information for a web link.

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

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

public BoxWebLinksManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth
config IBoxConfig
service IBoxService
converter IBoxConverter
auth IAuthRepository
asUser string
suppressNotifications bool
Результат Box.V2.Auth

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

Creates a web link object within a given folder.
public CreateWebLinkAsync ( BoxWebLinkRequest createWebLinkRequest ) : Task
createWebLinkRequest Box.V2.Models.BoxWebLinkRequest BoxWebLinkRequest object
Результат Task

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

Deletes a web link and moves it to the trash.
public DeleteWebLinkAsync ( string webLinkId ) : Task
webLinkId string Id of the weblink.
Результат Task

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

Use to get information about the web link.
public GetWebLinkAsync ( string webLinkId ) : Task
webLinkId string Id of the weblink.
Результат Task

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

Updates information for a web link.
public UpdateWebLinkAsync ( string webLinkId, BoxWebLinkRequest updateWebLinkRequest ) : Task
webLinkId string Id of the weblink.
updateWebLinkRequest Box.V2.Models.BoxWebLinkRequest BoxWebLinkRequest object
Результат Task