C# Class Box.V2.Managers.BoxDevicePinManager

Inheritance: BoxResourceManager
Datei anzeigen Open project: box/box-windows-sdk-v2

Public Methods

Method Description
BoxDevicePinManager ( IBoxConfig config, IBoxService service, IBoxConverter converter, IAuthRepository auth, string asUser = null, bool suppressNotifications = null ) : Box.V2.Auth
DeleteDevicePin ( string id ) : Task

Delete individual device pin.

GetDevicePin ( string id ) : Task

Gets information about an individual device pin.

GetEnterpriseDevicePinsAsync ( string enterpriseId, string marker = null, int limit = 100, BoxSortDirection direction = BoxSortDirection.ASC, bool autoPaginate = false ) : Task>

Gets all the device pins within a given enterprise. Must be an enterprise admin with the manage enterprise scope to make this call.

Method Details

BoxDevicePinManager() public method

public BoxDevicePinManager ( 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

DeleteDevicePin() public method

Delete individual device pin.
public DeleteDevicePin ( string id ) : Task
id string Device pin id.
return Task

GetDevicePin() public method

Gets information about an individual device pin.
public GetDevicePin ( string id ) : Task
id string Device pin id.
return Task

GetEnterpriseDevicePinsAsync() public method

Gets all the device pins within a given enterprise. Must be an enterprise admin with the manage enterprise scope to make this call.
public GetEnterpriseDevicePinsAsync ( string enterpriseId, string marker = null, int limit = 100, BoxSortDirection direction = BoxSortDirection.ASC, bool autoPaginate = false ) : Task>
enterpriseId string Box enterprise id.
marker string Needs not be passed or can be empty for first invocation of the API. Use the one returned in response for each subsequent call.
limit int Default value is 100. Max value is 10000.
direction BoxSortDirection Default is "asc". Valid values are asc, desc. Case in-sensitive, ASC/DESC works just fine.
autoPaginate bool Whether or not to auto-paginate to fetch all items; defaults to false.
return Task>