public class WatchFoldersApi extends Object
Constructor and Description |
---|
WatchFoldersApi(BitmovinApiClientFactory clientFactory) |
Modifier and Type | Method and Description |
---|---|
static BitmovinApiBuilder<WatchFoldersApi> |
builder()
Fluent builder for creating an instance of WatchFoldersApi
|
WatchFolder |
create(WatchFolder watchFolder)
Create Watch Folder
|
BitmovinResponse |
delete(String watchFolderId)
Delete Watch Folder
|
WatchFolder |
get(String watchFolderId)
Watch Folder details
|
PaginationResponse<WatchFolder> |
list()
List all Watch Folders
|
PaginationResponse<WatchFolder> |
list(WatchFolderListQueryParams queryParams)
List all Watch Folders
|
BitmovinResponse |
start(String watchFolderId)
Start Watch Folder
|
BitmovinResponse |
stop(String watchFolderId)
Stop Watch Folder
|
public WatchFoldersApi(BitmovinApiClientFactory clientFactory)
public static BitmovinApiBuilder<WatchFoldersApi> builder()
public WatchFolder create(WatchFolder watchFolder) throws BitmovinException
watchFolder
- The Watch Folder to be created (required)BitmovinException
- if fails to make API callpublic BitmovinResponse delete(String watchFolderId) throws BitmovinException
watchFolderId
- Id of the Watch Folder (required)BitmovinException
- if fails to make API callpublic WatchFolder get(String watchFolderId) throws BitmovinException
watchFolderId
- Id of the Watch Folder (required)BitmovinException
- if fails to make API callpublic PaginationResponse<WatchFolder> list() throws BitmovinException
BitmovinException
- if fails to make API callpublic PaginationResponse<WatchFolder> list(WatchFolderListQueryParams queryParams) throws BitmovinException
queryParams
- The query parameters for sorting, filtering and paging options (optional)BitmovinException
- if fails to make API callpublic BitmovinResponse start(String watchFolderId) throws BitmovinException
watchFolderId
- Id of the Watch Folder (required)BitmovinException
- if fails to make API callpublic BitmovinResponse stop(String watchFolderId) throws BitmovinException
watchFolderId
- Id of the Watch Folder (required)BitmovinException
- if fails to make API callCopyright © 2022. All rights reserved.