-
public final class ManageCollectionsApi extends ApiClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classManageCollectionsApi.Companion
-
Constructor Summary
Constructors Constructor Description ManageCollectionsApi(String basePath, OkHttpClient client)
-
Method Summary
Modifier and Type Method Description final StringgetBaseUrl()final OkHttpClientgetClient()final CollectionModelcollectionCreateCollection(Long libraryId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)Create Collection Creates a new collection in the specified video library using the provided collection details. final ApiResponse<CollectionModel>collectionCreateCollectionWithHttpInfo(Long libraryId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)Create Collection Creates a new collection in the specified video library using the provided collection details. final RequestConfig<CollectionUpdateCollectionRequest>collectionCreateCollectionRequestConfig(Long libraryId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)To obtain the request config of the operation collectionCreateCollection final StatusModelcollectionDeleteCollection(Long libraryId, String collectionId)Delete Collection Deletes the specified collection permanently from the video library. final ApiResponse<StatusModel>collectionDeleteCollectionWithHttpInfo(Long libraryId, String collectionId)Delete Collection Deletes the specified collection permanently from the video library. final RequestConfig<Unit>collectionDeleteCollectionRequestConfig(Long libraryId, String collectionId)To obtain the request config of the operation collectionDeleteCollection final CollectionModelcollectionGetCollection(Long libraryId, String collectionId, Boolean includeThumbnails)Get Collection Retrieves details of a specific collection. final ApiResponse<CollectionModel>collectionGetCollectionWithHttpInfo(Long libraryId, String collectionId, Boolean includeThumbnails)Get Collection Retrieves details of a specific collection. final RequestConfig<Unit>collectionGetCollectionRequestConfig(Long libraryId, String collectionId, Boolean includeThumbnails)To obtain the request config of the operation collectionGetCollection final PaginationListOfCollectionModelcollectionList(Long libraryId, Integer page, Integer itemsPerPage, String search, String orderBy, Boolean includeThumbnails)Get Collection List Retrieves a paginated list of collections for the specified video library. final ApiResponse<PaginationListOfCollectionModel>collectionListWithHttpInfo(Long libraryId, Integer page, Integer itemsPerPage, String search, String orderBy, Boolean includeThumbnails)Get Collection List Retrieves a paginated list of collections for the specified video library. final RequestConfig<Unit>collectionListRequestConfig(Long libraryId, Integer page, Integer itemsPerPage, String search, String orderBy, Boolean includeThumbnails)To obtain the request config of the operation collectionList final StatusModelcollectionUpdateCollection(Long libraryId, String collectionId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)Update Collection Updates an existing collection. final ApiResponse<StatusModel>collectionUpdateCollectionWithHttpInfo(Long libraryId, String collectionId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)Update Collection Updates an existing collection. final RequestConfig<CollectionUpdateCollectionRequest>collectionUpdateCollectionRequestConfig(Long libraryId, String collectionId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)To obtain the request config of the operation collectionUpdateCollection -
-
Constructor Detail
-
ManageCollectionsApi
ManageCollectionsApi(String basePath, OkHttpClient client)
-
-
Method Detail
-
getBaseUrl
final String getBaseUrl()
-
getClient
final OkHttpClient getClient()
-
collectionCreateCollection
final CollectionModel collectionCreateCollection(Long libraryId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)
Create Collection Creates a new collection in the specified video library using the provided collection details.
- Parameters:
libraryId- The ID of the video library where the new collection will be created.collectionUpdateCollectionRequest- Collection model containing the details for the new collection.
-
collectionCreateCollectionWithHttpInfo
final ApiResponse<CollectionModel> collectionCreateCollectionWithHttpInfo(Long libraryId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)
Create Collection Creates a new collection in the specified video library using the provided collection details.
- Parameters:
libraryId- The ID of the video library where the new collection will be created.collectionUpdateCollectionRequest- Collection model containing the details for the new collection.
-
collectionCreateCollectionRequestConfig
final RequestConfig<CollectionUpdateCollectionRequest> collectionCreateCollectionRequestConfig(Long libraryId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)
To obtain the request config of the operation collectionCreateCollection
- Parameters:
libraryId- The ID of the video library where the new collection will be created.collectionUpdateCollectionRequest- Collection model containing the details for the new collection.
-
collectionDeleteCollection
final StatusModel collectionDeleteCollection(Long libraryId, String collectionId)
Delete Collection Deletes the specified collection permanently from the video library.
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection to be deleted.
-
collectionDeleteCollectionWithHttpInfo
final ApiResponse<StatusModel> collectionDeleteCollectionWithHttpInfo(Long libraryId, String collectionId)
Delete Collection Deletes the specified collection permanently from the video library.
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection to be deleted.
-
collectionDeleteCollectionRequestConfig
final RequestConfig<Unit> collectionDeleteCollectionRequestConfig(Long libraryId, String collectionId)
To obtain the request config of the operation collectionDeleteCollection
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection to be deleted.
-
collectionGetCollection
final CollectionModel collectionGetCollection(Long libraryId, String collectionId, Boolean includeThumbnails)
Get Collection Retrieves details of a specific collection. Use the query parameter 'includeThumbnails' to include preview images if available.
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection.includeThumbnails- If true, the response will include preview image URLs for the collection.
-
collectionGetCollectionWithHttpInfo
final ApiResponse<CollectionModel> collectionGetCollectionWithHttpInfo(Long libraryId, String collectionId, Boolean includeThumbnails)
Get Collection Retrieves details of a specific collection. Use the query parameter 'includeThumbnails' to include preview images if available.
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection.includeThumbnails- If true, the response will include preview image URLs for the collection.
-
collectionGetCollectionRequestConfig
final RequestConfig<Unit> collectionGetCollectionRequestConfig(Long libraryId, String collectionId, Boolean includeThumbnails)
To obtain the request config of the operation collectionGetCollection
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection.includeThumbnails- If true, the response will include preview image URLs for the collection.
-
collectionList
final PaginationListOfCollectionModel collectionList(Long libraryId, Integer page, Integer itemsPerPage, String search, String orderBy, Boolean includeThumbnails)
Get Collection List Retrieves a paginated list of collections for the specified video library. Optional query parameters allow for filtering, pagination, and ordering the results.
- Parameters:
libraryId- The ID of the video library.page- The page number to retrieve.itemsPerPage- The number of items per page.search- A search term to filter collections by name or other metadata.orderBy- Specifies the field by which to order the results.includeThumbnails- If true, includes thumbnail image URLs in the response.
-
collectionListWithHttpInfo
final ApiResponse<PaginationListOfCollectionModel> collectionListWithHttpInfo(Long libraryId, Integer page, Integer itemsPerPage, String search, String orderBy, Boolean includeThumbnails)
Get Collection List Retrieves a paginated list of collections for the specified video library. Optional query parameters allow for filtering, pagination, and ordering the results.
- Parameters:
libraryId- The ID of the video library.page- The page number to retrieve.itemsPerPage- The number of items per page.search- A search term to filter collections by name or other metadata.orderBy- Specifies the field by which to order the results.includeThumbnails- If true, includes thumbnail image URLs in the response.
-
collectionListRequestConfig
final RequestConfig<Unit> collectionListRequestConfig(Long libraryId, Integer page, Integer itemsPerPage, String search, String orderBy, Boolean includeThumbnails)
To obtain the request config of the operation collectionList
- Parameters:
libraryId- The ID of the video library.page- The page number to retrieve.itemsPerPage- The number of items per page.search- A search term to filter collections by name or other metadata.orderBy- Specifies the field by which to order the results.includeThumbnails- If true, includes thumbnail image URLs in the response.
-
collectionUpdateCollection
final StatusModel collectionUpdateCollection(Long libraryId, String collectionId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)
Update Collection Updates an existing collection. Provide the new collection details in the request body using the UpdateCollectionModel.
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection to be updated.collectionUpdateCollectionRequest- Collection model containing the fields to be updated.
-
collectionUpdateCollectionWithHttpInfo
final ApiResponse<StatusModel> collectionUpdateCollectionWithHttpInfo(Long libraryId, String collectionId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)
Update Collection Updates an existing collection. Provide the new collection details in the request body using the UpdateCollectionModel.
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection to be updated.collectionUpdateCollectionRequest- Collection model containing the fields to be updated.
-
collectionUpdateCollectionRequestConfig
final RequestConfig<CollectionUpdateCollectionRequest> collectionUpdateCollectionRequestConfig(Long libraryId, String collectionId, CollectionUpdateCollectionRequest collectionUpdateCollectionRequest)
To obtain the request config of the operation collectionUpdateCollection
- Parameters:
libraryId- The ID of the video library containing the collection.collectionId- The unique identifier of the collection to be updated.collectionUpdateCollectionRequest- Collection model containing the fields to be updated.
-
-
-
-