C# Class Box.V2.Managers.BoxWebLinksManager

Allow create, update, get, delete weblink for folder.
Inheritance: BoxResourceManager
Exibir arquivo Open project: box/box-windows-sdk-v2 Class Usage Examples

Public Methods

Method Description
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.

Method Details

BoxWebLinksManager() public method

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
return Box.V2.Auth

CreateWebLinkAsync() public method

Creates a web link object within a given folder.
public CreateWebLinkAsync ( BoxWebLinkRequest createWebLinkRequest ) : Task
createWebLinkRequest Box.V2.Models.BoxWebLinkRequest BoxWebLinkRequest object
return Task

DeleteWebLinkAsync() public method

Deletes a web link and moves it to the trash.
public DeleteWebLinkAsync ( string webLinkId ) : Task
webLinkId string Id of the weblink.
return Task

GetWebLinkAsync() public method

Use to get information about the web link.
public GetWebLinkAsync ( string webLinkId ) : Task
webLinkId string Id of the weblink.
return Task

UpdateWebLinkAsync() public method

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
return Task