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

Наследование: BoxResourceManager
Показать файл Открыть проект

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

Метод Описание
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.

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

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

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
Результат Box.V2.Auth

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

Delete individual device pin.
public DeleteDevicePin ( string id ) : Task
id string Device pin id.
Результат Task

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

Gets information about an individual device pin.
public GetDevicePin ( string id ) : Task
id string Device pin id.
Результат Task

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

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.
Результат Task>